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

Method reset

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

Source from the content-addressed store, hash-verified

907 _socket.update_is_writable(self.is_writable) # type: ignore[arg-type]
908
909 async def reset(
910 self, service_id: Optional[ObjectId] = None, interrupt_connections: bool = False
911 ) -> None:
912 await self._reset(
913 close=False, service_id=service_id, interrupt_connections=interrupt_connections
914 )
915
916 async def reset_without_pause(self) -> None:
917 await 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