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

Method settimeout

pymongo/network_layer.py:448–449  ·  view source on GitHub ↗
(self, timeout: float | None)

Source from the content-addressed store, hash-verified

446 return self.conn.gettimeout()
447
448 def settimeout(self, timeout: float | None) -> None:
449 self.conn.settimeout(timeout)
450
451 def close(self) -> None:
452 self.conn.close()

Callers

nothing calls this directly

Calls 1

settimeoutMethod · 0.45

Tested by

no test coverage detected