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

Method executor

src/filelock/_async_read_write.py:107–109  ·  view source on GitHub ↗

The executor used for ``run_in_executor`` (a dedicated single-thread one if none was supplied).

(self)

Source from the content-addressed store, hash-verified

105
106 @property
107 def executor(self) -> futures.Executor:
108 """The executor used for ``run_in_executor`` (a dedicated single-thread one if none was supplied)."""
109 return self._executor
110
111 @asynccontextmanager
112 async def read_lock(self, timeout: float | None = None, *, blocking: bool | None = None) -> AsyncGenerator[None]:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected