(**kwargs: Any)
| 576 | |
| 577 | |
| 578 | def _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 | |
| 585 | class ClientEncryption(Generic[_DocumentType]): |