handsome-ocean-79057
12/09/2024, 1:31 PMforeach
over ['ae', 'de', 'at]
and ['v1', 'v2']
- they'd rather see a task ID like ae__v1__t-d7c8c2ea
than t-d7c8c2ea
victorious-lawyer-58417
12/09/2024, 4:59 PMvictorious-lawyer-58417
12/09/2024, 5:04 PMfrom metaflow import Flow
run = Flow('ForeachFlow').latest_run
for task in run['analyze_data']:
try:
if task.stderr in 'KILLED BY ORCHESTRATOR':
continue
else:
print(f'failed task {task.pathspec}\nstderr: {task.stderr}')
except:
pass
i.e. ignore tasks that we killed by the orchestrator due to a sibling task failing