databricks-sdk 0.70.0__py3-none-any.whl → 0.71.0__py3-none-any.whl

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.

Potentially problematic release.


This version of databricks-sdk might be problematic. Click here for more details.

Files changed (36) hide show
  1. databricks/sdk/__init__.py +24 -24
  2. databricks/sdk/mixins/files.py +10 -10
  3. databricks/sdk/service/agentbricks.py +2 -0
  4. databricks/sdk/service/apps.py +10 -0
  5. databricks/sdk/service/billing.py +13 -3
  6. databricks/sdk/service/catalog.py +129 -46
  7. databricks/sdk/service/cleanrooms.py +11 -3
  8. databricks/sdk/service/compute.py +54 -0
  9. databricks/sdk/service/dashboards.py +10 -0
  10. databricks/sdk/service/database.py +12 -0
  11. databricks/sdk/service/dataquality.py +4 -0
  12. databricks/sdk/service/files.py +7 -72
  13. databricks/sdk/service/iam.py +26 -36
  14. databricks/sdk/service/iamv2.py +6 -0
  15. databricks/sdk/service/jobs.py +13 -116
  16. databricks/sdk/service/marketplace.py +18 -0
  17. databricks/sdk/service/ml.py +171 -17
  18. databricks/sdk/service/oauth2.py +10 -18
  19. databricks/sdk/service/pipelines.py +23 -0
  20. databricks/sdk/service/provisioning.py +9 -0
  21. databricks/sdk/service/qualitymonitorv2.py +2 -0
  22. databricks/sdk/service/serving.py +16 -21
  23. databricks/sdk/service/settings.py +43 -72
  24. databricks/sdk/service/settingsv2.py +2 -0
  25. databricks/sdk/service/sharing.py +23 -31
  26. databricks/sdk/service/sql.py +48 -24
  27. databricks/sdk/service/tags.py +2 -0
  28. databricks/sdk/service/vectorsearch.py +8 -0
  29. databricks/sdk/service/workspace.py +18 -91
  30. databricks/sdk/version.py +1 -1
  31. {databricks_sdk-0.70.0.dist-info → databricks_sdk-0.71.0.dist-info}/METADATA +1 -1
  32. {databricks_sdk-0.70.0.dist-info → databricks_sdk-0.71.0.dist-info}/RECORD +36 -36
  33. {databricks_sdk-0.70.0.dist-info → databricks_sdk-0.71.0.dist-info}/WHEEL +0 -0
  34. {databricks_sdk-0.70.0.dist-info → databricks_sdk-0.71.0.dist-info}/licenses/LICENSE +0 -0
  35. {databricks_sdk-0.70.0.dist-info → databricks_sdk-0.71.0.dist-info}/licenses/NOTICE +0 -0
  36. {databricks_sdk-0.70.0.dist-info → databricks_sdk-0.71.0.dist-info}/top_level.txt +0 -0
@@ -291,6 +291,38 @@ class CommentObject:
291
291
  )
292
292
 
293
293
 
294
+ @dataclass
295
+ class ContinuousWindow:
296
+ window_duration: str
297
+ """The duration of the continuous window (must be positive)."""
298
+
299
+ offset: Optional[str] = None
300
+ """The offset of the continuous window (must be non-positive)."""
301
+
302
+ def as_dict(self) -> dict:
303
+ """Serializes the ContinuousWindow into a dictionary suitable for use as a JSON request body."""
304
+ body = {}
305
+ if self.offset is not None:
306
+ body["offset"] = self.offset
307
+ if self.window_duration is not None:
308
+ body["window_duration"] = self.window_duration
309
+ return body
310
+
311
+ def as_shallow_dict(self) -> dict:
312
+ """Serializes the ContinuousWindow into a shallow dictionary of its immediate attributes."""
313
+ body = {}
314
+ if self.offset is not None:
315
+ body["offset"] = self.offset
316
+ if self.window_duration is not None:
317
+ body["window_duration"] = self.window_duration
318
+ return body
319
+
320
+ @classmethod
321
+ def from_dict(cls, d: Dict[str, Any]) -> ContinuousWindow:
322
+ """Deserializes the ContinuousWindow from a dictionary."""
323
+ return cls(offset=d.get("offset", None), window_duration=d.get("window_duration", None))
324
+
325
+
294
326
  @dataclass
295
327
  class CreateCommentResponse:
296
328
  comment: Optional[CommentObject] = None
@@ -2987,10 +3019,6 @@ class MaterializedFeature:
2987
3019
  feature_name: str
2988
3020
  """The full name of the feature in Unity Catalog."""
2989
3021
 
2990
- offline_store_config: OfflineStoreConfig
2991
-
2992
- online_store_config: OnlineStore
2993
-
2994
3022
  last_materialization_time: Optional[str] = None
2995
3023
  """The timestamp when the pipeline last ran and updated the materialized feature values. If the
2996
3024
  pipeline has not run yet, this field will be null."""
@@ -2998,6 +3026,10 @@ class MaterializedFeature:
2998
3026
  materialized_feature_id: Optional[str] = None
2999
3027
  """Unique identifier for the materialized feature."""
3000
3028
 
3029
+ offline_store_config: Optional[OfflineStoreConfig] = None
3030
+
3031
+ online_store_config: Optional[OnlineStore] = None
3032
+
3001
3033
  pipeline_schedule_state: Optional[MaterializedFeaturePipelineScheduleState] = None
3002
3034
  """The schedule state of the materialization pipeline."""
3003
3035
 
@@ -5114,6 +5146,38 @@ class SetTagResponse:
5114
5146
  return cls()
5115
5147
 
5116
5148
 
5149
+ @dataclass
5150
+ class SlidingWindow:
5151
+ window_duration: str
5152
+ """The duration of the sliding window."""
5153
+
5154
+ slide_duration: str
5155
+ """The slide duration (interval by which windows advance, must be positive and less than duration)."""
5156
+
5157
+ def as_dict(self) -> dict:
5158
+ """Serializes the SlidingWindow into a dictionary suitable for use as a JSON request body."""
5159
+ body = {}
5160
+ if self.slide_duration is not None:
5161
+ body["slide_duration"] = self.slide_duration
5162
+ if self.window_duration is not None:
5163
+ body["window_duration"] = self.window_duration
5164
+ return body
5165
+
5166
+ def as_shallow_dict(self) -> dict:
5167
+ """Serializes the SlidingWindow into a shallow dictionary of its immediate attributes."""
5168
+ body = {}
5169
+ if self.slide_duration is not None:
5170
+ body["slide_duration"] = self.slide_duration
5171
+ if self.window_duration is not None:
5172
+ body["window_duration"] = self.window_duration
5173
+ return body
5174
+
5175
+ @classmethod
5176
+ def from_dict(cls, d: Dict[str, Any]) -> SlidingWindow:
5177
+ """Deserializes the SlidingWindow from a dictionary."""
5178
+ return cls(slide_duration=d.get("slide_duration", None), window_duration=d.get("window_duration", None))
5179
+
5180
+
5117
5181
  class Status(Enum):
5118
5182
  """The status of the model version. Valid values are: * `PENDING_REGISTRATION`: Request to register
5119
5183
  a new model version is pending as server performs background tasks.
@@ -5161,34 +5225,42 @@ class TestRegistryWebhookResponse:
5161
5225
 
5162
5226
  @dataclass
5163
5227
  class TimeWindow:
5164
- duration: str
5165
- """The duration of the time window."""
5228
+ continuous: Optional[ContinuousWindow] = None
5166
5229
 
5167
- offset: Optional[str] = None
5168
- """The offset of the time window."""
5230
+ sliding: Optional[SlidingWindow] = None
5231
+
5232
+ tumbling: Optional[TumblingWindow] = None
5169
5233
 
5170
5234
  def as_dict(self) -> dict:
5171
5235
  """Serializes the TimeWindow into a dictionary suitable for use as a JSON request body."""
5172
5236
  body = {}
5173
- if self.duration is not None:
5174
- body["duration"] = self.duration
5175
- if self.offset is not None:
5176
- body["offset"] = self.offset
5237
+ if self.continuous:
5238
+ body["continuous"] = self.continuous.as_dict()
5239
+ if self.sliding:
5240
+ body["sliding"] = self.sliding.as_dict()
5241
+ if self.tumbling:
5242
+ body["tumbling"] = self.tumbling.as_dict()
5177
5243
  return body
5178
5244
 
5179
5245
  def as_shallow_dict(self) -> dict:
5180
5246
  """Serializes the TimeWindow into a shallow dictionary of its immediate attributes."""
5181
5247
  body = {}
5182
- if self.duration is not None:
5183
- body["duration"] = self.duration
5184
- if self.offset is not None:
5185
- body["offset"] = self.offset
5248
+ if self.continuous:
5249
+ body["continuous"] = self.continuous
5250
+ if self.sliding:
5251
+ body["sliding"] = self.sliding
5252
+ if self.tumbling:
5253
+ body["tumbling"] = self.tumbling
5186
5254
  return body
5187
5255
 
5188
5256
  @classmethod
5189
5257
  def from_dict(cls, d: Dict[str, Any]) -> TimeWindow:
5190
5258
  """Deserializes the TimeWindow from a dictionary."""
5191
- return cls(duration=d.get("duration", None), offset=d.get("offset", None))
5259
+ return cls(
5260
+ continuous=_from_dict(d, "continuous", ContinuousWindow),
5261
+ sliding=_from_dict(d, "sliding", SlidingWindow),
5262
+ tumbling=_from_dict(d, "tumbling", TumblingWindow),
5263
+ )
5192
5264
 
5193
5265
 
5194
5266
  @dataclass
@@ -5286,6 +5358,31 @@ class TransitionStageResponse:
5286
5358
  return cls(model_version_databricks=_from_dict(d, "model_version_databricks", ModelVersionDatabricks))
5287
5359
 
5288
5360
 
5361
+ @dataclass
5362
+ class TumblingWindow:
5363
+ window_duration: str
5364
+ """The duration of each tumbling window (non-overlapping, fixed-duration windows)."""
5365
+
5366
+ def as_dict(self) -> dict:
5367
+ """Serializes the TumblingWindow into a dictionary suitable for use as a JSON request body."""
5368
+ body = {}
5369
+ if self.window_duration is not None:
5370
+ body["window_duration"] = self.window_duration
5371
+ return body
5372
+
5373
+ def as_shallow_dict(self) -> dict:
5374
+ """Serializes the TumblingWindow into a shallow dictionary of its immediate attributes."""
5375
+ body = {}
5376
+ if self.window_duration is not None:
5377
+ body["window_duration"] = self.window_duration
5378
+ return body
5379
+
5380
+ @classmethod
5381
+ def from_dict(cls, d: Dict[str, Any]) -> TumblingWindow:
5382
+ """Deserializes the TumblingWindow from a dictionary."""
5383
+ return cls(window_duration=d.get("window_duration", None))
5384
+
5385
+
5289
5386
  @dataclass
5290
5387
  class UpdateCommentResponse:
5291
5388
  comment: Optional[CommentObject] = None
@@ -5478,6 +5575,7 @@ class ExperimentsAPI:
5478
5575
 
5479
5576
  :returns: :class:`CreateExperimentResponse`
5480
5577
  """
5578
+
5481
5579
  body = {}
5482
5580
  if artifact_location is not None:
5483
5581
  body["artifact_location"] = artifact_location
@@ -5520,6 +5618,7 @@ class ExperimentsAPI:
5520
5618
 
5521
5619
  :returns: :class:`CreateLoggedModelResponse`
5522
5620
  """
5621
+
5523
5622
  body = {}
5524
5623
  if experiment_id is not None:
5525
5624
  body["experiment_id"] = experiment_id
@@ -5568,6 +5667,7 @@ class ExperimentsAPI:
5568
5667
 
5569
5668
  :returns: :class:`CreateRunResponse`
5570
5669
  """
5670
+
5571
5671
  body = {}
5572
5672
  if experiment_id is not None:
5573
5673
  body["experiment_id"] = experiment_id
@@ -5596,6 +5696,7 @@ class ExperimentsAPI:
5596
5696
 
5597
5697
 
5598
5698
  """
5699
+
5599
5700
  body = {}
5600
5701
  if experiment_id is not None:
5601
5702
  body["experiment_id"] = experiment_id
@@ -5646,6 +5747,7 @@ class ExperimentsAPI:
5646
5747
 
5647
5748
 
5648
5749
  """
5750
+
5649
5751
  body = {}
5650
5752
  if run_id is not None:
5651
5753
  body["run_id"] = run_id
@@ -5674,6 +5776,7 @@ class ExperimentsAPI:
5674
5776
 
5675
5777
  :returns: :class:`DeleteRunsResponse`
5676
5778
  """
5779
+
5677
5780
  body = {}
5678
5781
  if experiment_id is not None:
5679
5782
  body["experiment_id"] = experiment_id
@@ -5700,6 +5803,7 @@ class ExperimentsAPI:
5700
5803
 
5701
5804
 
5702
5805
  """
5806
+
5703
5807
  body = {}
5704
5808
  if key is not None:
5705
5809
  body["key"] = key
@@ -5723,6 +5827,7 @@ class ExperimentsAPI:
5723
5827
 
5724
5828
  :returns: :class:`FinalizeLoggedModelResponse`
5725
5829
  """
5830
+
5726
5831
  body = {}
5727
5832
  if status is not None:
5728
5833
  body["status"] = status.value
@@ -6061,6 +6166,7 @@ class ExperimentsAPI:
6061
6166
 
6062
6167
 
6063
6168
  """
6169
+
6064
6170
  body = {}
6065
6171
  if metrics is not None:
6066
6172
  body["metrics"] = [v.as_dict() for v in metrics]
@@ -6091,6 +6197,7 @@ class ExperimentsAPI:
6091
6197
 
6092
6198
 
6093
6199
  """
6200
+
6094
6201
  body = {}
6095
6202
  if datasets is not None:
6096
6203
  body["datasets"] = [v.as_dict() for v in datasets]
@@ -6117,6 +6224,7 @@ class ExperimentsAPI:
6117
6224
 
6118
6225
 
6119
6226
  """
6227
+
6120
6228
  body = {}
6121
6229
  if params is not None:
6122
6230
  body["params"] = [v.as_dict() for v in params]
@@ -6168,6 +6276,7 @@ class ExperimentsAPI:
6168
6276
 
6169
6277
 
6170
6278
  """
6279
+
6171
6280
  body = {}
6172
6281
  if dataset_digest is not None:
6173
6282
  body["dataset_digest"] = dataset_digest
@@ -6207,6 +6316,7 @@ class ExperimentsAPI:
6207
6316
 
6208
6317
 
6209
6318
  """
6319
+
6210
6320
  body = {}
6211
6321
  if model_json is not None:
6212
6322
  body["model_json"] = model_json
@@ -6229,6 +6339,7 @@ class ExperimentsAPI:
6229
6339
 
6230
6340
 
6231
6341
  """
6342
+
6232
6343
  body = {}
6233
6344
  if models is not None:
6234
6345
  body["models"] = [v.as_dict() for v in models]
@@ -6258,6 +6369,7 @@ class ExperimentsAPI:
6258
6369
 
6259
6370
 
6260
6371
  """
6372
+
6261
6373
  body = {}
6262
6374
  if key is not None:
6263
6375
  body["key"] = key
@@ -6286,6 +6398,7 @@ class ExperimentsAPI:
6286
6398
 
6287
6399
 
6288
6400
  """
6401
+
6289
6402
  body = {}
6290
6403
  if experiment_id is not None:
6291
6404
  body["experiment_id"] = experiment_id
@@ -6306,6 +6419,7 @@ class ExperimentsAPI:
6306
6419
 
6307
6420
 
6308
6421
  """
6422
+
6309
6423
  body = {}
6310
6424
  if run_id is not None:
6311
6425
  body["run_id"] = run_id
@@ -6334,6 +6448,7 @@ class ExperimentsAPI:
6334
6448
 
6335
6449
  :returns: :class:`RestoreRunsResponse`
6336
6450
  """
6451
+
6337
6452
  body = {}
6338
6453
  if experiment_id is not None:
6339
6454
  body["experiment_id"] = experiment_id
@@ -6375,6 +6490,7 @@ class ExperimentsAPI:
6375
6490
 
6376
6491
  :returns: Iterator over :class:`Experiment`
6377
6492
  """
6493
+
6378
6494
  body = {}
6379
6495
  if filter is not None:
6380
6496
  body["filter"] = filter
@@ -6434,6 +6550,7 @@ class ExperimentsAPI:
6434
6550
 
6435
6551
  :returns: :class:`SearchLoggedModelsResponse`
6436
6552
  """
6553
+
6437
6554
  body = {}
6438
6555
  if datasets is not None:
6439
6556
  body["datasets"] = [v.as_dict() for v in datasets]
@@ -6497,6 +6614,7 @@ class ExperimentsAPI:
6497
6614
 
6498
6615
  :returns: Iterator over :class:`Run`
6499
6616
  """
6617
+
6500
6618
  body = {}
6501
6619
  if experiment_ids is not None:
6502
6620
  body["experiment_ids"] = [v for v in experiment_ids]
@@ -6536,6 +6654,7 @@ class ExperimentsAPI:
6536
6654
 
6537
6655
 
6538
6656
  """
6657
+
6539
6658
  body = {}
6540
6659
  if experiment_id is not None:
6541
6660
  body["experiment_id"] = experiment_id
@@ -6560,6 +6679,7 @@ class ExperimentsAPI:
6560
6679
 
6561
6680
 
6562
6681
  """
6682
+
6563
6683
  body = {}
6564
6684
  if tags is not None:
6565
6685
  body["tags"] = [v.as_dict() for v in tags]
@@ -6582,6 +6702,7 @@ class ExperimentsAPI:
6582
6702
 
6583
6703
  :returns: :class:`ExperimentPermissions`
6584
6704
  """
6705
+
6585
6706
  body = {}
6586
6707
  if access_control_list is not None:
6587
6708
  body["access_control_list"] = [v.as_dict() for v in access_control_list]
@@ -6608,6 +6729,7 @@ class ExperimentsAPI:
6608
6729
 
6609
6730
 
6610
6731
  """
6732
+
6611
6733
  body = {}
6612
6734
  if key is not None:
6613
6735
  body["key"] = key
@@ -6634,6 +6756,7 @@ class ExperimentsAPI:
6634
6756
 
6635
6757
 
6636
6758
  """
6759
+
6637
6760
  body = {}
6638
6761
  if experiment_id is not None:
6639
6762
  body["experiment_id"] = experiment_id
@@ -6657,6 +6780,7 @@ class ExperimentsAPI:
6657
6780
 
6658
6781
  :returns: :class:`ExperimentPermissions`
6659
6782
  """
6783
+
6660
6784
  body = {}
6661
6785
  if access_control_list is not None:
6662
6786
  body["access_control_list"] = [v.as_dict() for v in access_control_list]
@@ -6693,6 +6817,7 @@ class ExperimentsAPI:
6693
6817
 
6694
6818
  :returns: :class:`UpdateRunResponse`
6695
6819
  """
6820
+
6696
6821
  body = {}
6697
6822
  if end_time is not None:
6698
6823
  body["end_time"] = end_time
@@ -6727,6 +6852,7 @@ class FeatureEngineeringAPI:
6727
6852
 
6728
6853
  :returns: :class:`Feature`
6729
6854
  """
6855
+
6730
6856
  body = feature.as_dict()
6731
6857
  headers = {
6732
6858
  "Accept": "application/json",
@@ -6744,6 +6870,7 @@ class FeatureEngineeringAPI:
6744
6870
 
6745
6871
  :returns: :class:`MaterializedFeature`
6746
6872
  """
6873
+
6747
6874
  body = materialized_feature.as_dict()
6748
6875
  headers = {
6749
6876
  "Accept": "application/json",
@@ -6899,6 +7026,7 @@ class FeatureEngineeringAPI:
6899
7026
 
6900
7027
  :returns: :class:`Feature`
6901
7028
  """
7029
+
6902
7030
  body = feature.as_dict()
6903
7031
  query = {}
6904
7032
  if update_mask is not None:
@@ -6928,6 +7056,7 @@ class FeatureEngineeringAPI:
6928
7056
 
6929
7057
  :returns: :class:`MaterializedFeature`
6930
7058
  """
7059
+
6931
7060
  body = materialized_feature.as_dict()
6932
7061
  query = {}
6933
7062
  if update_mask is not None:
@@ -6966,6 +7095,7 @@ class FeatureStoreAPI:
6966
7095
 
6967
7096
  :returns: :class:`OnlineStore`
6968
7097
  """
7098
+
6969
7099
  body = online_store.as_dict()
6970
7100
  headers = {
6971
7101
  "Accept": "application/json",
@@ -7047,6 +7177,7 @@ class FeatureStoreAPI:
7047
7177
 
7048
7178
  :returns: :class:`PublishTableResponse`
7049
7179
  """
7180
+
7050
7181
  body = {}
7051
7182
  if publish_spec is not None:
7052
7183
  body["publish_spec"] = publish_spec.as_dict()
@@ -7072,6 +7203,7 @@ class FeatureStoreAPI:
7072
7203
 
7073
7204
  :returns: :class:`OnlineStore`
7074
7205
  """
7206
+
7075
7207
  body = online_store.as_dict()
7076
7208
  query = {}
7077
7209
  if update_mask is not None:
@@ -7204,6 +7336,7 @@ class ForecastingAPI:
7204
7336
  Long-running operation waiter for :class:`ForecastingExperiment`.
7205
7337
  See :method:wait_get_experiment_forecasting_succeeded for more details.
7206
7338
  """
7339
+
7207
7340
  body = {}
7208
7341
  if custom_weights_column is not None:
7209
7342
  body["custom_weights_column"] = custom_weights_column
@@ -7326,6 +7459,7 @@ class MaterializedFeaturesAPI:
7326
7459
 
7327
7460
  :returns: :class:`FeatureTag`
7328
7461
  """
7462
+
7329
7463
  body = feature_tag.as_dict()
7330
7464
  headers = {
7331
7465
  "Accept": "application/json",
@@ -7464,6 +7598,7 @@ class MaterializedFeaturesAPI:
7464
7598
 
7465
7599
  :returns: :class:`FeatureTag`
7466
7600
  """
7601
+
7467
7602
  body = feature_tag.as_dict()
7468
7603
  query = {}
7469
7604
  if update_mask is not None:
@@ -7521,6 +7656,7 @@ class ModelRegistryAPI:
7521
7656
 
7522
7657
  :returns: :class:`ApproveTransitionRequestResponse`
7523
7658
  """
7659
+
7524
7660
  body = {}
7525
7661
  if archive_existing_versions is not None:
7526
7662
  body["archive_existing_versions"] = archive_existing_versions
@@ -7553,6 +7689,7 @@ class ModelRegistryAPI:
7553
7689
 
7554
7690
  :returns: :class:`CreateCommentResponse`
7555
7691
  """
7692
+
7556
7693
  body = {}
7557
7694
  if comment is not None:
7558
7695
  body["comment"] = comment
@@ -7583,6 +7720,7 @@ class ModelRegistryAPI:
7583
7720
 
7584
7721
  :returns: :class:`CreateModelResponse`
7585
7722
  """
7723
+
7586
7724
  body = {}
7587
7725
  if description is not None:
7588
7726
  body["description"] = description
@@ -7627,6 +7765,7 @@ class ModelRegistryAPI:
7627
7765
 
7628
7766
  :returns: :class:`CreateModelVersionResponse`
7629
7767
  """
7768
+
7630
7769
  body = {}
7631
7770
  if description is not None:
7632
7771
  body["description"] = description
@@ -7672,6 +7811,7 @@ class ModelRegistryAPI:
7672
7811
 
7673
7812
  :returns: :class:`CreateTransitionRequestResponse`
7674
7813
  """
7814
+
7675
7815
  body = {}
7676
7816
  if comment is not None:
7677
7817
  body["comment"] = comment
@@ -7750,6 +7890,7 @@ class ModelRegistryAPI:
7750
7890
 
7751
7891
  :returns: :class:`CreateWebhookResponse`
7752
7892
  """
7893
+
7753
7894
  body = {}
7754
7895
  if description is not None:
7755
7896
  body["description"] = description
@@ -7953,6 +8094,7 @@ class ModelRegistryAPI:
7953
8094
 
7954
8095
  :returns: Iterator over :class:`ModelVersion`
7955
8096
  """
8097
+
7956
8098
  body = {}
7957
8099
  if name is not None:
7958
8100
  body["name"] = name
@@ -8222,6 +8364,7 @@ class ModelRegistryAPI:
8222
8364
 
8223
8365
  :returns: :class:`RejectTransitionRequestResponse`
8224
8366
  """
8367
+
8225
8368
  body = {}
8226
8369
  if comment is not None:
8227
8370
  body["comment"] = comment
@@ -8249,6 +8392,7 @@ class ModelRegistryAPI:
8249
8392
 
8250
8393
  :returns: :class:`RenameModelResponse`
8251
8394
  """
8395
+
8252
8396
  body = {}
8253
8397
  if name is not None:
8254
8398
  body["name"] = name
@@ -8372,6 +8516,7 @@ class ModelRegistryAPI:
8372
8516
 
8373
8517
 
8374
8518
  """
8519
+
8375
8520
  body = {}
8376
8521
  if key is not None:
8377
8522
  body["key"] = key
@@ -8403,6 +8548,7 @@ class ModelRegistryAPI:
8403
8548
 
8404
8549
 
8405
8550
  """
8551
+
8406
8552
  body = {}
8407
8553
  if key is not None:
8408
8554
  body["key"] = key
@@ -8434,6 +8580,7 @@ class ModelRegistryAPI:
8434
8580
 
8435
8581
  :returns: :class:`RegisteredModelPermissions`
8436
8582
  """
8583
+
8437
8584
  body = {}
8438
8585
  if access_control_list is not None:
8439
8586
  body["access_control_list"] = [v.as_dict() for v in access_control_list]
@@ -8460,6 +8607,7 @@ class ModelRegistryAPI:
8460
8607
 
8461
8608
  :returns: :class:`TestRegistryWebhookResponse`
8462
8609
  """
8610
+
8463
8611
  body = {}
8464
8612
  if event is not None:
8465
8613
  body["event"] = event.value
@@ -8502,6 +8650,7 @@ class ModelRegistryAPI:
8502
8650
 
8503
8651
  :returns: :class:`TransitionStageResponse`
8504
8652
  """
8653
+
8505
8654
  body = {}
8506
8655
  if archive_existing_versions is not None:
8507
8656
  body["archive_existing_versions"] = archive_existing_versions
@@ -8533,6 +8682,7 @@ class ModelRegistryAPI:
8533
8682
 
8534
8683
  :returns: :class:`UpdateCommentResponse`
8535
8684
  """
8685
+
8536
8686
  body = {}
8537
8687
  if comment is not None:
8538
8688
  body["comment"] = comment
@@ -8556,6 +8706,7 @@ class ModelRegistryAPI:
8556
8706
 
8557
8707
  :returns: :class:`UpdateModelResponse`
8558
8708
  """
8709
+
8559
8710
  body = {}
8560
8711
  if description is not None:
8561
8712
  body["description"] = description
@@ -8583,6 +8734,7 @@ class ModelRegistryAPI:
8583
8734
 
8584
8735
  :returns: :class:`UpdateModelVersionResponse`
8585
8736
  """
8737
+
8586
8738
  body = {}
8587
8739
  if description is not None:
8588
8740
  body["description"] = description
@@ -8613,6 +8765,7 @@ class ModelRegistryAPI:
8613
8765
 
8614
8766
  :returns: :class:`RegisteredModelPermissions`
8615
8767
  """
8768
+
8616
8769
  body = {}
8617
8770
  if access_control_list is not None:
8618
8771
  body["access_control_list"] = [v.as_dict() for v in access_control_list]
@@ -8677,6 +8830,7 @@ class ModelRegistryAPI:
8677
8830
 
8678
8831
  :returns: :class:`UpdateWebhookResponse`
8679
8832
  """
8833
+
8680
8834
  body = {}
8681
8835
  if description is not None:
8682
8836
  body["description"] = description