You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
New typing for task decorator doesn't work correctly in v3 #1061
x.py:11:23: error: Argument 1 to "add_task" of "Collection" has incompatible type "Callable[..., Any]"; expected "Task[Any]" [arg-type]
Collection().add_task(foo)
Activity
kasium commentedon Apr 8, 2026
Or even shorter
Workaround: use
@task()instead of@task