Fix wrong return type of invoke decorator (#7536)

Closes #7530
This commit is contained in:
kasium authored and GitHub committed 2022-03-22 14:30:51 +01:00
1 parent b307142f62
commit 108c3ab710
1 file changed
+1 -1
+1 -1
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