Is it normal that results are not persisted when you run flows locally through flow.run()?

View in #prefect-community on Slack

@Tom: I have another question regarding checkpoints, is it correct that results are not persisted when you run flows through flow.run()? (https://stackoverflow.com/questions/66660927/prefect-workflow-how-to-persist-data-of-previous-every-schedule-run)

Kevin_Kho @Kevin_Kho: That’s right but you can make it by setting PREFECT___FLOWS___CHECKPOINTING=true

@Tom: Nice, that did the trick, however it seems all of my tasks are being persisted now, not only the ones with checkpoint=True

Kevin_Kho @Kevin_Kho: Oh I think for production runs anyway this is overriden to True so you would need the explicit checkpoint=False on the ones you don’t want to checkpoint