Nate Atkins
02/14/2020, 8:27 PMJeremiah
02/14/2020, 8:35 PMResultHandler
for logs: a way to ship the sanitized log to Cloud and recover the full log locally. We’ve been operating on the basis that logs in Cloud are either full opt-in or opt-out, but now that you’ve described this pattern I’m extremely interested in exploring it as a first-class middle ground.configure_logging()
, I think.LocalExecutor
and 2) if you never retry (since you won’t rerun the first task but instead will skip right to the retrying task), so I’d only adopt that solution if necessaryNate Atkins
02/14/2020, 8:42 PMJeremiah
02/14/2020, 8:44 PMjosh
02/14/2020, 8:44 PMon_start
and on_exit
callbacks which you may provide functions to run prior to the flow run and after it has finished. https://docs.prefect.io/cloud/execution/overview.html#environment-callbacks
For example the on_start
callback could perform your code before the flow starts however it won’t happen prior to the agent deploying it.Nate Atkins
02/14/2020, 8:46 PMJeremiah
02/14/2020, 9:42 PMNate Atkins
02/14/2020, 9:43 PMChris White
02/15/2020, 4:47 PMon_start
?Nate Atkins
02/15/2020, 4:53 PMChris White
02/15/2020, 5:38 PMLocalExecutor
this will work as you expect — would you be willing to open a Feature Request issue on GitHub for this? I think it’s a really great ideaNate Atkins
02/15/2020, 5:43 PMChris White
02/15/2020, 5:44 PMNate Atkins
02/16/2020, 5:56 PMChris White
02/18/2020, 11:16 PM