| 356 | |
| 357 | |
| 358 | class _ForwardingFileLock(BaseFileLock): |
| 359 | _lifetime_supported = True |
| 360 | |
| 361 | def __init__(self, lock_file: str, **kwargs: Unpack[_FileLockOptions]) -> None: |
| 362 | super().__init__(lock_file, **kwargs) |
| 363 | |
| 364 | def _acquire(self) -> None: |
| 365 | raise NotImplementedError |
| 366 | |
| 367 | def _release(self) -> None: |
| 368 | raise NotImplementedError |
| 369 | |
| 370 | |
| 371 | class _ForwardingAsyncFileLock(BaseAsyncFileLock): |
no outgoing calls