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

Method get_overall

pymongo/asynchronous/pool.py:675–677  ·  view source on GitHub ↗

Get the Pool's overall generation.

(self)

Source from the content-addressed store, hash-verified

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

Callers 4

update_poolMethod · 0.45
__init__Method · 0.45
remove_stale_socketsMethod · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected