# Artifacts


# Functions

top-level functions:                                                                                                                                                       

Create a link artifact

Args:

  • link (str): the link to post
Returns:
  • str: the task run artifact ID

Update an existing link artifact. This function will replace the current link artifact with the new link provided.

Args:

  • task_run_artifact_id (str): the ID of an existing task run artifact
  • link (str): the new link to update the artifact with

prefect.backend.artifacts.create_markdown_artifact

(markdown)[source]

Create a markdown artifact

Args:

  • markdown (str): the markdown to post
Returns:
  • str: the task run artifact ID

prefect.backend.artifacts.update_markdown_artifact

(task_run_artifact_id, markdown)[source]

Update an existing markdown artifact. This function will replace the current markdown artifact with the new markdown provided.

Args:

  • task_run_artifact_id (str): the ID of an existing task run artifact
  • markdown (str): the new markdown to update the artifact with

prefect.backend.artifacts.delete_artifact

(task_run_artifact_id)[source]

Delete an existing artifact

Args:

  • task_run_artifact_id (str): the ID of an existing task run artifact

This documentation was auto-generated from commit n/a
on February 23, 2022 at 19:26 UTC