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

Method __init__

pymongo/monitoring.py:999–1001  ·  view source on GitHub ↗
(self, address: _Address, connection_id: int, duration: Optional[float])

Source from the content-addressed store, hash-verified

997 __slots__ = ("__duration",)
998
999 def __init__(self, address: _Address, connection_id: int, duration: Optional[float]) -> None:
1000 super().__init__(address, connection_id)
1001 self.__duration = duration
1002
1003 @property
1004 def duration(self) -> Optional[float]:

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected