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

Method __str__

src/filelock/_core/_errors.py:100–102  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

98
99 @override
100 def __str__(self) -> str:
101 location = self._lock_file if self._claim_name is None else f"{self._lock_file}: claim {self._claim_name!r}"
102 return f"Invalid strict soft-lock state at {location}: {self._reason}"
103
104 @override
105 def __reduce__(

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected