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

Method checkout

test/utils.py:248–249  ·  view source on GitHub ↗
(self, handler=None)

Source from the content-addressed store, hash-verified

246
247 @contextlib.contextmanager
248 def checkout(self, handler=None):
249 yield MockConnection()
250
251 def checkin(self, *args, **kwargs):
252 pass

Calls 1

MockConnectionClass · 0.85