@flyteorg/flyteidl 1.13.7 → 1.13.9

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.
@@ -4586,6 +4586,9 @@ export namespace flyteidl {
4586
4586
 
4587
4587
  /** ArrayNode executionMode */
4588
4588
  executionMode?: (flyteidl.core.ArrayNode.ExecutionMode|null);
4589
+
4590
+ /** ArrayNode isOriginalSubNodeInterface */
4591
+ isOriginalSubNodeInterface?: (google.protobuf.IBoolValue|null);
4589
4592
  }
4590
4593
 
4591
4594
  /** Represents an ArrayNode. */
@@ -4612,6 +4615,9 @@ export namespace flyteidl {
4612
4615
  /** ArrayNode executionMode. */
4613
4616
  public executionMode: flyteidl.core.ArrayNode.ExecutionMode;
4614
4617
 
4618
+ /** ArrayNode isOriginalSubNodeInterface. */
4619
+ public isOriginalSubNodeInterface?: (google.protobuf.IBoolValue|null);
4620
+
4615
4621
  /** ArrayNode parallelismOption. */
4616
4622
  public parallelismOption?: "parallelism";
4617
4623
 
@@ -6401,6 +6407,9 @@ export namespace flyteidl {
6401
6407
 
6402
6408
  /** TaskMetadata cacheIgnoreInputVars */
6403
6409
  cacheIgnoreInputVars?: (string[]|null);
6410
+
6411
+ /** TaskMetadata isEager */
6412
+ isEager?: (boolean|null);
6404
6413
  }
6405
6414
 
6406
6415
  /** Represents a TaskMetadata. */
@@ -6448,6 +6457,9 @@ export namespace flyteidl {
6448
6457
  /** TaskMetadata cacheIgnoreInputVars. */
6449
6458
  public cacheIgnoreInputVars: string[];
6450
6459
 
6460
+ /** TaskMetadata isEager. */
6461
+ public isEager: boolean;
6462
+
6451
6463
  /** TaskMetadata interruptibleValue. */
6452
6464
  public interruptibleValue?: "interruptible";
6453
6465
 
@@ -8513,6 +8525,9 @@ export namespace flyteidl {
8513
8525
 
8514
8526
  /** NodeExecutionEvent isInDynamicChain */
8515
8527
  isInDynamicChain?: (boolean|null);
8528
+
8529
+ /** NodeExecutionEvent isEager */
8530
+ isEager?: (boolean|null);
8516
8531
  }
8517
8532
 
8518
8533
  /** Represents a NodeExecutionEvent. */
@@ -8596,6 +8611,9 @@ export namespace flyteidl {
8596
8611
  /** NodeExecutionEvent isInDynamicChain. */
8597
8612
  public isInDynamicChain: boolean;
8598
8613
 
8614
+ /** NodeExecutionEvent isEager. */
8615
+ public isEager: boolean;
8616
+
8599
8617
  /** NodeExecutionEvent inputValue. */
8600
8618
  public inputValue?: ("inputUri"|"inputData");
8601
8619
 
@@ -16958,6 +16976,9 @@ export namespace flyteidl {
16958
16976
 
16959
16977
  /** NodeExecutionMetaData isArray */
16960
16978
  isArray?: (boolean|null);
16979
+
16980
+ /** NodeExecutionMetaData isEager */
16981
+ isEager?: (boolean|null);
16961
16982
  }
16962
16983
 
16963
16984
  /** Represents a NodeExecutionMetaData. */
@@ -16984,6 +17005,9 @@ export namespace flyteidl {
16984
17005
  /** NodeExecutionMetaData isArray. */
16985
17006
  public isArray: boolean;
16986
17007
 
17008
+ /** NodeExecutionMetaData isEager. */
17009
+ public isEager: boolean;
17010
+
16987
17011
  /**
16988
17012
  * Creates a new NodeExecutionMetaData instance using the specified properties.
16989
17013
  * @param [properties] Properties to set
@@ -10982,6 +10982,7 @@
10982
10982
  * @property {number|null} [minSuccesses] ArrayNode minSuccesses
10983
10983
  * @property {number|null} [minSuccessRatio] ArrayNode minSuccessRatio
10984
10984
  * @property {flyteidl.core.ArrayNode.ExecutionMode|null} [executionMode] ArrayNode executionMode
10985
+ * @property {google.protobuf.IBoolValue|null} [isOriginalSubNodeInterface] ArrayNode isOriginalSubNodeInterface
10985
10986
  */
10986
10987
 
10987
10988
  /**
@@ -11039,6 +11040,14 @@
11039
11040
  */
11040
11041
  ArrayNode.prototype.executionMode = 0;
11041
11042
 
11043
+ /**
11044
+ * ArrayNode isOriginalSubNodeInterface.
11045
+ * @member {google.protobuf.IBoolValue|null|undefined} isOriginalSubNodeInterface
11046
+ * @memberof flyteidl.core.ArrayNode
11047
+ * @instance
11048
+ */
11049
+ ArrayNode.prototype.isOriginalSubNodeInterface = null;
11050
+
11042
11051
  // OneOf field names bound to virtual getters and setters
11043
11052
  var $oneOfFields;
11044
11053
 
@@ -11098,6 +11107,8 @@
11098
11107
  writer.uint32(/* id 4, wireType 5 =*/37).float(message.minSuccessRatio);
11099
11108
  if (message.executionMode != null && message.hasOwnProperty("executionMode"))
11100
11109
  writer.uint32(/* id 5, wireType 0 =*/40).int32(message.executionMode);
11110
+ if (message.isOriginalSubNodeInterface != null && message.hasOwnProperty("isOriginalSubNodeInterface"))
11111
+ $root.google.protobuf.BoolValue.encode(message.isOriginalSubNodeInterface, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
11101
11112
  return writer;
11102
11113
  };
11103
11114
 
@@ -11134,6 +11145,9 @@
11134
11145
  case 5:
11135
11146
  message.executionMode = reader.int32();
11136
11147
  break;
11148
+ case 6:
11149
+ message.isOriginalSubNodeInterface = $root.google.protobuf.BoolValue.decode(reader, reader.uint32());
11150
+ break;
11137
11151
  default:
11138
11152
  reader.skipType(tag & 7);
11139
11153
  break;
@@ -11184,6 +11198,11 @@
11184
11198
  case 1:
11185
11199
  break;
11186
11200
  }
11201
+ if (message.isOriginalSubNodeInterface != null && message.hasOwnProperty("isOriginalSubNodeInterface")) {
11202
+ var error = $root.google.protobuf.BoolValue.verify(message.isOriginalSubNodeInterface);
11203
+ if (error)
11204
+ return "isOriginalSubNodeInterface." + error;
11205
+ }
11187
11206
  return null;
11188
11207
  };
11189
11208
 
@@ -15302,6 +15321,7 @@
15302
15321
  * @property {Object.<string,string>|null} [tags] TaskMetadata tags
15303
15322
  * @property {string|null} [podTemplateName] TaskMetadata podTemplateName
15304
15323
  * @property {Array.<string>|null} [cacheIgnoreInputVars] TaskMetadata cacheIgnoreInputVars
15324
+ * @property {boolean|null} [isEager] TaskMetadata isEager
15305
15325
  */
15306
15326
 
15307
15327
  /**
@@ -15417,6 +15437,14 @@
15417
15437
  */
15418
15438
  TaskMetadata.prototype.cacheIgnoreInputVars = $util.emptyArray;
15419
15439
 
15440
+ /**
15441
+ * TaskMetadata isEager.
15442
+ * @member {boolean} isEager
15443
+ * @memberof flyteidl.core.TaskMetadata
15444
+ * @instance
15445
+ */
15446
+ TaskMetadata.prototype.isEager = false;
15447
+
15420
15448
  // OneOf field names bound to virtual getters and setters
15421
15449
  var $oneOfFields;
15422
15450
 
@@ -15481,6 +15509,8 @@
15481
15509
  if (message.cacheIgnoreInputVars != null && message.cacheIgnoreInputVars.length)
15482
15510
  for (var i = 0; i < message.cacheIgnoreInputVars.length; ++i)
15483
15511
  writer.uint32(/* id 13, wireType 2 =*/106).string(message.cacheIgnoreInputVars[i]);
15512
+ if (message.isEager != null && message.hasOwnProperty("isEager"))
15513
+ writer.uint32(/* id 14, wireType 0 =*/112).bool(message.isEager);
15484
15514
  return writer;
15485
15515
  };
15486
15516
 
@@ -15545,6 +15575,9 @@
15545
15575
  message.cacheIgnoreInputVars = [];
15546
15576
  message.cacheIgnoreInputVars.push(reader.string());
15547
15577
  break;
15578
+ case 14:
15579
+ message.isEager = reader.bool();
15580
+ break;
15548
15581
  default:
15549
15582
  reader.skipType(tag & 7);
15550
15583
  break;
@@ -15618,6 +15651,9 @@
15618
15651
  if (!$util.isString(message.cacheIgnoreInputVars[i]))
15619
15652
  return "cacheIgnoreInputVars: string[] expected";
15620
15653
  }
15654
+ if (message.isEager != null && message.hasOwnProperty("isEager"))
15655
+ if (typeof message.isEager !== "boolean")
15656
+ return "isEager: boolean expected";
15621
15657
  return null;
15622
15658
  };
15623
15659
 
@@ -20578,6 +20614,7 @@
20578
20614
  * @property {boolean|null} [isArray] NodeExecutionEvent isArray
20579
20615
  * @property {flyteidl.core.IIdentifier|null} [targetEntity] NodeExecutionEvent targetEntity
20580
20616
  * @property {boolean|null} [isInDynamicChain] NodeExecutionEvent isInDynamicChain
20617
+ * @property {boolean|null} [isEager] NodeExecutionEvent isEager
20581
20618
  */
20582
20619
 
20583
20620
  /**
@@ -20787,6 +20824,14 @@
20787
20824
  */
20788
20825
  NodeExecutionEvent.prototype.isInDynamicChain = false;
20789
20826
 
20827
+ /**
20828
+ * NodeExecutionEvent isEager.
20829
+ * @member {boolean} isEager
20830
+ * @memberof flyteidl.event.NodeExecutionEvent
20831
+ * @instance
20832
+ */
20833
+ NodeExecutionEvent.prototype.isEager = false;
20834
+
20790
20835
  // OneOf field names bound to virtual getters and setters
20791
20836
  var $oneOfFields;
20792
20837
 
@@ -20895,6 +20940,8 @@
20895
20940
  $root.flyteidl.core.Identifier.encode(message.targetEntity, writer.uint32(/* id 23, wireType 2 =*/186).fork()).ldelim();
20896
20941
  if (message.isInDynamicChain != null && message.hasOwnProperty("isInDynamicChain"))
20897
20942
  writer.uint32(/* id 24, wireType 0 =*/192).bool(message.isInDynamicChain);
20943
+ if (message.isEager != null && message.hasOwnProperty("isEager"))
20944
+ writer.uint32(/* id 25, wireType 0 =*/200).bool(message.isEager);
20898
20945
  return writer;
20899
20946
  };
20900
20947
 
@@ -20988,6 +21035,9 @@
20988
21035
  case 24:
20989
21036
  message.isInDynamicChain = reader.bool();
20990
21037
  break;
21038
+ case 25:
21039
+ message.isEager = reader.bool();
21040
+ break;
20991
21041
  default:
20992
21042
  reader.skipType(tag & 7);
20993
21043
  break;
@@ -21143,6 +21193,9 @@
21143
21193
  if (message.isInDynamicChain != null && message.hasOwnProperty("isInDynamicChain"))
21144
21194
  if (typeof message.isInDynamicChain !== "boolean")
21145
21195
  return "isInDynamicChain: boolean expected";
21196
+ if (message.isEager != null && message.hasOwnProperty("isEager"))
21197
+ if (typeof message.isEager !== "boolean")
21198
+ return "isEager: boolean expected";
21146
21199
  return null;
21147
21200
  };
21148
21201
 
@@ -41057,6 +41110,7 @@
41057
41110
  * @property {string|null} [specNodeId] NodeExecutionMetaData specNodeId
41058
41111
  * @property {boolean|null} [isDynamic] NodeExecutionMetaData isDynamic
41059
41112
  * @property {boolean|null} [isArray] NodeExecutionMetaData isArray
41113
+ * @property {boolean|null} [isEager] NodeExecutionMetaData isEager
41060
41114
  */
41061
41115
 
41062
41116
  /**
@@ -41114,6 +41168,14 @@
41114
41168
  */
41115
41169
  NodeExecutionMetaData.prototype.isArray = false;
41116
41170
 
41171
+ /**
41172
+ * NodeExecutionMetaData isEager.
41173
+ * @member {boolean} isEager
41174
+ * @memberof flyteidl.admin.NodeExecutionMetaData
41175
+ * @instance
41176
+ */
41177
+ NodeExecutionMetaData.prototype.isEager = false;
41178
+
41117
41179
  /**
41118
41180
  * Creates a new NodeExecutionMetaData instance using the specified properties.
41119
41181
  * @function create
@@ -41148,6 +41210,8 @@
41148
41210
  writer.uint32(/* id 4, wireType 0 =*/32).bool(message.isDynamic);
41149
41211
  if (message.isArray != null && message.hasOwnProperty("isArray"))
41150
41212
  writer.uint32(/* id 5, wireType 0 =*/40).bool(message.isArray);
41213
+ if (message.isEager != null && message.hasOwnProperty("isEager"))
41214
+ writer.uint32(/* id 6, wireType 0 =*/48).bool(message.isEager);
41151
41215
  return writer;
41152
41216
  };
41153
41217
 
@@ -41184,6 +41248,9 @@
41184
41248
  case 5:
41185
41249
  message.isArray = reader.bool();
41186
41250
  break;
41251
+ case 6:
41252
+ message.isEager = reader.bool();
41253
+ break;
41187
41254
  default:
41188
41255
  reader.skipType(tag & 7);
41189
41256
  break;
@@ -41218,6 +41285,9 @@
41218
41285
  if (message.isArray != null && message.hasOwnProperty("isArray"))
41219
41286
  if (typeof message.isArray !== "boolean")
41220
41287
  return "isArray: boolean expected";
41288
+ if (message.isEager != null && message.hasOwnProperty("isEager"))
41289
+ if (typeof message.isEager !== "boolean")
41290
+ return "isEager: boolean expected";
41221
41291
  return null;
41222
41292
  };
41223
41293
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flyteorg/flyteidl",
3
- "version": "1.13.7",
3
+ "version": "1.13.9",
4
4
  "description": "Compiled protocol buffers and gRPC service clients/servers for Flyte IDLs",
5
5
  "repository": {
6
6
  "type": "git",
@@ -118,6 +118,9 @@ message NodeExecutionMetaData {
118
118
  // Boolean flag indicating if the node is an array node. This is intended to uniquely identify
119
119
  // array nodes from other nodes which can have is_parent_node as true.
120
120
  bool is_array = 5;
121
+
122
+ // Whether this node is an eager node.
123
+ bool is_eager = 6;
121
124
  }
122
125
 
123
126
  // Request structure to retrieve a list of node execution entities.
@@ -134,6 +134,9 @@ message TaskMetadata {
134
134
 
135
135
  // cache_ignore_input_vars is the input variables that should not be included when calculating hash for cache.
136
136
  repeated string cache_ignore_input_vars = 13;
137
+ // is_eager indicates whether the task is eager or not.
138
+ // This would be used by CreateTask endpoint.
139
+ bool is_eager = 14;
137
140
  }
138
141
 
139
142
  // A Task structure that uniquely identifies a task in the system
@@ -147,6 +147,9 @@ message ArrayNode {
147
147
 
148
148
  // execution_mode determines the execution path for ArrayNode.
149
149
  ExecutionMode execution_mode = 5;
150
+
151
+ // Indicates whether the sub node's original interface was altered
152
+ google.protobuf.BoolValue is_original_sub_node_interface = 6;
150
153
  }
151
154
 
152
155
  // Defines extra information about the Node.
@@ -127,6 +127,9 @@ message NodeExecutionEvent {
127
127
  // if the relevant execution entity is was registered, or dynamic. This field indicates that the target_entity ID,
128
128
  // as well as task IDs in any corresponding Task Executions, should not be used to looked up the task in Admin's db.
129
129
  bool is_in_dynamic_chain = 24;
130
+
131
+ // Whether this node launched an eager task.
132
+ bool is_eager = 25;
130
133
  }
131
134
 
132
135
  // For Workflow Nodes we need to send information about the workflow that's launched