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

Method __init__

pymongo/monitoring.py:981–983  ·  view source on GitHub ↗
(self, address: _Address, connection_id: int)

Source from the content-addressed store, hash-verified

979 __slots__ = ("__connection_id",)
980
981 def __init__(self, address: _Address, connection_id: int) -> None:
982 super().__init__(address)
983 self.__connection_id = connection_id
984
985 @property
986 def connection_id(self) -> int:

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected