Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
close
Method · 0.95
_check_server
Method · 0.95
_check_once
Method · 0.95
Calls
1
reset
Method · 0.45
Tested by
no test coverage detected