https://prefect.io logo
Title
l

Lana Dann

04/19/2022, 10:43 PM
is it possible to upload an artifact from a flow? we would like to upload the
dbt.log
file and
manifest.json
file that dbt generates after we run each flow. but i only see link artifacts and markdown artifacts in the source code
k

Kevin Kho

04/19/2022, 10:45 PM
Like you want to see it rendered in the Prefect UI? I think those are basically just text so you might be able to make them a markdown string and try rendering that?
l

Lana Dann

04/19/2022, 10:49 PM
i don’t need them rendered i just need them uploaded. so i guess i could just load the files and then spit out the contents in a markdown haha
a

Anna Geller

04/19/2022, 11:03 PM
not sure about the open-source dbt option, but when you use the
DbtCloudRunJob
task, we display all run artifacts in the UI by default (check this blog) - maybe you can check the code from this task and try to replicate it in the
DbtShellTask
? it should be possible.
:upvote: 1
l

Lana Dann

04/19/2022, 11:11 PM
thanks! i’ll look into it
👍 1