Farooque Shaikh
07/18/2022, 3:37 PMKevin Kho
07/18/2022, 3:41 PMvariables
into client.graphl
which takes in a dictionaryFarooque Shaikh
07/18/2022, 3:42 PMKevin Kho
07/18/2022, 3:49 PMfrom prefect.client import Client
client = Client()
query = """
query flowRun ($id: uuid){
flow_run(where: {id: {_eq: $id}}) {
id
}
}
"""
vars = {
"id": "7928d73a-a606-430e-a8ec-8194394fe5b8"
}
print(client.graphql(query, variables=vars))
Farooque Shaikh
07/18/2022, 3:58 PMKevin Kho
07/18/2022, 3:59 PMFarooque Shaikh
07/18/2022, 4:02 PM