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

Method __init__

pymongo/monitoring.py:1057–1059  ·  view source on GitHub ↗
(self, address: _Address, connection_id: int, reason: str)

Source from the content-addressed store, hash-verified

1055 __slots__ = ("__reason",)
1056
1057 def __init__(self, address: _Address, connection_id: int, reason: str):
1058 super().__init__(address, connection_id)
1059 self.__reason = reason
1060
1061 @property
1062 def reason(self) -> str:

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected