I am trying to create a workflow that uses a map_task which return FlyteDirectory with min_success_ratio set to 0.25 for example , and as a result the returned value will be a List[FlyteDirectory] with a possibility of a None or "(empty)" returned value of failed instances., which, as a result, causes the transformer to fail
Wonder if anyone can help me handle this specific case assuming that next step in the wf will expect a list of flyte directories.
05/14/2023, 9:21 PM
the Flytedirectory transformer is failing?
can you change the list input type from
does that work?
05/15/2023, 6:18 AM
yes it worked ! thanks . didnt know Optional would work. thank you 🙂