Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/mongodb/mongo-python-driver
/ close
Method
close
pymongo/network_layer.py:451–452 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
449
self.conn.settimeout(timeout)
450
451
def
close(self) -> None:
452
self.conn.close()
453
454
def
is_closing(self) -> bool:
455
return
self.conn.is_closing()
Callers
nothing calls this directly
Calls
1
close
Method · 0.45
Tested by
no test coverage detected