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

Method _acquire

tests/test_async_filelock.py:168–171  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

166
167 class AioFileLock(BaseAsyncFileLock):
168 async def _acquire(self) -> None: # ty: ignore[invalid-method-override]
169 nonlocal acquired
170 acquired = True
171 self._context.lock_file_fd = 1
172
173 async def _release(self) -> None: # ty: ignore[invalid-method-override]
174 nonlocal released

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected