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

Function _enter_proxy

tests/async_lock/context.py:24–26  ·  view source on GitHub ↗
(lock: BaseAsyncFileLock)

Source from the content-addressed store, hash-verified

22
23@asynccontextmanager
24async def _enter_proxy(lock: BaseAsyncFileLock) -> AsyncGenerator[BaseAsyncFileLock]:
25 async with await lock.acquire() as locked:
26 yield locked
27
28
29ENTER: Final[list[pytest.ParameterSet]] = [

Callers

nothing calls this directly

Calls 1

acquireMethod · 0.45

Tested by

no test coverage detected