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.