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

Method get_overall

pymongo/synchronous/pool.py:673–675  ·  view source on GitHub ↗

Get the Pool's overall generation.

(self)

Source from the content-addressed store, hash-verified

671 return self._generations[service_id]
672
673 def get_overall(self) -> int:
674 """Get the Pool's overall generation."""
675 return self._generation
676
677 def inc(self, service_id: Optional[ObjectId]) -> None:
678 """Increment the generation for the given service_id."""

Callers 15

_runMethod · 0.45
got_app_errorFunction · 0.45
check_outcomeFunction · 0.45
test_pool_resetMethod · 0.45
_runMethod · 0.45
got_app_errorFunction · 0.45
check_outcomeFunction · 0.45
update_poolMethod · 0.45

Calls

no outgoing calls

Tested by 11

_runMethod · 0.36
got_app_errorFunction · 0.36
check_outcomeFunction · 0.36
test_pool_resetMethod · 0.36
_runMethod · 0.36
got_app_errorFunction · 0.36
check_outcomeFunction · 0.36