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

Method close

pymongo/synchronous/pool.py:915–916  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

913 self._reset(close=False, pause=False)
914
915 def close(self) -> None:
916 self._reset(close=True)
917
918 def stale_generation(self, gen: int, service_id: Optional[ObjectId]) -> bool:
919 return self.gen.stale(gen, service_id)

Callers 13

validate_readableFunction · 0.45
_async_create_connectionFunction · 0.45
_async_configured_socketFunction · 0.45
_create_connectionFunction · 0.45
_configured_socketFunction · 0.45
_send_messageMethod · 0.45
rewindMethod · 0.45
_maybe_pin_connectionMethod · 0.45
_send_messageMethod · 0.45
unpinMethod · 0.45

Calls 1

_resetMethod · 0.95

Tested by

no test coverage detected