Hi Everyone, I want to extract the summary value of Prefect UI, is there any way to do it using the python API? Is for a external report for SLA references.
TOMAS IGNACIO ACUÑA RUZ
10/06/2021, 3:11 PM
@Diego Bloom Alert
k
Kevin Kho
10/06/2021, 3:12 PM
Hey @TOMAS IGNACIO ACUÑA RUZ , you’d need to use the graphql API. The Dashboard queries are open source though do you may find them here
t
TOMAS IGNACIO ACUÑA RUZ
10/06/2021, 3:13 PM
Thanks you! I will give a Try and I'm back to you
TOMAS IGNACIO ACUÑA RUZ
10/06/2021, 3:18 PM
Great its work, is there any chance to automatize this using python? @Kevin Kho
k
Kevin Kho
10/06/2021, 3:18 PM
Yeah! We have the Prefect client. Use the
client.graphql()
method to run the query. You just need to be authenticated
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.