MCPcopy Create free account
hub / github.com/mongodb/mongo-python-driver / close

Method close

test/sigstop_sigcont.py:40–41  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

38 self.closed = False
39
40 def close(self):
41 self.closed = True
42
43 def started(self, event: monitoring.ServerHeartbeatStartedEvent) -> None:
44 if self.closed:

Callers 1

mainFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected