mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-14 06:06:40 +00:00
Pacify mypy
This commit is contained in:
parent
cab24e4c7b
commit
054c893539
@ -14,6 +14,7 @@ from typing import (
|
||||
TypeVar,
|
||||
Optional,
|
||||
Coroutine,
|
||||
Generator
|
||||
)
|
||||
from typing_extensions import ParamSpec
|
||||
|
||||
@ -212,7 +213,7 @@ class WaitForDelayedCallsMixin(PollMixin):
|
||||
def until(
|
||||
action: Callable[[], defer.Deferred[Any]],
|
||||
condition: Callable[[], bool],
|
||||
) -> defer.Deferred[None]:
|
||||
) -> Generator[Any, None, None]:
|
||||
"""
|
||||
Run a Deferred-returning function until a condition is true.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user