I’ve read through the docs and cannot figure out w...
# ask-community
h
I’ve read through the docs and cannot figure out why my use of LocalResult on a task is not persisting results. There are definitely results, because I can print them out like so:
print(state.result[baseline_fractions]._result)
. All that happens is that my
dir
provided location produces the directories and then an empty folder. What am I missing here?
My task decorator signature
Copy code
@task(checkpoint=True, result=LocalResult(dir="~/Desktop/pipeline/results"))
j
running locally? theres an env var to turn checkpointing on...let me find it
I don't think setting the arg in the task decorator is enough
h
OK that appears to have done it. Just did a search for that env var in the docs and it is there. My bad. Thank you for your help.
j
np