is it possible to upload an artifact from a flow? ...
# prefect-server
l
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
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
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
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
thanks! i’ll look into it
👍 1