@flyteorg/flyteidl 1.3.6 → 1.3.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.
@@ -6540,6 +6540,9 @@ export namespace flyteidl {
6540
6540
  /** NodeExecutionEvent inputUri */
6541
6541
  inputUri?: (string|null);
6542
6542
 
6543
+ /** NodeExecutionEvent inputData */
6544
+ inputData?: (flyteidl.core.ILiteralMap|null);
6545
+
6543
6546
  /** NodeExecutionEvent outputUri */
6544
6547
  outputUri?: (string|null);
6545
6548
 
@@ -6607,6 +6610,9 @@ export namespace flyteidl {
6607
6610
  /** NodeExecutionEvent inputUri. */
6608
6611
  public inputUri: string;
6609
6612
 
6613
+ /** NodeExecutionEvent inputData. */
6614
+ public inputData?: (flyteidl.core.ILiteralMap|null);
6615
+
6610
6616
  /** NodeExecutionEvent outputUri. */
6611
6617
  public outputUri: string;
6612
6618
 
@@ -6649,6 +6655,9 @@ export namespace flyteidl {
6649
6655
  /** NodeExecutionEvent deckUri. */
6650
6656
  public deckUri: string;
6651
6657
 
6658
+ /** NodeExecutionEvent inputValue. */
6659
+ public inputValue?: ("inputUri"|"inputData");
6660
+
6652
6661
  /** NodeExecutionEvent outputResult. */
6653
6662
  public outputResult?: ("outputUri"|"error"|"outputData");
6654
6663
 
@@ -7005,6 +7014,9 @@ export namespace flyteidl {
7005
7014
  /** TaskExecutionEvent inputUri */
7006
7015
  inputUri?: (string|null);
7007
7016
 
7017
+ /** TaskExecutionEvent inputData */
7018
+ inputData?: (flyteidl.core.ILiteralMap|null);
7019
+
7008
7020
  /** TaskExecutionEvent outputUri */
7009
7021
  outputUri?: (string|null);
7010
7022
 
@@ -7066,6 +7078,9 @@ export namespace flyteidl {
7066
7078
  /** TaskExecutionEvent inputUri. */
7067
7079
  public inputUri: string;
7068
7080
 
7081
+ /** TaskExecutionEvent inputData. */
7082
+ public inputData?: (flyteidl.core.ILiteralMap|null);
7083
+
7069
7084
  /** TaskExecutionEvent outputUri. */
7070
7085
  public outputUri: string;
7071
7086
 
@@ -7093,6 +7108,9 @@ export namespace flyteidl {
7093
7108
  /** TaskExecutionEvent eventVersion. */
7094
7109
  public eventVersion: number;
7095
7110
 
7111
+ /** TaskExecutionEvent inputValue. */
7112
+ public inputValue?: ("inputUri"|"inputData");
7113
+
7096
7114
  /** TaskExecutionEvent outputResult. */
7097
7115
  public outputResult?: ("outputUri"|"error"|"outputData");
7098
7116
 
@@ -15682,6 +15682,7 @@
15682
15682
  * @property {flyteidl.core.NodeExecution.Phase|null} [phase] NodeExecutionEvent phase
15683
15683
  * @property {google.protobuf.ITimestamp|null} [occurredAt] NodeExecutionEvent occurredAt
15684
15684
  * @property {string|null} [inputUri] NodeExecutionEvent inputUri
15685
+ * @property {flyteidl.core.ILiteralMap|null} [inputData] NodeExecutionEvent inputData
15685
15686
  * @property {string|null} [outputUri] NodeExecutionEvent outputUri
15686
15687
  * @property {flyteidl.core.IExecutionError|null} [error] NodeExecutionEvent error
15687
15688
  * @property {flyteidl.core.ILiteralMap|null} [outputData] NodeExecutionEvent outputData
@@ -15753,6 +15754,14 @@
15753
15754
  */
15754
15755
  NodeExecutionEvent.prototype.inputUri = "";
15755
15756
 
15757
+ /**
15758
+ * NodeExecutionEvent inputData.
15759
+ * @member {flyteidl.core.ILiteralMap|null|undefined} inputData
15760
+ * @memberof flyteidl.event.NodeExecutionEvent
15761
+ * @instance
15762
+ */
15763
+ NodeExecutionEvent.prototype.inputData = null;
15764
+
15756
15765
  /**
15757
15766
  * NodeExecutionEvent outputUri.
15758
15767
  * @member {string} outputUri
@@ -15868,6 +15877,17 @@
15868
15877
  // OneOf field names bound to virtual getters and setters
15869
15878
  var $oneOfFields;
15870
15879
 
15880
+ /**
15881
+ * NodeExecutionEvent inputValue.
15882
+ * @member {"inputUri"|"inputData"|undefined} inputValue
15883
+ * @memberof flyteidl.event.NodeExecutionEvent
15884
+ * @instance
15885
+ */
15886
+ Object.defineProperty(NodeExecutionEvent.prototype, "inputValue", {
15887
+ get: $util.oneOfGetter($oneOfFields = ["inputUri", "inputData"]),
15888
+ set: $util.oneOfSetter($oneOfFields)
15889
+ });
15890
+
15871
15891
  /**
15872
15892
  * NodeExecutionEvent outputResult.
15873
15893
  * @member {"outputUri"|"error"|"outputData"|undefined} outputResult
@@ -15952,6 +15972,8 @@
15952
15972
  writer.uint32(/* id 18, wireType 0 =*/144).bool(message.isDynamic);
15953
15973
  if (message.deckUri != null && message.hasOwnProperty("deckUri"))
15954
15974
  writer.uint32(/* id 19, wireType 2 =*/154).string(message.deckUri);
15975
+ if (message.inputData != null && message.hasOwnProperty("inputData"))
15976
+ $root.flyteidl.core.LiteralMap.encode(message.inputData, writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim();
15955
15977
  return writer;
15956
15978
  };
15957
15979
 
@@ -15988,6 +16010,9 @@
15988
16010
  case 5:
15989
16011
  message.inputUri = reader.string();
15990
16012
  break;
16013
+ case 20:
16014
+ message.inputData = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32());
16015
+ break;
15991
16016
  case 6:
15992
16017
  message.outputUri = reader.string();
15993
16018
  break;
@@ -16080,9 +16105,21 @@
16080
16105
  if (error)
16081
16106
  return "occurredAt." + error;
16082
16107
  }
16083
- if (message.inputUri != null && message.hasOwnProperty("inputUri"))
16108
+ if (message.inputUri != null && message.hasOwnProperty("inputUri")) {
16109
+ properties.inputValue = 1;
16084
16110
  if (!$util.isString(message.inputUri))
16085
16111
  return "inputUri: string expected";
16112
+ }
16113
+ if (message.inputData != null && message.hasOwnProperty("inputData")) {
16114
+ if (properties.inputValue === 1)
16115
+ return "inputValue: multiple values";
16116
+ properties.inputValue = 1;
16117
+ {
16118
+ var error = $root.flyteidl.core.LiteralMap.verify(message.inputData);
16119
+ if (error)
16120
+ return "inputData." + error;
16121
+ }
16122
+ }
16086
16123
  if (message.outputUri != null && message.hasOwnProperty("outputUri")) {
16087
16124
  properties.outputResult = 1;
16088
16125
  if (!$util.isString(message.outputUri))
@@ -16842,6 +16879,7 @@
16842
16879
  * @property {Array.<flyteidl.core.ITaskLog>|null} [logs] TaskExecutionEvent logs
16843
16880
  * @property {google.protobuf.ITimestamp|null} [occurredAt] TaskExecutionEvent occurredAt
16844
16881
  * @property {string|null} [inputUri] TaskExecutionEvent inputUri
16882
+ * @property {flyteidl.core.ILiteralMap|null} [inputData] TaskExecutionEvent inputData
16845
16883
  * @property {string|null} [outputUri] TaskExecutionEvent outputUri
16846
16884
  * @property {flyteidl.core.IExecutionError|null} [error] TaskExecutionEvent error
16847
16885
  * @property {flyteidl.core.ILiteralMap|null} [outputData] TaskExecutionEvent outputData
@@ -16933,6 +16971,14 @@
16933
16971
  */
16934
16972
  TaskExecutionEvent.prototype.inputUri = "";
16935
16973
 
16974
+ /**
16975
+ * TaskExecutionEvent inputData.
16976
+ * @member {flyteidl.core.ILiteralMap|null|undefined} inputData
16977
+ * @memberof flyteidl.event.TaskExecutionEvent
16978
+ * @instance
16979
+ */
16980
+ TaskExecutionEvent.prototype.inputData = null;
16981
+
16936
16982
  /**
16937
16983
  * TaskExecutionEvent outputUri.
16938
16984
  * @member {string} outputUri
@@ -17008,6 +17054,17 @@
17008
17054
  // OneOf field names bound to virtual getters and setters
17009
17055
  var $oneOfFields;
17010
17056
 
17057
+ /**
17058
+ * TaskExecutionEvent inputValue.
17059
+ * @member {"inputUri"|"inputData"|undefined} inputValue
17060
+ * @memberof flyteidl.event.TaskExecutionEvent
17061
+ * @instance
17062
+ */
17063
+ Object.defineProperty(TaskExecutionEvent.prototype, "inputValue", {
17064
+ get: $util.oneOfGetter($oneOfFields = ["inputUri", "inputData"]),
17065
+ set: $util.oneOfSetter($oneOfFields)
17066
+ });
17067
+
17011
17068
  /**
17012
17069
  * TaskExecutionEvent outputResult.
17013
17070
  * @member {"outputUri"|"error"|"outputData"|undefined} outputResult
@@ -17078,6 +17135,8 @@
17078
17135
  $root.flyteidl.core.LiteralMap.encode(message.outputData, writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim();
17079
17136
  if (message.eventVersion != null && message.hasOwnProperty("eventVersion"))
17080
17137
  writer.uint32(/* id 18, wireType 0 =*/144).int32(message.eventVersion);
17138
+ if (message.inputData != null && message.hasOwnProperty("inputData"))
17139
+ $root.flyteidl.core.LiteralMap.encode(message.inputData, writer.uint32(/* id 19, wireType 2 =*/154).fork()).ldelim();
17081
17140
  return writer;
17082
17141
  };
17083
17142
 
@@ -17125,6 +17184,9 @@
17125
17184
  case 8:
17126
17185
  message.inputUri = reader.string();
17127
17186
  break;
17187
+ case 19:
17188
+ message.inputData = $root.flyteidl.core.LiteralMap.decode(reader, reader.uint32());
17189
+ break;
17128
17190
  case 9:
17129
17191
  message.outputUri = reader.string();
17130
17192
  break;
@@ -17216,9 +17278,21 @@
17216
17278
  if (error)
17217
17279
  return "occurredAt." + error;
17218
17280
  }
17219
- if (message.inputUri != null && message.hasOwnProperty("inputUri"))
17281
+ if (message.inputUri != null && message.hasOwnProperty("inputUri")) {
17282
+ properties.inputValue = 1;
17220
17283
  if (!$util.isString(message.inputUri))
17221
17284
  return "inputUri: string expected";
17285
+ }
17286
+ if (message.inputData != null && message.hasOwnProperty("inputData")) {
17287
+ if (properties.inputValue === 1)
17288
+ return "inputValue: multiple values";
17289
+ properties.inputValue = 1;
17290
+ {
17291
+ var error = $root.flyteidl.core.LiteralMap.verify(message.inputData);
17292
+ if (error)
17293
+ return "inputData." + error;
17294
+ }
17295
+ }
17222
17296
  if (message.outputUri != null && message.hasOwnProperty("outputUri")) {
17223
17297
  properties.outputResult = 1;
17224
17298
  if (!$util.isString(message.outputUri))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flyteorg/flyteidl",
3
- "version": "1.3.6",
3
+ "version": "1.3.8",
4
4
  "description": "Compiled protocol buffers and gRPC service clients/servers for Flyte IDLs",
5
5
  "repository": {
6
6
  "type": "git",
@@ -51,7 +51,12 @@ message NodeExecutionEvent {
51
51
  // by the executor of the node.
52
52
  google.protobuf.Timestamp occurred_at = 4;
53
53
 
54
- string input_uri = 5;
54
+ oneof input_value {
55
+ string input_uri = 5;
56
+
57
+ // Raw input data consumed by this node execution.
58
+ core.LiteralMap input_data = 20;
59
+ }
55
60
 
56
61
  oneof output_result {
57
62
  // URL to the output of the execution, it encodes all the information
@@ -165,9 +170,15 @@ message TaskExecutionEvent {
165
170
  // by the executor of the task.
166
171
  google.protobuf.Timestamp occurred_at = 7;
167
172
 
168
- // URI of the input file, it encodes all the information
169
- // including Cloud source provider. ie., s3://...
170
- string input_uri = 8;
173
+
174
+ oneof input_value {
175
+ // URI of the input file, it encodes all the information
176
+ // including Cloud source provider. ie., s3://...
177
+ string input_uri = 8;
178
+
179
+ // Raw input data consumed by this task execution.
180
+ core.LiteralMap input_data = 19;
181
+ }
171
182
 
172
183
  oneof output_result {
173
184
  // URI to the output of the execution, it will be in a format that encodes all the information