diff --git a/flytekit/models/core/workflow.py b/flytekit/models/core/workflow.py index cc1ca2694f6..8d8bf9c9ef0 100644 --- a/flytekit/models/core/workflow.py +++ b/flytekit/models/core/workflow.py @@ -3,6 +3,7 @@ from flyteidl.core import tasks_pb2 from flyteidl.core import workflow_pb2 as _core_workflow +from google.protobuf.wrappers_pb2 import BoolValue from flytekit.models import common as _common from flytekit.models import interface as _interface @@ -412,7 +413,7 @@ def to_flyte_idl(self) -> _core_workflow.ArrayNode: min_successes=self._min_successes, min_success_ratio=self._min_success_ratio, execution_mode=self._execution_mode, - is_original_sub_node_interface=self._is_original_sub_node_interface, + is_original_sub_node_interface=BoolValue(value=self._is_original_sub_node_interface), ) @classmethod