Every option the metaclass forwards, so a subclass adding its own can still type what it passes through.
| 82 | |
| 83 | |
| 84 | class LockOptions(TypedDict, total=False): |
| 85 | """Every option the metaclass forwards, so a subclass adding its own can still type what it passes through.""" |
| 86 | |
| 87 | timeout: float |
| 88 | mode: int |
| 89 | thread_local: bool |
| 90 | blocking: bool |
| 91 | is_singleton: bool |
| 92 | poll_interval: float |
| 93 | lifetime: float | None |
| 94 | context_error_policy: ContextErrorPolicy |
| 95 | close_error_policy: CloseErrorPolicy |
| 96 | fallback_to_soft: bool |
| 97 | preserve_lock_file: bool |
| 98 | on_acquired: Callable[[int], None] | None |
| 99 | |
| 100 | |
| 101 | def _exception_group_cls() -> type[BaseException]: |
nothing calls this directly
no outgoing calls
no test coverage detected