Soren Daugaard
03/10/2021, 1:03 PMdelete_artifact
method here: https://docs.prefect.io/api/latest/artifacts/artifacts.html#functions but it is not clear to me how I would obtain the task_run_artifact_id
to use it?Mariia Kerimova
03/10/2021, 4:31 PMquery {
task_run_artifact {
id
kind
created
data
}
}
Also I believe you can use client, which will be similar to this:
from prefect import Client
query = """
query {
task_run_artifact {
id
}
}
"""
client = Client()
result = client.graphql(query)