Channels
announcements
ask-marvin
best-practices-coordination-plane
data-ecosystem
data-tricks-and-tips
events
find-a-prefect-job
geo-bay-area
geo-berlin
geo-boston
geo-chicago
geo-colorado
geo-dc
geo-israel
geo-japan
geo-london
geo-nyc
geo-seattle
geo-texas
gratitude
introductions
marvin-in-the-wild
pacc-clearcover-june-12-2023
pacc-may-31-2023
ppcc-may-16-2023
prefect-ai
prefect-aws
prefect-azure
prefect-cloud
prefect-community
prefect-contributors
prefect-dbt
prefect-docker
prefect-gcp
prefect-getting-started
prefect-integrations
prefect-kubernetes
prefect-recipes
prefect-server
prefect-ui
random
show-us-what-you-got
Powered by
Title
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
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
3 Views
#prefect-community
Join Slack