diff --git a/src/maggma/api/utils.py b/src/maggma/api/utils.py index 2750090c1..46271497c 100644 --- a/src/maggma/api/utils.py +++ b/src/maggma/api/utils.py @@ -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"] diff --git a/src/maggma/stores/mongolike.py b/src/maggma/stores/mongolike.py index e9f6c53c0..4f267bb7c 100644 --- a/src/maggma/stores/mongolike.py +++ b/src/maggma/stores/mongolike.py @@ -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]