Join Slack
Powered by
Is there documenting on using attachments with the...
# ask-community
j
Jason
05/09/2022, 2:07 PM
Is there documenting on using attachments with the
https://docs.prefect.io/api/latest/tasks/notifications.html#emailtask
that I'm missing? I'd like to use the result of one task, a Pandas DF, and attach
df.to
_csv(..name..) to the email. It asks for the "names of files" but are these PathLikes
Jason
05/09/2022, 2:10 PM
Ah, nevermind I found it. Looks like they're PathLikes?
https://github.com/PrefectHQ/prefect/blob/master/src/prefect/tasks/notifications/email_task.py#L156-L159
k
Kevin Kho
05/09/2022, 2:19 PM
I haven’t tried this but I think you’re looking in the right place
4
Views
Open in Slack
Previous
Next