MCPcopy Create free account
hub / github.com/23japhone/HALO / __init__

Method __init__

utils/basic_operation.py:78–83  ·  view source on GitHub ↗
(self, 
                 key: str, 
                 cause: Optional[str] = None)

Source from the content-addressed store, hash-verified

76class AccessTerminatedException(Exception):
77 "Raised when the key has been terminated"
78 def __init__(self,
79 key: str,
80 cause: Optional[str] = None) -> None:
81 super().__init__(f"Access terminated key: {key}")
82 self.key = key
83 self.cause = cause
84
85 def __str__(self) -> str:
86 if self.cause:

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected