inherits_config_params is not called with TaskOnKartinstance but TaskOnKartclass itself or its subclass.
This suppresses mypy error.
And task_class is better for the parameter name than task.
I think this change does not have a significant impact on usage because inherits_config_params is used as decorator.
inherits_config_params
is not called withTaskOnKart
instance butTaskOnKart
class itself or its subclass. This suppresses mypy error. Andtask_class
is better for the parameter name thantask
. I think this change does not have a significant impact on usage becauseinherits_config_params
is used as decorator.