MCPcopy Create free account
hub / github.com/tox-dev/filelock / __init__

Method __init__

src/filelock/_error.py:38–42  ·  view source on GitHub ↗
(self, lock_file: str, claim_name: str | None, reason: str)

Source from the content-addressed store, hash-verified

36 """Raised when strict soft-lock state cannot be interpreted without risking overlap."""
37
38 def __init__(self, lock_file: str, claim_name: str | None, reason: str) -> None:
39 self._lock_file = lock_file
40 self._claim_name = claim_name
41 self._reason = reason
42 super().__init__(self.__str__())
43
44 def __reduce__(
45 self,

Callers

nothing calls this directly

Calls 2

__str__Method · 0.95
__init__Method · 0.45

Tested by

no test coverage detected