Skip to content

Commit

Permalink
Merge pull request #667 from utf/fix-gridfsuiri
Browse files Browse the repository at this point in the history
Fix gridfs URI store
  • Loading branch information
munrojm committed May 24, 2022
2 parents be3c881 + e1fe067 commit e84dc1d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/maggma/stores/gridfs.py
Expand Up @@ -467,6 +467,7 @@ def __init__(
compression: bool = False,
ensure_metadata: bool = False,
searchable_fields: List[str] = None,
mongoclient_kwargs: Optional[Dict] = None,
**kwargs,
):
"""
Expand Down Expand Up @@ -499,6 +500,7 @@ def __init__(
self.ensure_metadata = ensure_metadata
self.searchable_fields = [] if searchable_fields is None else searchable_fields
self.kwargs = kwargs
self.mongoclient_kwargs = mongoclient_kwargs or {}

if "key" not in kwargs:
kwargs["key"] = "_id"
Expand Down

0 comments on commit e84dc1d

Please sign in to comment.