Skip to content

Commit e668548

Browse files
committed
Set return type on handle._deco.
1 parent 15c4ef4 commit e668548

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

slipstream/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ def handle(
348348
"""
349349
c = Conf()
350350

351-
def _deco(f: Callable):
351+
def _deco(f) -> Callable[..., Awaitable[None]]:
352352
parameters = signature(f).parameters.values()
353353
is_coroutine = iscoroutinecallable(f)
354354
is_asyncgen = isasyncgenfunction(f)

0 commit comments

Comments
 (0)