haven
08/05/2021, 3:48 PM@task
removes all type signatures that the function was given and a bare FunctionTask
is returned. Any thoughts of improving the @task
decorator such that all type signatures persist? That would help tremendously with type-checking for flows. Happy to contribute too, if such a proposal is somewhat sensible.Kevin Kho
Zanie
ParamSpec
(see https://github.com/python/mypy/issues/8645) we might be able to do something natively.