A dataclass which holds the context for a ``BaseAsyncFileLock`` object.
| 33 | |
| 34 | @dataclass |
| 35 | class AsyncFileLockContext(FileLockContext): |
| 36 | """A dataclass which holds the context for a ``BaseAsyncFileLock`` object.""" |
| 37 | |
| 38 | #: Whether run in executor |
| 39 | run_in_executor: bool = True |
| 40 | |
| 41 | #: The executor |
| 42 | executor: futures.Executor | None = None |
| 43 | |
| 44 | #: The loop |
| 45 | loop: asyncio.AbstractEventLoop | None = None |
| 46 | |
| 47 | |
| 48 | class AsyncThreadLocalFileContext(AsyncFileLockContext, local): |
nothing calls this directly
no outgoing calls
no test coverage detected