[BUG]: Fix incorrect typing for the @stage
and @source
decorators
#1812
Labels
bug
Something isn't working
@stage
and @source
decorators
#1812
Version
24.06
Which installation method(s) does this occur on?
Source
Describe the bug.
When creating a stage using the
@stage
decorator, python linters and language services report errors when using these stages because theconfig
type is unexpected or keyword arguments are missing.A quick prototype had good results using
ParamSpec
object. For example:Minimum reproducible example
No response
Relevant log output
Click here to see error details
Full env printout
Click here to see environment details
Other/Misc.
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: