Skip to content

Commit

Permalink
Remove index creation form _init_, declare public method
Browse files Browse the repository at this point in the history
  • Loading branch information
Kezzsim committed Mar 28, 2024
1 parent 487bf76 commit 2e7a2b9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions suitcase/mongo_normalized/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,8 @@ def __init__(
self._asset_registry_db = assets_db
self._ignore_duplicates = ignore_duplicates
self._resource_uid_unique = resource_uid_unique
self._create_indexes()

def _create_indexes(self):
def create_indexes(self):
"""
Create indexes on the various collections.
Expand Down

0 comments on commit 2e7a2b9

Please sign in to comment.