MCPcopy Index your code
hub / github.com/mongodb/mongo-python-driver / _create_mongocrypt_options

Function _create_mongocrypt_options

pymongo/synchronous/encryption.py:578–582  ·  view source on GitHub ↗
(**kwargs: Any)

Source from the content-addressed store, hash-verified

576
577
578def _create_mongocrypt_options(**kwargs: Any) -> MongoCryptOptions:
579 # For compat with pymongocrypt <1.13, avoid setting the default key_expiration_ms.
580 if kwargs.get("key_expiration_ms") is None:
581 kwargs.pop("key_expiration_ms", None)
582 return MongoCryptOptions(**kwargs, enable_multiple_collinfo=True)
583
584
585class ClientEncryption(Generic[_DocumentType]):

Callers 2

__init__Method · 0.70
__init__Method · 0.70

Calls 2

getMethod · 0.45
popMethod · 0.45

Tested by

no test coverage detected