many-processor-72561
01/07/2024, 8:52 AMforeach that result in 300 child-tasks, some of them failed, how can I access their input data to know which data they worked on so I could re-run it?many-processor-72561
01/07/2024, 8:55 AMtask.data.input and got
return self._artifacts[name].data
KeyError: 'input'
my task type is <class 'metaflow.client.core.Task'>
Any other ideas?square-wire-39606
01/08/2024, 3:06 PMmany-processor-72561
01/08/2024, 3:10 PMpod deleted will they re-try?square-wire-39606
01/08/2024, 8:55 PMmany-processor-72561
03/13/2024, 7:28 PMtask.data.input is failing to access the task input data?ancient-application-36103
03/13/2024, 7:30 PMmany-processor-72561
03/13/2024, 7:33 PMancient-application-36103
03/13/2024, 7:33 PMancient-application-36103
03/13/2024, 7:34 PMmany-processor-72561
03/13/2024, 7:34 PMforeach are still runingancient-application-36103
03/13/2024, 7:34 PMancient-application-36103
03/13/2024, 7:35 PMmany-processor-72561
03/13/2024, 7:36 PM<MetaflowData: bucketed_data, configs, sessions, flow_link, manifest, name, ns, since, until>
bucketed_data is the variable we used for the foreach with
self.next(self.generate_data, foreach="bucketed_data")many-processor-72561
03/13/2024, 7:37 PMmany-processor-72561
03/13/2024, 7:37 PMmetaflow==2.9.11ancient-application-36103
03/13/2024, 7:38 PMmany-processor-72561
03/13/2024, 7:38 PMancient-application-36103
03/13/2024, 7:39 PMmany-processor-72561
03/13/2024, 7:41 PMinput and get the error KeyError: 'input'many-processor-72561
03/13/2024, 7:43 PMdef write_to_storage(self, inputs):
for task.data I get
<MetaflowData: name, flow_link, until, since, ns, manifest>ancient-application-36103
03/13/2024, 7:51 PMancient-application-36103
03/13/2024, 7:52 PMmany-processor-72561
03/13/2024, 7:55 PMancient-application-36103
03/13/2024, 8:00 PMancient-application-36103
03/13/2024, 8:01 PMmany-processor-72561
03/13/2024, 8:11 PMjoin step, I just mentioned it to have more examples.
What about accessing task.data.input in one of the foreach tasks?ancient-application-36103
03/13/2024, 9:03 PMmany-processor-72561
03/14/2024, 7:32 AMstep = Step('ForeachFlow/3484/a')
for t in step.tasks():
print(t.data.input)
and got KeyError: 'input'many-processor-72561
04/02/2024, 5:08 AMsquare-wire-39606
04/08/2024, 7:36 AM