hi team, i'm trying to fetch execution details sim...
# flytekit
a
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
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
this works, thanks @Samhita Alla
160 Views