-
fix: make close() sync (motor close is sync); guard doc[key] on missing fields
released this
2026-06-28 21:46:20 +00:00 | 8 commits to main since this releaseclose() was async but only called motor's synchronous client.close(), misleading callers into awaiting it; it is now a plain def and the docstring + README examples drop the await. get_document_hashmap/get_document_fields indexed doc[key] unguarded, so a doc missing the field raised KeyError that the broad except swallowed, conflating 'no documents' with 'field absent'; both now skip docs lacking the key.
Signed-off-by: disqualifier dev@disqualifier.me
Downloads