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

Method __aenter__

src/filelock/asyncio.py:625–633  ·  view source on GitHub ↗

Acquire the lock. :returns: the lock object

(self)

Source from the content-addressed store, hash-verified

623 raise NotImplementedError(msg)
624
625 async def __aenter__(self) -> Self:
626 """
627 Acquire the lock.
628
629 :returns: the lock object
630
631 """
632 await self.acquire()
633 return self
634
635 async def __aexit__(
636 self,

Callers

nothing calls this directly

Calls 1

acquireMethod · 0.95

Tested by

no test coverage detected