hi community! is there a good way to invalidate a ...
# prefect-community
h
hi community! is there a good way to invalidate a checkpoint? tried setting
cache_validator=prefect.engine.cache_validator.never_use
on the task but that doesn't seem to do the trick (running prefect core locally)
k
I am so confused because core doesn’t respect caching to begin with. Are you using
targets
?
h
yes
sorry for the confusion 😅
k
Ah you can’t invalidate those. You can be clever using a Parameter and deleting the target files if the Parameter is true?
h
ok, thank you!
k
You can change the filename to make it good for each day/hour/etc.
h
👍