If we start to use Prefect `Results` like `S3Resu...
# prefect-community
m
If we start to use Prefect
Results
like
S3Result
do I need to use them for all tasks to be able to restart failed flows? Not totally clear to me
n
Hi @Michael Ludwig - you should only need to use
Results
for tasks that return something used in your downstream dependencies. The idea is that restarting a task that returns something can only work if its inputs are available somewhere; otherwise you'll end up in a perpetual state of failure with undefined inputs.
m
Thanks, right that is what happened to me. Only added the results to some tasks and some downstream task received None as arguments in their run methods which did not have targets defined. I guess that is something which could be made a bit clearer
n
Definitely @Michael Ludwig - if you have a place in the docs in particular that's unclear please let us know (the docs have a button to create a GitHub docs issue from any highlighted text)!