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