Hi there, I noticed that link artifacts are being ...
# ask-community
r
Hi there, I noticed that link artifacts are being created with
type = "markdown"
rather than
type = "link"
. Just wanted to double check there isn't an intentional reason for this? Looks like it would just be a one line change to fix if it is a bug (https://github.com/PrefectHQ/prefect/blob/f32b9c35e8ae8af5d74754663fb2d613a44c4d3d/src/prefect/artifacts.py#L94). Thanks!
1
s
Hi @Rebecca Allen, it’s not a bug, but you figured out the secret that link artifacts are just markdown artifacts under the hood so the UI can render them as markdown (a clickable link) 🙂
r
Thanks for the info @Serina, good to know! Would be great if the Prefect Cloud UI could still refer to them as "link" artifacts though when displaying them in the web console.
s
I could see that, for sure. If we make enhancements to artifacts down the line, it could be possible to provide a user-facing type and an “internal” type. Feel free to create an issue if you like 🙂
👍 1