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

Method _acquire

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

Source from the content-addressed store, hash-verified

181
182 class AioFileLock(BaseAsyncFileLock):
183 async def _acquire(self) -> None: # ty: ignore[invalid-method-override]
184 nonlocal acquired
185 acquired = True
186 self._context.lock_file_fd = 1
187
188 async def _release(self) -> None: # ty: ignore[invalid-method-override]
189 nonlocal released

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected