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

Class _ThreadLocalRegistry

src/filelock/_api.py:328–331  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

326
327
328class _ThreadLocalRegistry(local):
329 def __init__(self) -> None:
330 super().__init__()
331 self.held: dict[Hashable, int] = {}
332
333
334_registry: Final[_ThreadLocalRegistry] = _ThreadLocalRegistry()

Callers 1

_api.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected