Skip to content

Commit

Permalink
Enable recursive_msonable in jsanitize calls
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew-S-Rosen authored Mar 4, 2024
1 parent 91872e5 commit 8264462
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/maggma/stores/mongolike.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ def update(self, docs: Union[List[Dict], Dict], key: Union[List, str, None] = No
if not isinstance(docs, list):
docs = [docs]

for d in (jsanitize(x, allow_bson=True) for x in docs):
for d in (jsanitize(x, allow_bson=True, recursive_msonable=True) for x in docs):
# document-level validation is optional
validates = True
if self.validator:
Expand Down

0 comments on commit 8264462

Please sign in to comment.