F

Flyte enables you to build & deploy data & ML pipelines, hassle-free. The infinitely scalable and flexible workflow orchestration platform that seamlessly unifies data, ML and analytics stacks. Explore and Join the Flyte Community!

Error with FlyteDirectory in workflow

Summary

The user is sharing a code snippet related to generating and consuming directories and is facing an error regarding a 'NoneType' object lacking an 'uri' attribute when returning a list of FlyteDirectory from the generate_directory task to the consume_directories task. They are questioning the validity of returning a list of FlyteDirectory and considering removing the downstream task to verify the output from the map task. The user has identified that the issue is with min_success_ratio, stating that the consume_dir should expect List[Optional[FlyteDirectory]] to account for a failed pod in the next task. They plan to reproduce the issue soon.

Status
resolved
Tags
    Source
    #ask-the-community