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

Method executor

src/filelock/_async_read_write.py:96–98  ·  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

94
95 @property
96 def executor(self) -> futures.Executor:
97 """The executor used for ``run_in_executor`` (a dedicated single-thread one if none was supplied)."""
98 return self._executor
99
100 async def _run(self, func: Callable[..., object], *args: object, **kwargs: object) -> object:
101 loop = self._loop or asyncio.get_running_loop()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected