Farooque Shaikh
07/18/2022, 3:37 PMKevin Kho
variables
into client.graphl
which takes in a dictionaryFarooque Shaikh
07/18/2022, 3:42 PMKevin Kho
from 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 PMFarooque Shaikh
07/18/2022, 3:58 PMKevin Kho
Farooque Shaikh
07/18/2022, 4:02 PM