@flyteorg/flyteidl 1.13.0 → 1.13.1-b1.dev1

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.
@@ -4513,6 +4513,9 @@ export namespace flyteidl {
4513
4513
 
4514
4514
  /** ArrayNode minSuccessRatio */
4515
4515
  minSuccessRatio?: (number|null);
4516
+
4517
+ /** ArrayNode executionMode */
4518
+ executionMode?: (flyteidl.core.ArrayNode.ExecutionMode|null);
4516
4519
  }
4517
4520
 
4518
4521
  /** Represents an ArrayNode. */
@@ -4536,6 +4539,9 @@ export namespace flyteidl {
4536
4539
  /** ArrayNode minSuccessRatio. */
4537
4540
  public minSuccessRatio: number;
4538
4541
 
4542
+ /** ArrayNode executionMode. */
4543
+ public executionMode: flyteidl.core.ArrayNode.ExecutionMode;
4544
+
4539
4545
  /** ArrayNode parallelismOption. */
4540
4546
  public parallelismOption?: "parallelism";
4541
4547
 
@@ -4575,6 +4581,15 @@ export namespace flyteidl {
4575
4581
  public static verify(message: { [k: string]: any }): (string|null);
4576
4582
  }
4577
4583
 
4584
+ namespace ArrayNode {
4585
+
4586
+ /** ExecutionMode enum. */
4587
+ enum ExecutionMode {
4588
+ MINIMAL_STATE = 0,
4589
+ FULL_STATE = 1
4590
+ }
4591
+ }
4592
+
4578
4593
  /** Properties of a NodeMetadata. */
4579
4594
  interface INodeMetadata {
4580
4595
 
@@ -17828,7 +17843,8 @@ export namespace flyteidl {
17828
17843
  enum ProjectState {
17829
17844
  ACTIVE = 0,
17830
17845
  ARCHIVED = 1,
17831
- SYSTEM_GENERATED = 2
17846
+ SYSTEM_GENERATED = 2,
17847
+ SYSTEM_ARCHIVED = 3
17832
17848
  }
17833
17849
  }
17834
17850
 
@@ -10811,6 +10811,7 @@
10811
10811
  * @property {number|null} [parallelism] ArrayNode parallelism
10812
10812
  * @property {number|null} [minSuccesses] ArrayNode minSuccesses
10813
10813
  * @property {number|null} [minSuccessRatio] ArrayNode minSuccessRatio
10814
+ * @property {flyteidl.core.ArrayNode.ExecutionMode|null} [executionMode] ArrayNode executionMode
10814
10815
  */
10815
10816
 
10816
10817
  /**
@@ -10860,6 +10861,14 @@
10860
10861
  */
10861
10862
  ArrayNode.prototype.minSuccessRatio = 0;
10862
10863
 
10864
+ /**
10865
+ * ArrayNode executionMode.
10866
+ * @member {flyteidl.core.ArrayNode.ExecutionMode} executionMode
10867
+ * @memberof flyteidl.core.ArrayNode
10868
+ * @instance
10869
+ */
10870
+ ArrayNode.prototype.executionMode = 0;
10871
+
10863
10872
  // OneOf field names bound to virtual getters and setters
10864
10873
  var $oneOfFields;
10865
10874
 
@@ -10917,6 +10926,8 @@
10917
10926
  writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.minSuccesses);
10918
10927
  if (message.minSuccessRatio != null && message.hasOwnProperty("minSuccessRatio"))
10919
10928
  writer.uint32(/* id 4, wireType 5 =*/37).float(message.minSuccessRatio);
10929
+ if (message.executionMode != null && message.hasOwnProperty("executionMode"))
10930
+ writer.uint32(/* id 5, wireType 0 =*/40).int32(message.executionMode);
10920
10931
  return writer;
10921
10932
  };
10922
10933
 
@@ -10950,6 +10961,9 @@
10950
10961
  case 4:
10951
10962
  message.minSuccessRatio = reader.float();
10952
10963
  break;
10964
+ case 5:
10965
+ message.executionMode = reader.int32();
10966
+ break;
10953
10967
  default:
10954
10968
  reader.skipType(tag & 7);
10955
10969
  break;
@@ -10992,9 +11006,31 @@
10992
11006
  if (typeof message.minSuccessRatio !== "number")
10993
11007
  return "minSuccessRatio: number expected";
10994
11008
  }
11009
+ if (message.executionMode != null && message.hasOwnProperty("executionMode"))
11010
+ switch (message.executionMode) {
11011
+ default:
11012
+ return "executionMode: enum value expected";
11013
+ case 0:
11014
+ case 1:
11015
+ break;
11016
+ }
10995
11017
  return null;
10996
11018
  };
10997
11019
 
11020
+ /**
11021
+ * ExecutionMode enum.
11022
+ * @name flyteidl.core.ArrayNode.ExecutionMode
11023
+ * @enum {string}
11024
+ * @property {number} MINIMAL_STATE=0 MINIMAL_STATE value
11025
+ * @property {number} FULL_STATE=1 FULL_STATE value
11026
+ */
11027
+ ArrayNode.ExecutionMode = (function() {
11028
+ var valuesById = {}, values = Object.create(valuesById);
11029
+ values[valuesById[0] = "MINIMAL_STATE"] = 0;
11030
+ values[valuesById[1] = "FULL_STATE"] = 1;
11031
+ return values;
11032
+ })();
11033
+
10998
11034
  return ArrayNode;
10999
11035
  })();
11000
11036
 
@@ -43144,6 +43180,7 @@
43144
43180
  case 0:
43145
43181
  case 1:
43146
43182
  case 2:
43183
+ case 3:
43147
43184
  break;
43148
43185
  }
43149
43186
  if (message.org != null && message.hasOwnProperty("org"))
@@ -43159,12 +43196,14 @@
43159
43196
  * @property {number} ACTIVE=0 ACTIVE value
43160
43197
  * @property {number} ARCHIVED=1 ARCHIVED value
43161
43198
  * @property {number} SYSTEM_GENERATED=2 SYSTEM_GENERATED value
43199
+ * @property {number} SYSTEM_ARCHIVED=3 SYSTEM_ARCHIVED value
43162
43200
  */
43163
43201
  Project.ProjectState = (function() {
43164
43202
  var valuesById = {}, values = Object.create(valuesById);
43165
43203
  values[valuesById[0] = "ACTIVE"] = 0;
43166
43204
  values[valuesById[1] = "ARCHIVED"] = 1;
43167
43205
  values[valuesById[2] = "SYSTEM_GENERATED"] = 2;
43206
+ values[valuesById[3] = "SYSTEM_ARCHIVED"] = 3;
43168
43207
  return values;
43169
43208
  })();
43170
43209
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flyteorg/flyteidl",
3
- "version": "1.13.0",
3
+ "version": "1.13.1b1.dev1+g0ef7b8400",
4
4
  "description": "Compiled protocol buffers and gRPC service clients/servers for Flyte IDLs",
5
5
  "repository": {
6
6
  "type": "git",
@@ -50,6 +50,9 @@ message Project {
50
50
 
51
51
  // System generated projects that aren't explicitly created or managed by a user.
52
52
  SYSTEM_GENERATED = 2;
53
+
54
+ // System archived projects that aren't explicitly archived by a user.
55
+ SYSTEM_ARCHIVED = 3;
53
56
  }
54
57
  ProjectState state = 6;
55
58
 
@@ -134,6 +134,19 @@ message ArrayNode {
134
134
  // to determine when an ArrayNode can be marked successful.
135
135
  float min_success_ratio = 4;
136
136
  }
137
+
138
+ enum ExecutionMode {
139
+ // Indicates the ArrayNode will store minimal state for the sub-nodes.
140
+ // This is more efficient, but only supports a subset of Flyte entities.
141
+ MINIMAL_STATE = 0;
142
+
143
+ // Indicates the ArrayNode will store full state for the sub-nodes.
144
+ // This supports a wider range of Flyte entities.
145
+ FULL_STATE = 1;
146
+ }
147
+
148
+ // execution_mode determines the execution path for ArrayNode.
149
+ ExecutionMode execution_mode = 5;
137
150
  }
138
151
 
139
152
  // Defines extra information about the Node.