https://flyte.org logo
#flytekit
Title
# flytekit
a

Alex Pozimenko

08/22/2022, 11:06 PM
hi team, i'm trying to fetch execution details similar to what's returned by
flytectl get execution execid --details --nodeID n0 -o yaml
Copy code
execution = flyte_remote.fetch_execution(name = execution_id)
print (execution.node_executions)
after executing above
execution.node_executions
is not populated. I also tried
exec = flyte_remote.sync(execution)
but it returns the same
s

Samhita Alla

08/23/2022, 5:44 AM
Hi, @Alex Pozimenko! Can you try
Copy code
synced_execution = remote.sync(execution, sync_nodes=True)
node_keys = synced_execution.node_executions.keys()

node_execution_output = synced_execution.node_executions[<one_of_the_node_keys>].outputs
?
a

Alex Pozimenko

08/23/2022, 5:14 PM
this works, thanks @Samhita Alla
28 Views