Fix lint.

This commit is contained in:
Itamar Turner-Trauring 2023-03-24 15:19:39 -04:00
parent 63549c71ef
commit 6ce53000f0

View File

@ -208,10 +208,9 @@ class WaitForDelayedCallsMixin(PollMixin):
@inline_callbacks
def until(
action, # type: Callable[[], defer.Deferred[Any]]
condition, # type: Callable[[], bool]
):
# type: (...) -> defer.Deferred[None]
action: Callable[[], defer.Deferred[Any]],
condition: Callable[[], bool],
) -> defer.Deferred[None]:
"""
Run a Deferred-returning function until a condition is true.