We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc76aae commit a9c63c8Copy full SHA for a9c63c8
pymongo/encryption_options.py
@@ -35,6 +35,7 @@
35
from pymongo.uri_parser_shared import _parse_kms_tls_options
36
37
if TYPE_CHECKING:
38
+ from pymongo.pyopenssl_context import SSLContext
39
from pymongo.typings import _AgnosticMongoClient, _DocumentTypeArg
40
41
@@ -237,7 +238,7 @@ def __init__(
237
238
self._mongocryptd_spawn_args.append("--idleShutdownTimeoutSecs=60")
239
# Maps KMS provider name to a SSLContext.
240
self._kms_tls_options = kms_tls_options
- self._kms_ssl_contexts = {}
241
+ self._kms_ssl_contexts: dict[str, SSLContext] = {}
242
self._bypass_query_analysis = bypass_query_analysis
243
self._key_expiration_ms = key_expiration_ms
244
0 commit comments