@flyteorg/flyteidl 1.13.7 → 1.13.8

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.
@@ -6401,6 +6401,9 @@ export namespace flyteidl {
6401
6401
 
6402
6402
  /** TaskMetadata cacheIgnoreInputVars */
6403
6403
  cacheIgnoreInputVars?: (string[]|null);
6404
+
6405
+ /** TaskMetadata isEager */
6406
+ isEager?: (boolean|null);
6404
6407
  }
6405
6408
 
6406
6409
  /** Represents a TaskMetadata. */
@@ -6448,6 +6451,9 @@ export namespace flyteidl {
6448
6451
  /** TaskMetadata cacheIgnoreInputVars. */
6449
6452
  public cacheIgnoreInputVars: string[];
6450
6453
 
6454
+ /** TaskMetadata isEager. */
6455
+ public isEager: boolean;
6456
+
6451
6457
  /** TaskMetadata interruptibleValue. */
6452
6458
  public interruptibleValue?: "interruptible";
6453
6459
 
@@ -8513,6 +8519,9 @@ export namespace flyteidl {
8513
8519
 
8514
8520
  /** NodeExecutionEvent isInDynamicChain */
8515
8521
  isInDynamicChain?: (boolean|null);
8522
+
8523
+ /** NodeExecutionEvent isEager */
8524
+ isEager?: (boolean|null);
8516
8525
  }
8517
8526
 
8518
8527
  /** Represents a NodeExecutionEvent. */
@@ -8596,6 +8605,9 @@ export namespace flyteidl {
8596
8605
  /** NodeExecutionEvent isInDynamicChain. */
8597
8606
  public isInDynamicChain: boolean;
8598
8607
 
8608
+ /** NodeExecutionEvent isEager. */
8609
+ public isEager: boolean;
8610
+
8599
8611
  /** NodeExecutionEvent inputValue. */
8600
8612
  public inputValue?: ("inputUri"|"inputData");
8601
8613
 
@@ -16958,6 +16970,9 @@ export namespace flyteidl {
16958
16970
 
16959
16971
  /** NodeExecutionMetaData isArray */
16960
16972
  isArray?: (boolean|null);
16973
+
16974
+ /** NodeExecutionMetaData isEager */
16975
+ isEager?: (boolean|null);
16961
16976
  }
16962
16977
 
16963
16978
  /** Represents a NodeExecutionMetaData. */
@@ -16984,6 +16999,9 @@ export namespace flyteidl {
16984
16999
  /** NodeExecutionMetaData isArray. */
16985
17000
  public isArray: boolean;
16986
17001
 
17002
+ /** NodeExecutionMetaData isEager. */
17003
+ public isEager: boolean;
17004
+
16987
17005
  /**
16988
17006
  * Creates a new NodeExecutionMetaData instance using the specified properties.
16989
17007
  * @param [properties] Properties to set
@@ -15302,6 +15302,7 @@
15302
15302
  * @property {Object.<string,string>|null} [tags] TaskMetadata tags
15303
15303
  * @property {string|null} [podTemplateName] TaskMetadata podTemplateName
15304
15304
  * @property {Array.<string>|null} [cacheIgnoreInputVars] TaskMetadata cacheIgnoreInputVars
15305
+ * @property {boolean|null} [isEager] TaskMetadata isEager
15305
15306
  */
15306
15307
 
15307
15308
  /**
@@ -15417,6 +15418,14 @@
15417
15418
  */
15418
15419
  TaskMetadata.prototype.cacheIgnoreInputVars = $util.emptyArray;
15419
15420
 
15421
+ /**
15422
+ * TaskMetadata isEager.
15423
+ * @member {boolean} isEager
15424
+ * @memberof flyteidl.core.TaskMetadata
15425
+ * @instance
15426
+ */
15427
+ TaskMetadata.prototype.isEager = false;
15428
+
15420
15429
  // OneOf field names bound to virtual getters and setters
15421
15430
  var $oneOfFields;
15422
15431
 
@@ -15481,6 +15490,8 @@
15481
15490
  if (message.cacheIgnoreInputVars != null && message.cacheIgnoreInputVars.length)
15482
15491
  for (var i = 0; i < message.cacheIgnoreInputVars.length; ++i)
15483
15492
  writer.uint32(/* id 13, wireType 2 =*/106).string(message.cacheIgnoreInputVars[i]);
15493
+ if (message.isEager != null && message.hasOwnProperty("isEager"))
15494
+ writer.uint32(/* id 14, wireType 0 =*/112).bool(message.isEager);
15484
15495
  return writer;
15485
15496
  };
15486
15497
 
@@ -15545,6 +15556,9 @@
15545
15556
  message.cacheIgnoreInputVars = [];
15546
15557
  message.cacheIgnoreInputVars.push(reader.string());
15547
15558
  break;
15559
+ case 14:
15560
+ message.isEager = reader.bool();
15561
+ break;
15548
15562
  default:
15549
15563
  reader.skipType(tag & 7);
15550
15564
  break;
@@ -15618,6 +15632,9 @@
15618
15632
  if (!$util.isString(message.cacheIgnoreInputVars[i]))
15619
15633
  return "cacheIgnoreInputVars: string[] expected";
15620
15634
  }
15635
+ if (message.isEager != null && message.hasOwnProperty("isEager"))
15636
+ if (typeof message.isEager !== "boolean")
15637
+ return "isEager: boolean expected";
15621
15638
  return null;
15622
15639
  };
15623
15640
 
@@ -20578,6 +20595,7 @@
20578
20595
  * @property {boolean|null} [isArray] NodeExecutionEvent isArray
20579
20596
  * @property {flyteidl.core.IIdentifier|null} [targetEntity] NodeExecutionEvent targetEntity
20580
20597
  * @property {boolean|null} [isInDynamicChain] NodeExecutionEvent isInDynamicChain
20598
+ * @property {boolean|null} [isEager] NodeExecutionEvent isEager
20581
20599
  */
20582
20600
 
20583
20601
  /**
@@ -20787,6 +20805,14 @@
20787
20805
  */
20788
20806
  NodeExecutionEvent.prototype.isInDynamicChain = false;
20789
20807
 
20808
+ /**
20809
+ * NodeExecutionEvent isEager.
20810
+ * @member {boolean} isEager
20811
+ * @memberof flyteidl.event.NodeExecutionEvent
20812
+ * @instance
20813
+ */
20814
+ NodeExecutionEvent.prototype.isEager = false;
20815
+
20790
20816
  // OneOf field names bound to virtual getters and setters
20791
20817
  var $oneOfFields;
20792
20818
 
@@ -20895,6 +20921,8 @@
20895
20921
  $root.flyteidl.core.Identifier.encode(message.targetEntity, writer.uint32(/* id 23, wireType 2 =*/186).fork()).ldelim();
20896
20922
  if (message.isInDynamicChain != null && message.hasOwnProperty("isInDynamicChain"))
20897
20923
  writer.uint32(/* id 24, wireType 0 =*/192).bool(message.isInDynamicChain);
20924
+ if (message.isEager != null && message.hasOwnProperty("isEager"))
20925
+ writer.uint32(/* id 25, wireType 0 =*/200).bool(message.isEager);
20898
20926
  return writer;
20899
20927
  };
20900
20928
 
@@ -20988,6 +21016,9 @@
20988
21016
  case 24:
20989
21017
  message.isInDynamicChain = reader.bool();
20990
21018
  break;
21019
+ case 25:
21020
+ message.isEager = reader.bool();
21021
+ break;
20991
21022
  default:
20992
21023
  reader.skipType(tag & 7);
20993
21024
  break;
@@ -21143,6 +21174,9 @@
21143
21174
  if (message.isInDynamicChain != null && message.hasOwnProperty("isInDynamicChain"))
21144
21175
  if (typeof message.isInDynamicChain !== "boolean")
21145
21176
  return "isInDynamicChain: boolean expected";
21177
+ if (message.isEager != null && message.hasOwnProperty("isEager"))
21178
+ if (typeof message.isEager !== "boolean")
21179
+ return "isEager: boolean expected";
21146
21180
  return null;
21147
21181
  };
21148
21182
 
@@ -41057,6 +41091,7 @@
41057
41091
  * @property {string|null} [specNodeId] NodeExecutionMetaData specNodeId
41058
41092
  * @property {boolean|null} [isDynamic] NodeExecutionMetaData isDynamic
41059
41093
  * @property {boolean|null} [isArray] NodeExecutionMetaData isArray
41094
+ * @property {boolean|null} [isEager] NodeExecutionMetaData isEager
41060
41095
  */
41061
41096
 
41062
41097
  /**
@@ -41114,6 +41149,14 @@
41114
41149
  */
41115
41150
  NodeExecutionMetaData.prototype.isArray = false;
41116
41151
 
41152
+ /**
41153
+ * NodeExecutionMetaData isEager.
41154
+ * @member {boolean} isEager
41155
+ * @memberof flyteidl.admin.NodeExecutionMetaData
41156
+ * @instance
41157
+ */
41158
+ NodeExecutionMetaData.prototype.isEager = false;
41159
+
41117
41160
  /**
41118
41161
  * Creates a new NodeExecutionMetaData instance using the specified properties.
41119
41162
  * @function create
@@ -41148,6 +41191,8 @@
41148
41191
  writer.uint32(/* id 4, wireType 0 =*/32).bool(message.isDynamic);
41149
41192
  if (message.isArray != null && message.hasOwnProperty("isArray"))
41150
41193
  writer.uint32(/* id 5, wireType 0 =*/40).bool(message.isArray);
41194
+ if (message.isEager != null && message.hasOwnProperty("isEager"))
41195
+ writer.uint32(/* id 6, wireType 0 =*/48).bool(message.isEager);
41151
41196
  return writer;
41152
41197
  };
41153
41198
 
@@ -41184,6 +41229,9 @@
41184
41229
  case 5:
41185
41230
  message.isArray = reader.bool();
41186
41231
  break;
41232
+ case 6:
41233
+ message.isEager = reader.bool();
41234
+ break;
41187
41235
  default:
41188
41236
  reader.skipType(tag & 7);
41189
41237
  break;
@@ -41218,6 +41266,9 @@
41218
41266
  if (message.isArray != null && message.hasOwnProperty("isArray"))
41219
41267
  if (typeof message.isArray !== "boolean")
41220
41268
  return "isArray: boolean expected";
41269
+ if (message.isEager != null && message.hasOwnProperty("isEager"))
41270
+ if (typeof message.isEager !== "boolean")
41271
+ return "isEager: boolean expected";
41221
41272
  return null;
41222
41273
  };
41223
41274
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flyteorg/flyteidl",
3
- "version": "1.13.7",
3
+ "version": "1.13.8",
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
@@ -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