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

Method settimeout

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

Source from the content-addressed store, hash-verified

420 return self.conn[1].gettimeout
421
422 def settimeout(self, timeout: float | None) -> None:
423 self.conn[1].settimeout(timeout)
424
425 async def close(self) -> None:
426 self.conn[1].close()

Callers

nothing calls this directly

Calls 1

settimeoutMethod · 0.45

Tested by

no test coverage detected