prefect.server.models.artifacts
Functions
create_artifact
read_latest_artifact
read_artifact
read_artifacts
session
: A database sessionoffset
: Query offsetlimit
: Query limitartifact_filter
: Only select artifacts matching this filterflow_run_filter
: Only select artifacts whose flow runs matching this filtertask_run_filter
: Only select artifacts whose task runs matching this filterdeployment_filter
: Only select artifacts whose flow runs belong to deployments matching this filterflow_filter
: Only select artifacts whose flow runs belong to flows matching this filterwork_pool_filter
: Only select artifacts whose flow runs belong to work pools matching this filter
read_latest_artifacts
session
: A database sessionoffset
: Query offsetlimit
: Query limitartifact_filter
: Only select artifacts matching this filterflow_run_filter
: Only select artifacts whose flow runs matching this filtertask_run_filter
: Only select artifacts whose task runs matching this filterdeployment_filter
: Only select artifacts whose flow runs belong to deployments matching this filterflow_filter
: Only select artifacts whose flow runs belong to flows matching this filterwork_pool_filter
: Only select artifacts whose flow runs belong to work pools matching this filter
count_artifacts
count_latest_artifacts
update_artifact
session
: A database sessionartifact_id
: The artifact id to updateartifact
: An artifact model
- True if the update was successful, False otherwise
delete_artifact
- key: “foo”, id: 1, created: 2020-01-01
- key: “foo”, id: 2, created: 2020-01-02
- key: “foo”, id: 3, created: 2020-01-03
- key: “foo”, latest_id: 3
session
: A database sessionartifact_id
: The artifact id to delete
- True if the delete was successful, False otherwise