Closed vaaaaanquish closed 3 years ago
File "python3.7/site-packages/gokart/task.py", line 276, in _get_input_targets
return self.input()[target]
self.input()
is empty listNot working.
class Hoge(gokart.TaskOnKart):
hoge = gokart.ListTaskInstanceParameter()
def run(self):
hoge = self.load_data_frame('hoge')
Working:+1:
class Hoge(gokart.TaskOnKart):
hoge = gokart.ListTaskInstanceParameter()
def requires(self):
return {'hoge': self.hoge}
def run(self):
hoge = self.load_data_frame('hoge')
We must check List[TaskOnKart]
here
https://github.com/m3dev/gokart/blob/master/gokart/task.py#L79
Great work @vaaaaanquish for your detailed investigation and finding how to reproduce!