Question for the prefect devs -- is there anything on the roadmap to expand features around artefacts? Ability to upload / register pngs for instance?
n
Nate
12/06/2023, 5:25 AM
hi @Tim Galvin - would you mean rendering images in markdown artifacts in the UI and things like that? personally I'm not aware of any imminent work in that vein - but an enhancement request to that effect would be welcome!
I suspect you might already know this, but you can currently do something like
Copy code
In [5]: await create_markdown_artifact(markdown="[img](<https://i.stack.imgur.com/OHJsh.png>)", key="foo")
Out[5]: UUID('8de9fb7b-3755-4fff-b03d-903ee5be990c')
which'll render as a markdown link you can follow to view, so you could store the images someplace convenient for viewing and just have the artifact link out to there
t
Tim Galvin
12/06/2023, 9:06 AM
At the moment I am not a paying customer (although I am trying to twist arms in the office) so I feel a little bad requesting things. But exactly - I would love to be able to upload a png of pdf and have it render as an image under the artedact panel on the UI.
I did etch out something a long time ago as a URL in the logs, but turned it off at some point. That does look like a much better approach than mine
n
Nate
12/08/2023, 9:53 PM
ok check this out, i just learned that we already support this
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.