Skip to content

Commit

Permalink
[#141] removing duplicate management script file
Browse files Browse the repository at this point in the history
  • Loading branch information
pkdash committed May 15, 2024
1 parent 9d1f380 commit bef103f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 23 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ TESTING=True
```

2. Login and submit a record to create all the collections
3. Run `triggers/management/change_streams_pre_and_post.py`
3. Run `api/models/management/change_streams_pre_and_post.py`
4. Create the catalog and typeahead indexes from `atlas/` (TODO detailed instructions)

### Triggers
Expand Down
5 changes: 3 additions & 2 deletions api/models/management/change_streams_pre_and_post.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import asyncio
from api.config import get_settings
from api.models.catalog import DatasetMetadataDOC

from beanie import init_beanie
from motor.motor_asyncio import AsyncIOMotorClient

from api.config import get_settings
from api.models.catalog import DatasetMetadataDOC


async def main():
db = AsyncIOMotorClient(get_settings().db_connection_string)
Expand Down
20 changes: 0 additions & 20 deletions triggers/management/change_streams_pre_and_post.py

This file was deleted.

0 comments on commit bef103f

Please sign in to comment.