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

Method reset

pymongo/synchronous/pool.py:907–910  ·  view source on GitHub ↗
(
        self, service_id: Optional[ObjectId] = None, interrupt_connections: bool = False
    )

Source from the content-addressed store, hash-verified

905 _socket.update_is_writable(self.is_writable) # type: ignore[arg-type]
906
907 def reset(
908 self, service_id: Optional[ObjectId] = None, interrupt_connections: bool = False
909 ) -> None:
910 self._reset(close=False, service_id=service_id, interrupt_connections=interrupt_connections)
911
912 def reset_without_pause(self) -> None:
913 self._reset(close=False, pause=False)

Callers 7

openMethod · 0.45
on_changeMethod · 0.45
closeMethod · 0.45
_handle_errorMethod · 0.45
_after_forkMethod · 0.45
_select_serverMethod · 0.45
_cmdMethod · 0.45

Calls 1

_resetMethod · 0.95

Tested by

no test coverage detected