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

Method stale_generation

test/asynchronous/utils.py:246–247  ·  view source on GitHub ↗
(self, gen, service_id)

Source from the content-addressed store, hash-verified

244 self.conns = []
245
246 def stale_generation(self, gen, service_id):
247 return self.gen.stale(gen, service_id)
248
249 @contextlib.asynccontextmanager
250 async def checkout(self, handler=None):

Callers

nothing calls this directly

Calls 1

staleMethod · 0.45

Tested by

no test coverage detected