Fix wrong return type of invoke decorator (#7536)

Closes #7530
This commit is contained in:
kasium
2022-03-22 14:30:51 +01:00
committed by GitHub
parent b307142f62
commit 108c3ab710

View File

@@ -73,7 +73,7 @@ def task(
iterable: Iterable[str] | None = ...,
incrementable: Iterable[str] | None = ...,
klass: type[_TaskT] = ...,
) -> _TaskT: ...
) -> Callable[[Callable[..., Any]], _TaskT]: ...
class Call:
task: Task