Skip to content

Commit

Permalink
Merge pull request #576 from jmmshn/mongoclient_kwarg
Browse files Browse the repository at this point in the history
typo
  • Loading branch information
munrojm committed Mar 7, 2022
2 parents 630916d + fe7ffe6 commit 65852ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/maggma/api/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
if sys.version_info >= (3, 8):
from typing import get_args
else:
from typing_extensions import get_args
from typing_extensions import get_args # pragma: no cover


QUERY_PARAMS = ["criteria", "properties", "skip", "limit"]
Expand Down
2 changes: 1 addition & 1 deletion src/maggma/stores/mongolike.py
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ def connect(self, force_reset: bool = False):
Connect to the source data
"""
if self._coll is None or force_reset: # pragma: no cover
conn = MongoClient(self.uri, **self.mongodb_client_kwargs)
conn = MongoClient(self.uri, **self.mongoclient_kwargs)
db = conn[self.database]
self._coll = db[self.collection_name]

Expand Down

0 comments on commit 65852ab

Please sign in to comment.