Tom Shaffner
12/28/2021, 6:34 PMKevin Kho
location
of the checkpoint to the same file. This means you always have the checkpoints of the most recent run and the new runs will overwrite the old files. Doing this gives you retries from Failure while minimizing the data footprint.Kevin Kho
Tom Shaffner
12/28/2021, 8:48 PMresult
option discussed at https://docs.prefect.io/core/concepts/persistence.html#output-caching-based-on-a-file-target?
I'll try using it for now then; if I'm misunderstanding what you mean please let me know.Kevin Kho
Tom Shaffner
12/28/2021, 10:50 PM_result_=LocalResult(_dir_='~/.prefect/results/{plan}_plan_data')
, and in that case the {plan} part didn't convert on the basis of mapped tasks; rather it created a directory with that name and saved them all, in usual name format, in it. I realized though, that's the DIR parameter, so I thought maybe I needed to switch to a file one.
According to the docs though, https://docs.prefect.io/api/latest/engine/results.html#localresult, there IS no file parameter. So how do I do this with mapped tasks?Kevin Kho
Tom Shaffner
12/28/2021, 10:54 PMTom Shaffner
12/28/2021, 10:54 PMlocation
Tom Shaffner
12/28/2021, 10:54 PMKevin Kho
Tom Shaffner
12/28/2021, 10:56 PMKevin Kho
Tom Shaffner
12/28/2021, 10:58 PMTom Shaffner
12/30/2021, 9:14 PMTom Shaffner
12/30/2021, 9:15 PM