(self)
| 17 | self._lock: threading.Lock | None = threading.Lock() if use_lock else None |
| 18 | |
| 19 | def _acquire(self) -> None: |
| 20 | if self._lock is not None: |
| 21 | self._lock.acquire() |
| 22 | |
| 23 | def _release(self) -> None: |
| 24 | if self._lock is not None: |
no outgoing calls
no test coverage detected