h

    Hawkar Mahmod

    1 year ago
    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
    @task(checkpoint=True, result=LocalResult(dir="~/Desktop/pipeline/results"))
    Josh Greenhalgh

    Josh Greenhalgh

    1 year ago
    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

    Hawkar Mahmod

    1 year ago
    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.
    Josh Greenhalgh

    Josh Greenhalgh

    1 year ago
    np