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

Class DynamicFileLock

tests/test_subclass_options.py:310–315  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

308
309def _dynamic_constructor() -> type[BaseFileLock]:
310 class DynamicFileLock(BaseFileLock):
311 def _acquire(self) -> None:
312 raise NotImplementedError
313
314 def _release(self) -> None:
315 raise NotImplementedError
316
317 return DynamicFileLock
318

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected