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

Method gettimeout

pymongo/network_layer.py:445–446  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

443 super().__init__(conn)
444
445 def gettimeout(self) -> float | None:
446 return self.conn.gettimeout()
447
448 def settimeout(self, timeout: float | None) -> None:
449 self.conn.settimeout(timeout)

Callers

nothing calls this directly

Calls 1

gettimeoutMethod · 0.45

Tested by

no test coverage detected