broad-train-34581
07/25/2023, 2:39 PMbroad-train-34581
07/25/2023, 2:40 PMflytekit.clients.friendly.SynchronousFlyteClient but is unable to get the task execution of a task in a subworkflow.
Using this example, there is a tasks n0 and subworkflow n1 that runs n1-0-n0
list_node_executions - Get the list of node execution for a given execution (returns n0 and n1 , was expecting n1-0-n0 but it wasn't returned)
list_task_executions_paginated - Get task execution for given execution. Works fine for n0 but returns empty for `n1`(subworkflow). If i query with n1-0-n0 I can get the task execution details.
Are there any API that will tell me that this execution has a node n1-0-n0 ?broad-train-34581
07/25/2023, 2:42 PMbroad-train-34581
07/25/2023, 3:04 PMNodeExecution has metadata with field is_parent_node . Could query
list_node_executions with unique_parent_id=node_id if it is a parent node, to get the child NodeExecutions