@flyteorg/flyteidl 1.5.5 → 1.5.6
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.
package/gen/pb-js/flyteidl.d.ts
CHANGED
|
@@ -19626,6 +19626,9 @@ export namespace flyteidl {
|
|
|
19626
19626
|
|
|
19627
19627
|
/** GetDataResponse preSignedUrls */
|
|
19628
19628
|
preSignedUrls?: (flyteidl.service.IPreSignedURLs|null);
|
|
19629
|
+
|
|
19630
|
+
/** GetDataResponse literal */
|
|
19631
|
+
literal?: (flyteidl.core.ILiteral|null);
|
|
19629
19632
|
}
|
|
19630
19633
|
|
|
19631
19634
|
/** Represents a GetDataResponse. */
|
|
@@ -19643,8 +19646,11 @@ export namespace flyteidl {
|
|
|
19643
19646
|
/** GetDataResponse preSignedUrls. */
|
|
19644
19647
|
public preSignedUrls?: (flyteidl.service.IPreSignedURLs|null);
|
|
19645
19648
|
|
|
19649
|
+
/** GetDataResponse literal. */
|
|
19650
|
+
public literal?: (flyteidl.core.ILiteral|null);
|
|
19651
|
+
|
|
19646
19652
|
/** GetDataResponse data. */
|
|
19647
|
-
public data?: ("literalMap"|"preSignedUrls");
|
|
19653
|
+
public data?: ("literalMap"|"preSignedUrls"|"literal");
|
|
19648
19654
|
|
|
19649
19655
|
/**
|
|
19650
19656
|
* Creates a new GetDataResponse instance using the specified properties.
|
package/gen/pb-js/flyteidl.js
CHANGED
|
@@ -45831,6 +45831,7 @@
|
|
|
45831
45831
|
* @interface IGetDataResponse
|
|
45832
45832
|
* @property {flyteidl.core.ILiteralMap|null} [literalMap] GetDataResponse literalMap
|
|
45833
45833
|
* @property {flyteidl.service.IPreSignedURLs|null} [preSignedUrls] GetDataResponse preSignedUrls
|
|
45834
|
+
* @property {flyteidl.core.ILiteral|null} [literal] GetDataResponse literal
|
|
45834
45835
|
*/
|
|
45835
45836
|
|
|
45836
45837
|
/**
|
|
@@ -45864,17 +45865,25 @@
|
|
|
45864
45865
|
*/
|
|
45865
45866
|
GetDataResponse.prototype.preSignedUrls = null;
|
|
45866
45867
|
|
|
45868
|
+
/**
|
|
45869
|
+
* GetDataResponse literal.
|
|
45870
|
+
* @member {flyteidl.core.ILiteral|null|undefined} literal
|
|
45871
|
+
* @memberof flyteidl.service.GetDataResponse
|
|
45872
|
+
* @instance
|
|
45873
|
+
*/
|
|
45874
|
+
GetDataResponse.prototype.literal = null;
|
|
45875
|
+
|
|
45867
45876
|
// OneOf field names bound to virtual getters and setters
|
|
45868
45877
|
var $oneOfFields;
|
|
45869
45878
|
|
|
45870
45879
|
/**
|
|
45871
45880
|
* GetDataResponse data.
|
|
45872
|
-
* @member {"literalMap"|"preSignedUrls"|undefined} data
|
|
45881
|
+
* @member {"literalMap"|"preSignedUrls"|"literal"|undefined} data
|
|
45873
45882
|
* @memberof flyteidl.service.GetDataResponse
|
|
45874
45883
|
* @instance
|
|
45875
45884
|
*/
|
|
45876
45885
|
Object.defineProperty(GetDataResponse.prototype, "data", {
|
|
45877
|
-
get: $util.oneOfGetter($oneOfFields = ["literalMap", "preSignedUrls"]),
|
|
45886
|
+
get: $util.oneOfGetter($oneOfFields = ["literalMap", "preSignedUrls", "literal"]),
|
|
45878
45887
|
set: $util.oneOfSetter($oneOfFields)
|
|
45879
45888
|
});
|
|
45880
45889
|
|
|
@@ -45906,6 +45915,8 @@
|
|
|
45906
45915
|
$root.flyteidl.core.LiteralMap.encode(message.literalMap, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
45907
45916
|
if (message.preSignedUrls != null && message.hasOwnProperty("preSignedUrls"))
|
|
45908
45917
|
$root.flyteidl.service.PreSignedURLs.encode(message.preSignedUrls, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
45918
|
+
if (message.literal != null && message.hasOwnProperty("literal"))
|
|
45919
|
+
$root.flyteidl.core.Literal.encode(message.literal, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
|
45909
45920
|
return writer;
|
|
45910
45921
|
};
|
|
45911
45922
|
|
|
@@ -45933,6 +45944,9 @@
|
|
|
45933
45944
|
case 2:
|
|
45934
45945
|
message.preSignedUrls = $root.flyteidl.service.PreSignedURLs.decode(reader, reader.uint32());
|
|
45935
45946
|
break;
|
|
45947
|
+
case 3:
|
|
45948
|
+
message.literal = $root.flyteidl.core.Literal.decode(reader, reader.uint32());
|
|
45949
|
+
break;
|
|
45936
45950
|
default:
|
|
45937
45951
|
reader.skipType(tag & 7);
|
|
45938
45952
|
break;
|
|
@@ -45971,6 +45985,16 @@
|
|
|
45971
45985
|
return "preSignedUrls." + error;
|
|
45972
45986
|
}
|
|
45973
45987
|
}
|
|
45988
|
+
if (message.literal != null && message.hasOwnProperty("literal")) {
|
|
45989
|
+
if (properties.data === 1)
|
|
45990
|
+
return "data: multiple values";
|
|
45991
|
+
properties.data = 1;
|
|
45992
|
+
{
|
|
45993
|
+
var error = $root.flyteidl.core.Literal.verify(message.literal);
|
|
45994
|
+
if (error)
|
|
45995
|
+
return "literal." + error;
|
|
45996
|
+
}
|
|
45997
|
+
}
|
|
45974
45998
|
return null;
|
|
45975
45999
|
};
|
|
45976
46000
|
|
package/package.json
CHANGED
|
@@ -122,16 +122,21 @@ message GetDataRequest {
|
|
|
122
122
|
// backend, identifies a Flyte artifact ([i]nput, [o]utput, flyte [d]eck, etc.).
|
|
123
123
|
// e.g. flyte://v1/proj/development/execid/n2/0/i (for 0th task execution attempt input)
|
|
124
124
|
// flyte://v1/proj/development/execid/n2/i (for node execution input)
|
|
125
|
+
// flyte://v1/proj/development/execid/n2/o/o3 (the o3 output of the second node)
|
|
125
126
|
string flyte_url = 1;
|
|
126
127
|
}
|
|
127
128
|
|
|
128
129
|
message GetDataResponse {
|
|
129
130
|
oneof data {
|
|
130
131
|
// literal map data will be returned
|
|
131
|
-
core.LiteralMap literal_map
|
|
132
|
+
core.LiteralMap literal_map = 1;
|
|
132
133
|
|
|
133
134
|
// Flyte deck html will be returned as a signed url users can download
|
|
134
135
|
PreSignedURLs pre_signed_urls = 2;
|
|
136
|
+
|
|
137
|
+
// Single literal will be returned. This is returned when the user/url requests a specific output or input
|
|
138
|
+
// by name. See the o3 example above.
|
|
139
|
+
core.Literal literal = 3;
|
|
135
140
|
}
|
|
136
141
|
}
|
|
137
142
|
|