https://prefect.io logo
#prefect-community
Title
# prefect-community
m

Michael Ludwig

08/21/2020, 1:57 PM
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

nicholas

08/21/2020, 3:59 PM
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

Michael Ludwig

08/24/2020, 5:40 AM
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

nicholas

08/24/2020, 2:17 PM
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)!