m3dev / gokart

Gokart solves reproducibility, task dependencies, constraints of good code, and ease of use for Machine Learning Pipeline.
https://gokart.readthedocs.io/en/latest/
MIT License
305 stars 57 forks source link

fix is_parameter_call #392

Closed kitagry closed 2 weeks ago

kitagry commented 3 weeks ago

Currently, luigi doesn't provide py.typed. it will be released next to 3.5.1.

https://github.com/spotify/luigi/pull/3297

With the following code, we can't assume type correctly.

from luigi import Parameter

class MyTask(gokart.TaskOnKart):
    param = Parameter()