MCPcopy 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

cleanupMethod · 0.45
test_min_pool_sizeMethod · 0.45

Calls

no outgoing calls

Tested by 3

cleanupMethod · 0.36
test_min_pool_sizeMethod · 0.36