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

Method gettimeout

pymongo/network_layer.py:503–505  ·  view source on GitHub ↗

The configured timeout for the socket that underlies our protocol pair.

(self)

Source from the content-addressed store, hash-verified

501
502 @property
503 def gettimeout(self) -> float | None:
504 """The configured timeout for the socket that underlies our protocol pair."""
505 return self._timeout
506
507 def connection_made(self, transport: BaseTransport) -> None:
508 """Called exactly once when a connection is made.

Callers 6

_callMethod · 0.45
async_socket_sendallFunction · 0.45
receive_dataFunction · 0.45
gettimeoutMethod · 0.45
receive_messageFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected