John Ramirez
01/02/2020, 5:03 PMresult_handler
with an @task
with no success. Does anyone have a good example to demonstrate how to code itChris White
01/02/2020, 5:07 PMJohn Ramirez
01/02/2020, 5:09 PMChris White
01/02/2020, 5:13 PM@task(checkpoint=True)
on your task as well as set the environment variable PREFECT__FLOWS__CHECKPOINTING=true
. This is outlined here: https://docs.prefect.io/core/concepts/persistence.html#checkpointingJohn Ramirez
01/02/2020, 5:15 PMChris White
01/02/2020, 5:17 PMcheckpoint=True
to ensure your task’s result handlers are called in Cloud. With the release of Core 0.9.0 checkpointing will become default behavior, so your tasks will always have their result handlers called