@flyteorg/flyteidl 1.2.1 → 1.2.3
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 +26 -1
- package/gen/pb-js/flyteidl.js +49810 -49727
- package/package.json +1 -1
- package/protos/docs/admin/admin.rst +4 -0
- package/protos/docs/core/core.rst +1 -0
- package/protos/docs/datacatalog/datacatalog.rst +46 -0
- package/protos/flyteidl/admin/execution.proto +13 -0
- package/protos/flyteidl/admin/launch_plan.proto +5 -0
- package/protos/flyteidl/admin/matchable_resource.proto +5 -0
- package/protos/flyteidl/core/catalog.proto +2 -0
- package/protos/flyteidl/datacatalog/datacatalog.proto +29 -0
package/package.json
CHANGED
|
@@ -1084,6 +1084,7 @@ Request to relaunch the referenced execution.
|
|
|
1084
1084
|
|
|
1085
1085
|
"id", ":ref:`ref_flyteidl.core.WorkflowExecutionIdentifier`", "", "Identifier of the workflow execution to relaunch. +required"
|
|
1086
1086
|
"name", ":ref:`ref_string`", "", "User provided value for the relaunched execution. If none is provided the system will generate a unique string. +optional"
|
|
1087
|
+
"overwrite_cache", ":ref:`ref_bool`", "", "Allows for all cached values of a workflow and its tasks to be overwritten for a single execution. If enabled, all calculations are performed even if cached results would be available, overwriting the stored data once execution finishes successfully."
|
|
1087
1088
|
|
|
1088
1089
|
|
|
1089
1090
|
|
|
@@ -1119,6 +1120,7 @@ of an execution as it progresses across phase changes.
|
|
|
1119
1120
|
"raw_output_data_config", ":ref:`ref_flyteidl.admin.RawOutputDataConfig`", "", "User setting to configure where to store offloaded data (i.e. Blobs, structured datasets, query data, etc.). This should be a prefix like s3://my-bucket/my-data"
|
|
1120
1121
|
"cluster_assignment", ":ref:`ref_flyteidl.admin.ClusterAssignment`", "", "Controls how to select an available cluster on which this execution should run."
|
|
1121
1122
|
"interruptible", ":ref:`ref_google.protobuf.BoolValue`", "", "Allows for the interruptible flag of a workflow to be overwritten for a single execution. Omitting this field uses the workflow's value as a default. As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper around the bool field."
|
|
1123
|
+
"overwrite_cache", ":ref:`ref_bool`", "", "Allows for all cached values of a workflow and its tasks to be overwritten for a single execution. If enabled, all calculations are performed even if cached results would be available, overwriting the stored data once execution finishes successfully."
|
|
1122
1124
|
|
|
1123
1125
|
|
|
1124
1126
|
|
|
@@ -1655,6 +1657,7 @@ User-provided launch plan definition and configuration values.
|
|
|
1655
1657
|
"raw_output_data_config", ":ref:`ref_flyteidl.admin.RawOutputDataConfig`", "", "Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.)."
|
|
1656
1658
|
"max_parallelism", ":ref:`ref_int32`", "", "Controls the maximum number of tasknodes that can be run in parallel for the entire workflow. This is useful to achieve fairness. Note: MapTasks are regarded as one unit, and parallelism/concurrency of MapTasks is independent from this."
|
|
1657
1659
|
"interruptible", ":ref:`ref_google.protobuf.BoolValue`", "", "Allows for the interruptible flag of a workflow to be overwritten for a single execution. Omitting this field uses the workflow's value as a default. As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper around the bool field."
|
|
1660
|
+
"overwrite_cache", ":ref:`ref_bool`", "", "Allows for all cached values of a workflow and its tasks to be overwritten for a single execution. If enabled, all calculations are performed even if cached results would be available, overwriting the stored data once execution finishes successfully."
|
|
1658
1661
|
|
|
1659
1662
|
|
|
1660
1663
|
|
|
@@ -2042,6 +2045,7 @@ Adds defaults for customizable workflow-execution specifications and overrides.
|
|
|
2042
2045
|
"labels", ":ref:`ref_flyteidl.admin.Labels`", "", "Custom labels to be applied to a triggered execution resource."
|
|
2043
2046
|
"annotations", ":ref:`ref_flyteidl.admin.Annotations`", "", "Custom annotations to be applied to a triggered execution resource."
|
|
2044
2047
|
"interruptible", ":ref:`ref_google.protobuf.BoolValue`", "", "Allows for the interruptible flag of a workflow to be overwritten for a single execution. Omitting this field uses the workflow's value as a default. As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper around the bool field."
|
|
2048
|
+
"overwrite_cache", ":ref:`ref_bool`", "", "Allows for all cached values of a workflow and its tasks to be overwritten for a single execution. If enabled, all calculations are performed even if cached results would be available, overwriting the stored data once execution finishes successfully."
|
|
2045
2049
|
|
|
2046
2050
|
|
|
2047
2051
|
|
|
@@ -94,6 +94,7 @@ Indicates the status of CatalogCaching. The reason why this is not embedded in T
|
|
|
94
94
|
"CACHE_POPULATED", "3", "used to indicate that the resultant artifact was added to the cache"
|
|
95
95
|
"CACHE_LOOKUP_FAILURE", "4", "Used to indicate that cache lookup failed because of an error"
|
|
96
96
|
"CACHE_PUT_FAILURE", "5", "Used to indicate that cache lookup failed because of an error"
|
|
97
|
+
"CACHE_SKIPPED", "6", "Used to indicate the cache lookup was skipped"
|
|
97
98
|
|
|
98
99
|
|
|
99
100
|
|
|
@@ -790,6 +790,51 @@ Tag properties we can filter by
|
|
|
790
790
|
|
|
791
791
|
|
|
792
792
|
|
|
793
|
+
|
|
794
|
+
.. _ref_datacatalog.UpdateArtifactRequest:
|
|
795
|
+
|
|
796
|
+
UpdateArtifactRequest
|
|
797
|
+
------------------------------------------------------------------
|
|
798
|
+
|
|
799
|
+
Request message for updating an Artifact and overwriting its associated ArtifactData.
|
|
800
|
+
|
|
801
|
+
|
|
802
|
+
|
|
803
|
+
.. csv-table:: UpdateArtifactRequest type fields
|
|
804
|
+
:header: "Field", "Type", "Label", "Description"
|
|
805
|
+
:widths: auto
|
|
806
|
+
|
|
807
|
+
"dataset", ":ref:`ref_datacatalog.DatasetID`", "", "ID of dataset the artifact is associated with"
|
|
808
|
+
"artifact_id", ":ref:`ref_string`", "", ""
|
|
809
|
+
"tag_name", ":ref:`ref_string`", "", ""
|
|
810
|
+
"data", ":ref:`ref_datacatalog.ArtifactData`", "repeated", "List of data to overwrite stored artifact data with. Must contain ALL data for updated Artifact as any missing ArtifactData entries will be removed from the underlying blob storage and database."
|
|
811
|
+
|
|
812
|
+
|
|
813
|
+
|
|
814
|
+
|
|
815
|
+
|
|
816
|
+
|
|
817
|
+
|
|
818
|
+
.. _ref_datacatalog.UpdateArtifactResponse:
|
|
819
|
+
|
|
820
|
+
UpdateArtifactResponse
|
|
821
|
+
------------------------------------------------------------------
|
|
822
|
+
|
|
823
|
+
Response message for updating an Artifact.
|
|
824
|
+
|
|
825
|
+
|
|
826
|
+
|
|
827
|
+
.. csv-table:: UpdateArtifactResponse type fields
|
|
828
|
+
:header: "Field", "Type", "Label", "Description"
|
|
829
|
+
:widths: auto
|
|
830
|
+
|
|
831
|
+
"artifact_id", ":ref:`ref_string`", "", "The unique ID of the artifact updated"
|
|
832
|
+
|
|
833
|
+
|
|
834
|
+
|
|
835
|
+
|
|
836
|
+
|
|
837
|
+
|
|
793
838
|
..
|
|
794
839
|
end messages
|
|
795
840
|
|
|
@@ -869,6 +914,7 @@ Artifacts are associated with a Dataset, and can be tagged for retrieval.
|
|
|
869
914
|
"AddTag", ":ref:`ref_datacatalog.AddTagRequest`", ":ref:`ref_datacatalog.AddTagResponse`", "Associate a tag with an artifact. Tags are unique within a Dataset."
|
|
870
915
|
"ListArtifacts", ":ref:`ref_datacatalog.ListArtifactsRequest`", ":ref:`ref_datacatalog.ListArtifactsResponse`", "Return a paginated list of artifacts"
|
|
871
916
|
"ListDatasets", ":ref:`ref_datacatalog.ListDatasetsRequest`", ":ref:`ref_datacatalog.ListDatasetsResponse`", "Return a paginated list of datasets"
|
|
917
|
+
"UpdateArtifact", ":ref:`ref_datacatalog.UpdateArtifactRequest`", ":ref:`ref_datacatalog.UpdateArtifactResponse`", "Updates an existing artifact, overwriting the stored artifact data in the underlying blob storage."
|
|
872
918
|
"GetOrExtendReservation", ":ref:`ref_datacatalog.GetOrExtendReservationRequest`", ":ref:`ref_datacatalog.GetOrExtendReservationResponse`", "Attempts to get or extend a reservation for the corresponding artifact. If one already exists (ie. another entity owns the reservation) then that reservation is retrieved. Once you acquire a reservation, you need to periodically extend the reservation with an identical call. If the reservation is not extended before the defined expiration, it may be acquired by another task. Note: We may have multiple concurrent tasks with the same signature and the same input that try to populate the same artifact at the same time. Thus with reservation, only one task can run at a time, until the reservation expires. Note: If task A does not extend the reservation in time and the reservation expires, another task B may take over the reservation, resulting in two tasks A and B running in parallel. So a third task C may get the Artifact from A or B, whichever writes last."
|
|
873
919
|
"ReleaseReservation", ":ref:`ref_datacatalog.ReleaseReservationRequest`", ":ref:`ref_datacatalog.ReleaseReservationResponse`", "Release the reservation when the task holding the spot fails so that the other tasks can grab the spot."
|
|
874
920
|
|
|
@@ -45,10 +45,18 @@ message ExecutionRelaunchRequest {
|
|
|
45
45
|
// +required
|
|
46
46
|
core.WorkflowExecutionIdentifier id = 1;
|
|
47
47
|
|
|
48
|
+
// Deprecated field, do not use.
|
|
49
|
+
reserved 2;
|
|
50
|
+
|
|
48
51
|
// User provided value for the relaunched execution.
|
|
49
52
|
// If none is provided the system will generate a unique string.
|
|
50
53
|
// +optional
|
|
51
54
|
string name = 3;
|
|
55
|
+
|
|
56
|
+
// Allows for all cached values of a workflow and its tasks to be overwritten for a single execution.
|
|
57
|
+
// If enabled, all calculations are performed even if cached results would be available, overwriting the stored
|
|
58
|
+
// data once execution finishes successfully.
|
|
59
|
+
bool overwrite_cache = 4;
|
|
52
60
|
}
|
|
53
61
|
|
|
54
62
|
// Request to recover the referenced execution.
|
|
@@ -296,6 +304,11 @@ message ExecutionSpec {
|
|
|
296
304
|
// As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
|
|
297
305
|
// around the bool field.
|
|
298
306
|
google.protobuf.BoolValue interruptible = 21;
|
|
307
|
+
|
|
308
|
+
// Allows for all cached values of a workflow and its tasks to be overwritten for a single execution.
|
|
309
|
+
// If enabled, all calculations are performed even if cached results would be available, overwriting the stored
|
|
310
|
+
// data once execution finishes successfully.
|
|
311
|
+
bool overwrite_cache = 22;
|
|
299
312
|
}
|
|
300
313
|
|
|
301
314
|
// Request to terminate an in-progress execution. This action is irreversible.
|
|
@@ -125,6 +125,11 @@ message LaunchPlanSpec {
|
|
|
125
125
|
// As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
|
|
126
126
|
// around the bool field.
|
|
127
127
|
google.protobuf.BoolValue interruptible = 19;
|
|
128
|
+
|
|
129
|
+
// Allows for all cached values of a workflow and its tasks to be overwritten for a single execution.
|
|
130
|
+
// If enabled, all calculations are performed even if cached results would be available, overwriting the stored
|
|
131
|
+
// data once execution finishes successfully.
|
|
132
|
+
bool overwrite_cache = 20;
|
|
128
133
|
}
|
|
129
134
|
|
|
130
135
|
// Values computed by the flyte platform after launch plan registration.
|
|
@@ -123,6 +123,11 @@ message WorkflowExecutionConfig {
|
|
|
123
123
|
// As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper
|
|
124
124
|
// around the bool field.
|
|
125
125
|
google.protobuf.BoolValue interruptible = 6;
|
|
126
|
+
|
|
127
|
+
// Allows for all cached values of a workflow and its tasks to be overwritten for a single execution.
|
|
128
|
+
// If enabled, all calculations are performed even if cached results would be available, overwriting the stored
|
|
129
|
+
// data once execution finishes successfully.
|
|
130
|
+
bool overwrite_cache = 7;
|
|
126
131
|
}
|
|
127
132
|
|
|
128
133
|
// Generic container for encapsulating all types of the above attributes messages.
|
|
@@ -20,6 +20,8 @@ enum CatalogCacheStatus {
|
|
|
20
20
|
CACHE_LOOKUP_FAILURE = 4;
|
|
21
21
|
// Used to indicate that cache lookup failed because of an error
|
|
22
22
|
CACHE_PUT_FAILURE = 5;
|
|
23
|
+
// Used to indicate the cache lookup was skipped
|
|
24
|
+
CACHE_SKIPPED = 6;
|
|
23
25
|
};
|
|
24
26
|
|
|
25
27
|
message CatalogArtifactTag {
|
|
@@ -37,6 +37,9 @@ service DataCatalog {
|
|
|
37
37
|
// Return a paginated list of datasets
|
|
38
38
|
rpc ListDatasets (ListDatasetsRequest) returns (ListDatasetsResponse);
|
|
39
39
|
|
|
40
|
+
// Updates an existing artifact, overwriting the stored artifact data in the underlying blob storage.
|
|
41
|
+
rpc UpdateArtifact (UpdateArtifactRequest) returns (UpdateArtifactResponse);
|
|
42
|
+
|
|
40
43
|
// Attempts to get or extend a reservation for the corresponding artifact. If one already exists
|
|
41
44
|
// (ie. another entity owns the reservation) then that reservation is retrieved.
|
|
42
45
|
// Once you acquire a reservation, you need to periodically extend the reservation with an
|
|
@@ -170,6 +173,32 @@ message ListDatasetsResponse {
|
|
|
170
173
|
string next_token = 2;
|
|
171
174
|
}
|
|
172
175
|
|
|
176
|
+
/*
|
|
177
|
+
* Request message for updating an Artifact and overwriting its associated ArtifactData.
|
|
178
|
+
*/
|
|
179
|
+
message UpdateArtifactRequest {
|
|
180
|
+
// ID of dataset the artifact is associated with
|
|
181
|
+
DatasetID dataset = 1;
|
|
182
|
+
|
|
183
|
+
// Either ID of artifact or name of tag to retrieve existing artifact from
|
|
184
|
+
oneof query_handle {
|
|
185
|
+
string artifact_id = 2;
|
|
186
|
+
string tag_name = 3;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
// List of data to overwrite stored artifact data with. Must contain ALL data for updated Artifact as any missing
|
|
190
|
+
// ArtifactData entries will be removed from the underlying blob storage and database.
|
|
191
|
+
repeated ArtifactData data = 4;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
/*
|
|
195
|
+
* Response message for updating an Artifact.
|
|
196
|
+
*/
|
|
197
|
+
message UpdateArtifactResponse {
|
|
198
|
+
// The unique ID of the artifact updated
|
|
199
|
+
string artifact_id = 1;
|
|
200
|
+
}
|
|
201
|
+
|
|
173
202
|
/*
|
|
174
203
|
* ReservationID message that is composed of several string fields.
|
|
175
204
|
*/
|