Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/mongodb/mongo-python-driver
/ unpin
Method
unpin
pymongo/synchronous/client_session.py:456–460 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
454
self.conn_mgr = _ConnectionManager(conn, False)
455
456
def
unpin(self) -> None:
457
self.pinned_address = None
458
if
self.conn_mgr:
459
self.conn_mgr.close()
460
self.conn_mgr = None
461
462
def
reset(self) -> None:
463
self.unpin()
Callers
2
reset
Method · 0.95
_unpin
Method · 0.45
Calls
1
close
Method · 0.45
Tested by
no test coverage detected