Can I make tasks read from a local folder as a cac...
# ask-community
h
Can I make tasks read from a local folder as a cache using
snapshotting
?
They are always re-run...
k
You can use targets where you specify a filename and if that file exists, the task the will not re-run and load instead. Similarly, you can use caching and if the task is cached, it will not run and just read the data in.
h
No they are always rerun even if I do this
k
This looks right. Could you run with DEBUG level logs so we can see the logs around caching?
h
PREFECT__LOGGING__LEVEL=DEBUG
?
Doesn't show anything interesting
k
Can you check to see if the files are persisted?