Join Slack
Powered by
example
# pacc-apr-10-11-2024
m
Mao Li
04/10/2024, 6:57 PM
example
j
Jeff Hale
04/10/2024, 7:01 PM
[ā
jeff@prefect.io
ā] in the Email block should do the job
m
Mao Li
04/10/2024, 8:16 PM
How to call this programmatically in the code?
j
Jeff Hale
04/10/2024, 8:23 PM
Blocks and Automations can be defined in code and instantiated through the REST API.
https://docs.prefect.io/latest/guides/automations/#event-based-deployment-automation
https://docs.prefect.io/latest/api-ref/rest-api/
The prefect-email folder is good for sending emails through Python code, but not as part of an Automation.
m
Mao Li
04/10/2024, 8:25 PM
gotcha, thanks
Open in Slack
Previous
Next