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

Method stale_generation

test/utils.py:244–245  ·  view source on GitHub ↗
(self, gen, service_id)

Source from the content-addressed store, hash-verified

242 self.conns = []
243
244 def stale_generation(self, gen, service_id):
245 return self.gen.stale(gen, service_id)
246
247 @contextlib.contextmanager
248 def checkout(self, handler=None):

Callers

nothing calls this directly

Calls 1

staleMethod · 0.45

Tested by

no test coverage detected