Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tox-dev/filelock
/ _sync_constructor
Function
_sync_constructor
tests/test_subclass_options.py:231–232 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
229
230
231
def
_sync_constructor() -> type[BaseFileLock]:
232
return
cast(
"type[BaseFileLock]"
, _NarrowFileLock)
233
234
235
def
_async_constructor() -> type[BaseAsyncFileLock]:
Callers
2
test_narrow_sync_subclass_rejects_non_default_option
Function · 0.85
_build_with_explicit_defaults
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected