Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/mongodb/mongo-python-driver
/ close_conn
Method
close_conn
test/utils.py:226–227 ·
view source on GitHub ↗
(self, reason)
Source
from the content-addressed store, hash-verified
224
self.server_connection_id = random.randint(0, 100)
225
226
def
close_conn(self, reason):
227
pass
228
229
def
__enter__(self):
230
return
self
Callers
3
cleanup
Method · 0.45
test_pool_removes_closed_socket
Method · 0.45
test_min_pool_size
Method · 0.45
Calls
no outgoing calls
Tested by
3
cleanup
Method · 0.36
test_pool_removes_closed_socket
Method · 0.36
test_min_pool_size
Method · 0.36