Matthew Seligson
10/01/2021, 7:37 PMKevin Kho
task_run_count
.
I don’t think you can get end time because that doesn’t exist yet until the state handler is done. For start time…it may have to be taken from the GraphQL API. I think for end time, using datetime.datetime.now()
is probably a good proxyKevin Kho
query {
task_run_by_pk(where: {id: {_eq: "insert_id"}}) {
start_time
}
}
Kevin Kho
task_run_id
from context, form the query, and pass that to client.graphql()
inside the state handlerMatthew Seligson
10/06/2021, 2:55 PMKevin Kho
张强
10/10/2021, 12:16 AMKevin Kho