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

Method __reduce__

src/filelock/_core/_errors.py:105–112  ·  view source on GitHub ↗
(
        self,
    )

Source from the content-addressed store, hash-verified

103
104 @override
105 def __reduce__(
106 self,
107 ) -> tuple[
108 type[SoftFileLockProtocolError],
109 tuple[str, str | None, str],
110 dict[str, object], # simplint: ignore[imprecise-annotation] # pickle state is heterogeneous
111 ]: # pragma: needs hard-link
112 return self.__class__, (self._lock_file, self._claim_name, self._reason), self.__dict__
113
114 @property
115 def lock_file(self) -> str: # pragma: needs hard-link

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected