(self, mode: Literal["read", "write"], timeout: float | None, *, blocking: bool | None)
| 118 | return self._fork_invalidated or super()._inherited |
| 119 | |
| 120 | async def _acquire(self, mode: Literal["read", "write"], timeout: float | None, *, blocking: bool | None) -> None: |
| 121 | await self._admit( |
| 122 | mode, |
| 123 | self.timeout if timeout is None else timeout, |
| 124 | blocking=self.blocking if blocking is None else blocking, |
| 125 | ) |
| 126 | |
| 127 | async def _release_in_context(self, body_error: BaseException | None) -> None: |
| 128 | try: |
no test coverage detected