@flyteorg/flyteidl 1.1.16 → 1.1.17

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.
@@ -6428,6 +6428,9 @@ export namespace flyteidl {
6428
6428
  /** TaskNodeMetadata reservationStatus */
6429
6429
  reservationStatus?: (flyteidl.core.CatalogReservation.Status|null);
6430
6430
 
6431
+ /** TaskNodeMetadata checkpointUri */
6432
+ checkpointUri?: (string|null);
6433
+
6431
6434
  /** TaskNodeMetadata dynamicWorkflow */
6432
6435
  dynamicWorkflow?: (flyteidl.event.IDynamicWorkflowNodeMetadata|null);
6433
6436
  }
@@ -6450,6 +6453,9 @@ export namespace flyteidl {
6450
6453
  /** TaskNodeMetadata reservationStatus. */
6451
6454
  public reservationStatus: flyteidl.core.CatalogReservation.Status;
6452
6455
 
6456
+ /** TaskNodeMetadata checkpointUri. */
6457
+ public checkpointUri: string;
6458
+
6453
6459
  /** TaskNodeMetadata dynamicWorkflow. */
6454
6460
  public dynamicWorkflow?: (flyteidl.event.IDynamicWorkflowNodeMetadata|null);
6455
6461
 
@@ -12854,6 +12860,9 @@ export namespace flyteidl {
12854
12860
 
12855
12861
  /** TaskNodeMetadata catalogKey */
12856
12862
  catalogKey?: (flyteidl.core.ICatalogMetadata|null);
12863
+
12864
+ /** TaskNodeMetadata checkpointUri */
12865
+ checkpointUri?: (string|null);
12857
12866
  }
12858
12867
 
12859
12868
  /** Represents a TaskNodeMetadata. */
@@ -12871,6 +12880,9 @@ export namespace flyteidl {
12871
12880
  /** TaskNodeMetadata catalogKey. */
12872
12881
  public catalogKey?: (flyteidl.core.ICatalogMetadata|null);
12873
12882
 
12883
+ /** TaskNodeMetadata checkpointUri. */
12884
+ public checkpointUri: string;
12885
+
12874
12886
  /**
12875
12887
  * Creates a new TaskNodeMetadata instance using the specified properties.
12876
12888
  * @param [properties] Properties to set
@@ -15482,6 +15482,7 @@ export const flyteidl = $root.flyteidl = (() => {
15482
15482
  * @property {flyteidl.core.CatalogCacheStatus|null} [cacheStatus] TaskNodeMetadata cacheStatus
15483
15483
  * @property {flyteidl.core.ICatalogMetadata|null} [catalogKey] TaskNodeMetadata catalogKey
15484
15484
  * @property {flyteidl.core.CatalogReservation.Status|null} [reservationStatus] TaskNodeMetadata reservationStatus
15485
+ * @property {string|null} [checkpointUri] TaskNodeMetadata checkpointUri
15485
15486
  * @property {flyteidl.event.IDynamicWorkflowNodeMetadata|null} [dynamicWorkflow] TaskNodeMetadata dynamicWorkflow
15486
15487
  */
15487
15488
 
@@ -15524,6 +15525,14 @@ export const flyteidl = $root.flyteidl = (() => {
15524
15525
  */
15525
15526
  TaskNodeMetadata.prototype.reservationStatus = 0;
15526
15527
 
15528
+ /**
15529
+ * TaskNodeMetadata checkpointUri.
15530
+ * @member {string} checkpointUri
15531
+ * @memberof flyteidl.event.TaskNodeMetadata
15532
+ * @instance
15533
+ */
15534
+ TaskNodeMetadata.prototype.checkpointUri = "";
15535
+
15527
15536
  /**
15528
15537
  * TaskNodeMetadata dynamicWorkflow.
15529
15538
  * @member {flyteidl.event.IDynamicWorkflowNodeMetadata|null|undefined} dynamicWorkflow
@@ -15562,6 +15571,8 @@ export const flyteidl = $root.flyteidl = (() => {
15562
15571
  $root.flyteidl.core.CatalogMetadata.encode(message.catalogKey, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
15563
15572
  if (message.reservationStatus != null && message.hasOwnProperty("reservationStatus"))
15564
15573
  writer.uint32(/* id 3, wireType 0 =*/24).int32(message.reservationStatus);
15574
+ if (message.checkpointUri != null && message.hasOwnProperty("checkpointUri"))
15575
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.checkpointUri);
15565
15576
  if (message.dynamicWorkflow != null && message.hasOwnProperty("dynamicWorkflow"))
15566
15577
  $root.flyteidl.event.DynamicWorkflowNodeMetadata.encode(message.dynamicWorkflow, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim();
15567
15578
  return writer;
@@ -15594,6 +15605,9 @@ export const flyteidl = $root.flyteidl = (() => {
15594
15605
  case 3:
15595
15606
  message.reservationStatus = reader.int32();
15596
15607
  break;
15608
+ case 4:
15609
+ message.checkpointUri = reader.string();
15610
+ break;
15597
15611
  case 16:
15598
15612
  message.dynamicWorkflow = $root.flyteidl.event.DynamicWorkflowNodeMetadata.decode(reader, reader.uint32());
15599
15613
  break;
@@ -15644,6 +15658,9 @@ export const flyteidl = $root.flyteidl = (() => {
15644
15658
  case 4:
15645
15659
  break;
15646
15660
  }
15661
+ if (message.checkpointUri != null && message.hasOwnProperty("checkpointUri"))
15662
+ if (!$util.isString(message.checkpointUri))
15663
+ return "checkpointUri: string expected";
15647
15664
  if (message.dynamicWorkflow != null && message.hasOwnProperty("dynamicWorkflow")) {
15648
15665
  let error = $root.flyteidl.event.DynamicWorkflowNodeMetadata.verify(message.dynamicWorkflow);
15649
15666
  if (error)
@@ -30850,6 +30867,7 @@ export const flyteidl = $root.flyteidl = (() => {
30850
30867
  * @interface ITaskNodeMetadata
30851
30868
  * @property {flyteidl.core.CatalogCacheStatus|null} [cacheStatus] TaskNodeMetadata cacheStatus
30852
30869
  * @property {flyteidl.core.ICatalogMetadata|null} [catalogKey] TaskNodeMetadata catalogKey
30870
+ * @property {string|null} [checkpointUri] TaskNodeMetadata checkpointUri
30853
30871
  */
30854
30872
 
30855
30873
  /**
@@ -30883,6 +30901,14 @@ export const flyteidl = $root.flyteidl = (() => {
30883
30901
  */
30884
30902
  TaskNodeMetadata.prototype.catalogKey = null;
30885
30903
 
30904
+ /**
30905
+ * TaskNodeMetadata checkpointUri.
30906
+ * @member {string} checkpointUri
30907
+ * @memberof flyteidl.admin.TaskNodeMetadata
30908
+ * @instance
30909
+ */
30910
+ TaskNodeMetadata.prototype.checkpointUri = "";
30911
+
30886
30912
  /**
30887
30913
  * Creates a new TaskNodeMetadata instance using the specified properties.
30888
30914
  * @function create
@@ -30911,6 +30937,8 @@ export const flyteidl = $root.flyteidl = (() => {
30911
30937
  writer.uint32(/* id 1, wireType 0 =*/8).int32(message.cacheStatus);
30912
30938
  if (message.catalogKey != null && message.hasOwnProperty("catalogKey"))
30913
30939
  $root.flyteidl.core.CatalogMetadata.encode(message.catalogKey, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
30940
+ if (message.checkpointUri != null && message.hasOwnProperty("checkpointUri"))
30941
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.checkpointUri);
30914
30942
  return writer;
30915
30943
  };
30916
30944
 
@@ -30938,6 +30966,9 @@ export const flyteidl = $root.flyteidl = (() => {
30938
30966
  case 2:
30939
30967
  message.catalogKey = $root.flyteidl.core.CatalogMetadata.decode(reader, reader.uint32());
30940
30968
  break;
30969
+ case 4:
30970
+ message.checkpointUri = reader.string();
30971
+ break;
30941
30972
  default:
30942
30973
  reader.skipType(tag & 7);
30943
30974
  break;
@@ -30974,6 +31005,9 @@ export const flyteidl = $root.flyteidl = (() => {
30974
31005
  if (error)
30975
31006
  return "catalogKey." + error;
30976
31007
  }
31008
+ if (message.checkpointUri != null && message.hasOwnProperty("checkpointUri"))
31009
+ if (!$util.isString(message.checkpointUri))
31010
+ return "checkpointUri: string expected";
30977
31011
  return null;
30978
31012
  };
30979
31013
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flyteorg/flyteidl",
3
- "version": "1.1.16",
3
+ "version": "1.1.17",
4
4
  "description": "Compiled protocol buffers and gRPC service clients/servers for Flyte IDLs",
5
5
  "repository": {
6
6
  "type": "git",
@@ -2463,6 +2463,7 @@ Metadata for the case in which the node is a TaskNode
2463
2463
 
2464
2464
  "cache_status", ":ref:`ref_flyteidl.core.CatalogCacheStatus`", "", "Captures the status of caching for this execution."
2465
2465
  "catalog_key", ":ref:`ref_flyteidl.core.CatalogMetadata`", "", "This structure carries the catalog artifact information"
2466
+ "checkpoint_uri", ":ref:`ref_string`", "", "The latest checkpoint location"
2466
2467
 
2467
2468
 
2468
2469
 
@@ -247,6 +247,7 @@ TaskNodeMetadata
247
247
  "cache_status", ":ref:`ref_flyteidl.core.CatalogCacheStatus`", "", "Captures the status of caching for this execution."
248
248
  "catalog_key", ":ref:`ref_flyteidl.core.CatalogMetadata`", "", "This structure carries the catalog artifact information"
249
249
  "reservation_status", ":ref:`ref_flyteidl.core.CatalogReservation.Status`", "", "Captures the status of cache reservations for this execution."
250
+ "checkpoint_uri", ":ref:`ref_string`", "", "The latest checkpoint location"
250
251
  "dynamic_workflow", ":ref:`ref_flyteidl.event.DynamicWorkflowNodeMetadata`", "", "In the case this task launched a dynamic workflow we capture its structure here."
251
252
 
252
253
 
@@ -181,6 +181,8 @@ message TaskNodeMetadata {
181
181
  core.CatalogCacheStatus cache_status = 1;
182
182
  // This structure carries the catalog artifact information
183
183
  core.CatalogMetadata catalog_key = 2;
184
+ // The latest checkpoint location
185
+ string checkpoint_uri = 4;
184
186
  }
185
187
 
186
188
  // For dynamic workflow nodes we capture information about the dynamic workflow definition that gets generated.
@@ -113,6 +113,8 @@ message TaskNodeMetadata {
113
113
  core.CatalogMetadata catalog_key = 2;
114
114
  // Captures the status of cache reservations for this execution.
115
115
  core.CatalogReservation.Status reservation_status = 3;
116
+ // The latest checkpoint location
117
+ string checkpoint_uri = 4;
116
118
 
117
119
  // In the case this task launched a dynamic workflow we capture its structure here.
118
120
  DynamicWorkflowNodeMetadata dynamic_workflow = 16;