Damien Ramunno-Johnson
05/17/2021, 10:17 PMA result subclass that matches the storage backend of yourDoes this mean we can not use checkpointing if using Docker Storage?setting will automatically be applied to all tasks, if available; notably this is not yet supported for Docker Storageprefect.config.flows.storage
Dylan
Result
class for your flowDylan
Dylan
Dylan
Damien Ramunno-Johnson
05/17/2021, 10:20 PMDylan
Result
class is intended to be set on the Flow
object 👍Damien Ramunno-Johnson
05/17/2021, 10:27 PMDamien Ramunno-Johnson
05/17/2021, 11:20 PM@task(nout=4, cache_for=datetime.timedelta(hours=12))
it doesn’t seem to use the cache and still reruns. Does the flow need to succeed for the cache to work?Damien Ramunno-Johnson
05/17/2021, 11:27 PMDylan
Dylan
Dylan
Dylan
flow.run
?Dylan
Dylan
Note that when running Prefect Core locally, your Tasks' cached states will be stored in memory within prefect.context
Dylan
Damien Ramunno-Johnson
05/18/2021, 6:52 PMDylan
Dylan
Damien Ramunno-Johnson
05/18/2021, 6:55 PMDylan
ipython -i
and then do everything with it in there (including updating tasks by copy/paste if I want to hold onto my session)Damien Ramunno-Johnson
05/18/2021, 7:21 PM