create_link_artifact()
function.
To create multiple versions of the same artifact and/or view them on the Artifacts page of the Prefect UI,
provide a key
argument to the create_link_artifact()
function to track the artifact’s history over time.
Without a key
, the artifact is only visible in the Artifacts tab of the associated flow run or task run.
link_text
argument:
create_link_artifact
method is used within a flow to create a link artifact with a key of my-important-link
.
The link
parameter specifies the external resource to link to, and link_text
specifies the text to display for the link.
Add an optional description
for context.
create_progress_artifact()
function. To update a progress artifact, use the update_progress_artifact()
function.
update_progress_artifact()
function. Prefect updates a progress artifact in place, rather than versioning it.
create_markdown_artifact()
function.
To create multiple versions of the same artifact and/or view them on the Artifacts page of the Prefect UI, provide a key
argument to the create_markdown_artifact()
function to track an artifact’s history over time.
Without a key
, the artifact is only visible in the Artifacts tab of the associated flow run or task run.
create_table_artifact()
.
To create multiple versions of the same artifact and/or view them on the Artifacts page of the Prefect UI, provide a key
argument to the create_table_artifact()
function to track an artifact’s history over time.
Without a key
, the artifact is only visible in the artifacts tab of the associated flow run or task run.
create_table_artifact()
function accepts a table
argument. Pass this as a list of lists, a list of dictionaries, or a dictionary of lists.create_image_artifact()
function.
create_link_artifact()
function instead.
Artifact.get
class method: