@flyteorg/flyteidl 0.22.1 → 0.22.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11974,6 +11974,9 @@ export namespace flyteidl {
11974
11974
 
11975
11975
  /** NodeExecutionMetaData specNodeId */
11976
11976
  specNodeId?: (string|null);
11977
+
11978
+ /** NodeExecutionMetaData isDynamic */
11979
+ isDynamic?: (boolean|null);
11977
11980
  }
11978
11981
 
11979
11982
  /** Represents a NodeExecutionMetaData. */
@@ -11994,6 +11997,9 @@ export namespace flyteidl {
11994
11997
  /** NodeExecutionMetaData specNodeId. */
11995
11998
  public specNodeId: string;
11996
11999
 
12000
+ /** NodeExecutionMetaData isDynamic. */
12001
+ public isDynamic: boolean;
12002
+
11997
12003
  /**
11998
12004
  * Creates a new NodeExecutionMetaData instance using the specified properties.
11999
12005
  * @param [properties] Properties to set
@@ -28622,6 +28622,7 @@ export const flyteidl = $root.flyteidl = (() => {
28622
28622
  * @property {string|null} [retryGroup] NodeExecutionMetaData retryGroup
28623
28623
  * @property {boolean|null} [isParentNode] NodeExecutionMetaData isParentNode
28624
28624
  * @property {string|null} [specNodeId] NodeExecutionMetaData specNodeId
28625
+ * @property {boolean|null} [isDynamic] NodeExecutionMetaData isDynamic
28625
28626
  */
28626
28627
 
28627
28628
  /**
@@ -28663,6 +28664,14 @@ export const flyteidl = $root.flyteidl = (() => {
28663
28664
  */
28664
28665
  NodeExecutionMetaData.prototype.specNodeId = "";
28665
28666
 
28667
+ /**
28668
+ * NodeExecutionMetaData isDynamic.
28669
+ * @member {boolean} isDynamic
28670
+ * @memberof flyteidl.admin.NodeExecutionMetaData
28671
+ * @instance
28672
+ */
28673
+ NodeExecutionMetaData.prototype.isDynamic = false;
28674
+
28666
28675
  /**
28667
28676
  * Creates a new NodeExecutionMetaData instance using the specified properties.
28668
28677
  * @function create
@@ -28693,6 +28702,8 @@ export const flyteidl = $root.flyteidl = (() => {
28693
28702
  writer.uint32(/* id 2, wireType 0 =*/16).bool(message.isParentNode);
28694
28703
  if (message.specNodeId != null && message.hasOwnProperty("specNodeId"))
28695
28704
  writer.uint32(/* id 3, wireType 2 =*/26).string(message.specNodeId);
28705
+ if (message.isDynamic != null && message.hasOwnProperty("isDynamic"))
28706
+ writer.uint32(/* id 4, wireType 0 =*/32).bool(message.isDynamic);
28696
28707
  return writer;
28697
28708
  };
28698
28709
 
@@ -28723,6 +28734,9 @@ export const flyteidl = $root.flyteidl = (() => {
28723
28734
  case 3:
28724
28735
  message.specNodeId = reader.string();
28725
28736
  break;
28737
+ case 4:
28738
+ message.isDynamic = reader.bool();
28739
+ break;
28726
28740
  default:
28727
28741
  reader.skipType(tag & 7);
28728
28742
  break;
@@ -28751,6 +28765,9 @@ export const flyteidl = $root.flyteidl = (() => {
28751
28765
  if (message.specNodeId != null && message.hasOwnProperty("specNodeId"))
28752
28766
  if (!$util.isString(message.specNodeId))
28753
28767
  return "specNodeId: string expected";
28768
+ if (message.isDynamic != null && message.hasOwnProperty("isDynamic"))
28769
+ if (typeof message.isDynamic !== "boolean")
28770
+ return "isDynamic: boolean expected";
28754
28771
  return null;
28755
28772
  };
28756
28773
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flyteorg/flyteidl",
3
- "version": "0.22.1",
3
+ "version": "0.22.2",
4
4
  "description": "Compiled protocol buffers and gRPC service clients/servers for Flyte IDLs",
5
5
  "repository": {
6
6
  "type": "git",
@@ -2256,6 +2256,7 @@ Represents additional attributes related to a Node Execution
2256
2256
  "retry_group", ":ref:`ref_string`", "", "Node executions are grouped depending on retries of the parent Retry group is unique within the context of a parent node."
2257
2257
  "is_parent_node", ":ref:`ref_bool`", "", "Boolean flag indicating if the node has child nodes under it This can be true when a node contains a dynamic workflow which then produces child nodes."
2258
2258
  "spec_node_id", ":ref:`ref_string`", "", "Node id of the node in the original workflow This maps to value of WorkflowTemplate.nodes[X].id"
2259
+ "is_dynamic", ":ref:`ref_bool`", "", "Boolean flag indicating if the node has contains a dynamic workflow which then produces child nodes. This is to distinguish between subworkflows and dynamic workflows which can both have is_parent_node as true."
2259
2260
 
2260
2261
 
2261
2262
 
@@ -110,6 +110,10 @@ message NodeExecutionMetaData {
110
110
  // Node id of the node in the original workflow
111
111
  // This maps to value of WorkflowTemplate.nodes[X].id
112
112
  string spec_node_id = 3;
113
+
114
+ // Boolean flag indicating if the node has contains a dynamic workflow which then produces child nodes.
115
+ // This is to distinguish between subworkflows and dynamic workflows which can both have is_parent_node as true.
116
+ bool is_dynamic = 4;
113
117
  }
114
118
 
115
119
  // Request structure to retrieve a list of node execution entities.