https://prefect.io logo
Title
a

Ahmed Ezzat

04/21/2022, 5:11 AM
what's the difference between prefect checkpointing and targets? from my understanding targets could be used to save task output and if the task is called again it will use the cached state, checkpointing does the same so what is the key difference?
k

Kevin Kho

04/21/2022, 5:12 AM
Checkpointing is to recover from a flow run when you click the restart button. Target is caching that will take effect from flow run to flow run, but the checkpoints will not be used in the next flow run by default
a

Ahmed Ezzat

04/21/2022, 5:19 AM
@Kevin Kho Thanks for the clarification, I'm looking around and found a config parameter under
prefect.flows.eager_edge_validation
may you please explain what is that?
k

Kevin Kho

04/21/2022, 5:19 AM
No i can’t lol….first time seeing that let me take a look
I really can’t provide any more info on that beyond the docstring but i have never seen anyone have to toggle it so i guess we don’t validate