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

Method _reset_connection

pymongo/asynchronous/monitor.py:208–210  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

206 await self._reset_connection()
207
208 async def _reset_connection(self) -> None:
209 # Clear our pooled connection.
210 await self._pool.reset()
211
212 async def _run(self) -> None:
213 try:

Callers 3

closeMethod · 0.95
_check_serverMethod · 0.95
_check_onceMethod · 0.95

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected