prefect.artifacts
create_link_artifact
link
: The link to create.link_text
: The link text.key
: A user-provided string identifier.
Required for the artifact to show in the Artifacts page in the UI.
The key must only contain lowercase letters, numbers, and dashes.description
: A user-specified description of the artifact.create_markdown_artifact
markdown
: The markdown to create.key
: A user-provided string identifier.
Required for the artifact to show in the Artifacts page in the UI.
The key must only contain lowercase letters, numbers, and dashes.description
: A user-specified description of the artifact.create_table_artifact
table
: The table to create.key
: A user-provided string identifier.
Required for the artifact to show in the Artifacts page in the UI.
The key must only contain lowercase letters, numbers, and dashes.description
: A user-specified description of the artifact.create_progress_artifact
progress
: The percentage of progress represented by a float between 0 and 100.key
: A user-provided string identifier.
Required for the artifact to show in the Artifacts page in the UI.
The key must only contain lowercase letters, numbers, and dashes.description
: A user-specified description of the artifact.update_progress_artifact
artifact_id
: The ID of the artifact to update.progress
: The percentage of progress represented by a float between 0 and 100.description
: A user-specified description of the artifact.create_image_artifact
image_url
: The URL of the image to display.key
: A user-provided string identifier.
Required for the artifact to show in the Artifacts page in the UI.
The key must only contain lowercase letters, numbers, and dashes.description
: A user-specified description of the artifact.Artifact
type
: A string identifying the type of artifact.key
: A user-provided string identifier.
The key must only contain lowercase letters, numbers, and dashes.description
: A user-specified description of the artifact.data
: A JSON payload that allows for a result to be retrieved.create
client
: The PrefectClientget
key
: The key of the artifact to get.client
: A client to use when calling the Prefect API.get_or_create
key
: The key of the artifact to get or create.description
: The description of the artifact to create.data
: The data of the artifact to create.client
: The PrefectClient**kwargs
: Additional keyword arguments to use when creating the artifact.format
LinkArtifact
format
MarkdownArtifact
format
TableArtifact
format
ProgressArtifact
format
ImageArtifact
image_url
: The URL of the image to display.format