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

Method release_conn

test/test_pooling.py:127–132  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

125 self.state = "connection"
126
127 def release_conn(self):
128 if self.sock:
129 self.sock.unpin()
130 self.sock = None
131 return True
132 return False
133
134
135def run_cases(client, cases):

Calls 1

unpinMethod · 0.45

Tested by

no test coverage detected