Lana Dann

    Lana Dann

    5 months ago
    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
    Kevin Kho

    Kevin Kho

    5 months ago
    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?
    Lana Dann

    Lana Dann

    5 months ago
    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
    Anna Geller

    Anna Geller

    5 months ago
    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.
    Lana Dann

    Lana Dann

    5 months ago
    thanks! i’ll look into it