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

Method _reset_connection

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

Source from the content-addressed store, hash-verified

204 self._reset_connection()
205
206 def _reset_connection(self) -> None:
207 # Clear our pooled connection.
208 self._pool.reset()
209
210 def _run(self) -> None:
211 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