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

Method __init__

tests/soft/read_write/test_lock_singleton.py:142–145  ·  view source on GitHub ↗
(self, *args: Any, **kwargs: Any)

Source from the content-addressed store, hash-verified

140
141 class CustomLock(SoftReadWriteLock):
142 def __init__(self, *args: Any, **kwargs: Any) -> None: # ruff:ignore[any-type] # forwards the public constructor unchanged
143 nonlocal init_calls
144 init_calls += 1
145 super().__init__(*args, **kwargs)
146
147 def construct() -> SoftReadWriteLock:
148 callers.wait(timeout=5)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected