Skip to content

Commit

Permalink
patch
Browse files Browse the repository at this point in the history
  • Loading branch information
jmmshn committed Dec 1, 2024
1 parent 0d7bb46 commit 3484245
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/maggma/stores/mongolike.py
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,7 @@ def __init__(
collection_name: str,
database: Optional[str] = None,
ssh_tunnel: Optional[SSHTunnel] = None,
safe_update: bool = False,
mongoclient_kwargs: Optional[dict] = None,
default_sort: Optional[dict[str, Union[Sort, int]]] = None,
**kwargs,
Expand All @@ -461,6 +462,7 @@ def __init__(
self.uri = uri
self.ssh_tunnel = ssh_tunnel
self.default_sort = default_sort
self.safe_update = safe_update
self.mongoclient_kwargs = mongoclient_kwargs or {}

# parse the dbname from the uri
Expand Down

0 comments on commit 3484245

Please sign in to comment.