ambitious-air-47430
05/14/2024, 11:01 AMexecutions = remote.recent_executions(project=PROJECT, domain=DOMAIN, limit=1000)
for execution in executions:
name = execution.spec.launch_plan.name
info = remote.fetch_execution(domain=DOMAIN, project=PROJECT, name=execution.id.name)
tmp = remote.sync_node_execution(execution="How do i get this info?")
I can fetch the workflow execution with input and output and i see the references to tasks /nodes but im not able to fetch the exact node execution information for the task.
flytectl get execution -p flytesnacks -d development foobar --nodeID n0 -o yaml
seems to print the information im seeking in python.
Does anyone know how to query this with the python client directly?acceptable-accountant-9776
05/14/2024, 1:44 PMexecution.closure.duration
or execution.closure.outputs
.ambitious-air-47430
05/14/2024, 1:47 PMambitious-air-47430
05/14/2024, 1:49 PMacceptable-accountant-9776
05/14/2024, 2:12 PMinfo.flyte_workflow.flyte_nodes
. I think inputs at least can be found at info.flyte_workflow.flyte_nodes[0].inputs
ambitious-air-47430
05/14/2024, 2:16 PM