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

Method __init__

pymongo/monitoring.py:1349–1358  ·  view source on GitHub ↗
(
        self,
        duration: float,
        reply: Hello[dict[str, Any]],
        connection_id: _Address,
        awaited: bool = False,
    )

Source from the content-addressed store, hash-verified

1347 __slots__ = ("__duration", "__reply")
1348
1349 def __init__(
1350 self,
1351 duration: float,
1352 reply: Hello[dict[str, Any]],
1353 connection_id: _Address,
1354 awaited: bool = False,
1355 ) -> None:
1356 super().__init__(connection_id, awaited)
1357 self.__duration = duration
1358 self.__reply = reply
1359
1360 @property
1361 def duration(self) -> float:

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected