[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
2556de873f
commit
0bc350bba3
1 changed files with 6 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue