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

Function _enter_lock

tests/async_lock/context.py:17–20  ·  view source on GitHub ↗
(
    lock: BaseAsyncFileLock,
)

Source from the content-addressed store, hash-verified

15
16
17def _enter_lock(
18 lock: BaseAsyncFileLock,
19) -> AbstractAsyncContextManager[BaseAsyncFileLock]:
20 return lock
21
22
23@asynccontextmanager

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected