[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2026-07-27 12:41:53 +00:00
commit 0bc350bba3

View file

@ -262,7 +262,12 @@ class LlamaAdmissionLease:
if self._queue is not None:
self._queue.unpark()
async def unpark_async(self, *, cancel_event = None, poll_s: float = 0.02) -> None:
async def unpark_async(
self,
*,
cancel_event = None,
poll_s: float = 0.02,
) -> None:
"""Take a slot back, waiting until the pool has room.
``park`` gave the slot to a waiter, so by the time the user answers the