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

Function _connect_kms

pymongo/asynchronous/encryption.py:119–123  ·  view source on GitHub ↗
(address: _Address, opts: PoolOptions)

Source from the content-addressed store, hash-verified

117
118
119async def _connect_kms(address: _Address, opts: PoolOptions) -> Union[socket.socket, _sslConn]:
120 try:
121 return await _async_configured_socket(address, opts)
122 except Exception as exc:
123 _raise_connection_failure(address, exc, timeout_details=_get_timeout_details(opts))
124
125
126@contextlib.contextmanager

Callers 1

kms_requestMethod · 0.70

Calls 3

_async_configured_socketFunction · 0.90
_get_timeout_detailsFunction · 0.90

Tested by

no test coverage detected