databricks-sdk 0.20.0__py3-none-any.whl → 0.21.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.
- databricks/sdk/__init__.py +21 -6
- databricks/sdk/_widgets/__init__.py +2 -2
- databricks/sdk/config.py +3 -2
- databricks/sdk/oauth.py +1 -1
- databricks/sdk/runtime/__init__.py +85 -11
- databricks/sdk/runtime/dbutils_stub.py +1 -1
- databricks/sdk/service/_internal.py +1 -1
- databricks/sdk/service/billing.py +42 -0
- databricks/sdk/service/catalog.py +245 -44
- databricks/sdk/service/compute.py +334 -13
- databricks/sdk/service/dashboards.py +14 -0
- databricks/sdk/service/files.py +154 -12
- databricks/sdk/service/iam.py +161 -0
- databricks/sdk/service/jobs.py +95 -8
- databricks/sdk/service/ml.py +350 -0
- databricks/sdk/service/oauth2.py +70 -0
- databricks/sdk/service/pipelines.py +66 -8
- databricks/sdk/service/provisioning.py +78 -36
- databricks/sdk/service/serving.py +28 -0
- databricks/sdk/service/settings.py +1292 -203
- databricks/sdk/service/sharing.py +56 -0
- databricks/sdk/service/sql.py +138 -11
- databricks/sdk/service/vectorsearch.py +95 -60
- databricks/sdk/service/workspace.py +141 -1
- databricks/sdk/version.py +1 -1
- {databricks_sdk-0.20.0.dist-info → databricks_sdk-0.21.0.dist-info}/METADATA +3 -1
- databricks_sdk-0.21.0.dist-info/RECORD +53 -0
- databricks/sdk/runtime/stub.py +0 -48
- databricks_sdk-0.20.0.dist-info/RECORD +0 -54
- {databricks_sdk-0.20.0.dist-info → databricks_sdk-0.21.0.dist-info}/LICENSE +0 -0
- {databricks_sdk-0.20.0.dist-info → databricks_sdk-0.21.0.dist-info}/NOTICE +0 -0
- {databricks_sdk-0.20.0.dist-info → databricks_sdk-0.21.0.dist-info}/WHEEL +0 -0
- {databricks_sdk-0.20.0.dist-info → databricks_sdk-0.21.0.dist-info}/top_level.txt +0 -0
databricks/sdk/service/ml.py
CHANGED
|
@@ -716,6 +716,20 @@ class DatasetInput:
|
|
|
716
716
|
return cls(dataset=_from_dict(d, 'dataset', Dataset), tags=_repeated_dict(d, 'tags', InputTag))
|
|
717
717
|
|
|
718
718
|
|
|
719
|
+
@dataclass
|
|
720
|
+
class DeleteCommentResponse:
|
|
721
|
+
|
|
722
|
+
def as_dict(self) -> dict:
|
|
723
|
+
"""Serializes the DeleteCommentResponse into a dictionary suitable for use as a JSON request body."""
|
|
724
|
+
body = {}
|
|
725
|
+
return body
|
|
726
|
+
|
|
727
|
+
@classmethod
|
|
728
|
+
def from_dict(cls, d: Dict[str, any]) -> DeleteCommentResponse:
|
|
729
|
+
"""Deserializes the DeleteCommentResponse from a dictionary."""
|
|
730
|
+
return cls()
|
|
731
|
+
|
|
732
|
+
|
|
719
733
|
@dataclass
|
|
720
734
|
class DeleteExperiment:
|
|
721
735
|
experiment_id: str
|
|
@@ -733,6 +747,76 @@ class DeleteExperiment:
|
|
|
733
747
|
return cls(experiment_id=d.get('experiment_id', None))
|
|
734
748
|
|
|
735
749
|
|
|
750
|
+
@dataclass
|
|
751
|
+
class DeleteExperimentResponse:
|
|
752
|
+
|
|
753
|
+
def as_dict(self) -> dict:
|
|
754
|
+
"""Serializes the DeleteExperimentResponse into a dictionary suitable for use as a JSON request body."""
|
|
755
|
+
body = {}
|
|
756
|
+
return body
|
|
757
|
+
|
|
758
|
+
@classmethod
|
|
759
|
+
def from_dict(cls, d: Dict[str, any]) -> DeleteExperimentResponse:
|
|
760
|
+
"""Deserializes the DeleteExperimentResponse from a dictionary."""
|
|
761
|
+
return cls()
|
|
762
|
+
|
|
763
|
+
|
|
764
|
+
@dataclass
|
|
765
|
+
class DeleteModelResponse:
|
|
766
|
+
|
|
767
|
+
def as_dict(self) -> dict:
|
|
768
|
+
"""Serializes the DeleteModelResponse into a dictionary suitable for use as a JSON request body."""
|
|
769
|
+
body = {}
|
|
770
|
+
return body
|
|
771
|
+
|
|
772
|
+
@classmethod
|
|
773
|
+
def from_dict(cls, d: Dict[str, any]) -> DeleteModelResponse:
|
|
774
|
+
"""Deserializes the DeleteModelResponse from a dictionary."""
|
|
775
|
+
return cls()
|
|
776
|
+
|
|
777
|
+
|
|
778
|
+
@dataclass
|
|
779
|
+
class DeleteModelTagResponse:
|
|
780
|
+
|
|
781
|
+
def as_dict(self) -> dict:
|
|
782
|
+
"""Serializes the DeleteModelTagResponse into a dictionary suitable for use as a JSON request body."""
|
|
783
|
+
body = {}
|
|
784
|
+
return body
|
|
785
|
+
|
|
786
|
+
@classmethod
|
|
787
|
+
def from_dict(cls, d: Dict[str, any]) -> DeleteModelTagResponse:
|
|
788
|
+
"""Deserializes the DeleteModelTagResponse from a dictionary."""
|
|
789
|
+
return cls()
|
|
790
|
+
|
|
791
|
+
|
|
792
|
+
@dataclass
|
|
793
|
+
class DeleteModelVersionResponse:
|
|
794
|
+
|
|
795
|
+
def as_dict(self) -> dict:
|
|
796
|
+
"""Serializes the DeleteModelVersionResponse into a dictionary suitable for use as a JSON request body."""
|
|
797
|
+
body = {}
|
|
798
|
+
return body
|
|
799
|
+
|
|
800
|
+
@classmethod
|
|
801
|
+
def from_dict(cls, d: Dict[str, any]) -> DeleteModelVersionResponse:
|
|
802
|
+
"""Deserializes the DeleteModelVersionResponse from a dictionary."""
|
|
803
|
+
return cls()
|
|
804
|
+
|
|
805
|
+
|
|
806
|
+
@dataclass
|
|
807
|
+
class DeleteModelVersionTagResponse:
|
|
808
|
+
|
|
809
|
+
def as_dict(self) -> dict:
|
|
810
|
+
"""Serializes the DeleteModelVersionTagResponse into a dictionary suitable for use as a JSON request body."""
|
|
811
|
+
body = {}
|
|
812
|
+
return body
|
|
813
|
+
|
|
814
|
+
@classmethod
|
|
815
|
+
def from_dict(cls, d: Dict[str, any]) -> DeleteModelVersionTagResponse:
|
|
816
|
+
"""Deserializes the DeleteModelVersionTagResponse from a dictionary."""
|
|
817
|
+
return cls()
|
|
818
|
+
|
|
819
|
+
|
|
736
820
|
@dataclass
|
|
737
821
|
class DeleteRun:
|
|
738
822
|
run_id: str
|
|
@@ -750,6 +834,20 @@ class DeleteRun:
|
|
|
750
834
|
return cls(run_id=d.get('run_id', None))
|
|
751
835
|
|
|
752
836
|
|
|
837
|
+
@dataclass
|
|
838
|
+
class DeleteRunResponse:
|
|
839
|
+
|
|
840
|
+
def as_dict(self) -> dict:
|
|
841
|
+
"""Serializes the DeleteRunResponse into a dictionary suitable for use as a JSON request body."""
|
|
842
|
+
body = {}
|
|
843
|
+
return body
|
|
844
|
+
|
|
845
|
+
@classmethod
|
|
846
|
+
def from_dict(cls, d: Dict[str, any]) -> DeleteRunResponse:
|
|
847
|
+
"""Deserializes the DeleteRunResponse from a dictionary."""
|
|
848
|
+
return cls()
|
|
849
|
+
|
|
850
|
+
|
|
753
851
|
@dataclass
|
|
754
852
|
class DeleteRuns:
|
|
755
853
|
experiment_id: str
|
|
@@ -817,6 +915,34 @@ class DeleteTag:
|
|
|
817
915
|
return cls(key=d.get('key', None), run_id=d.get('run_id', None))
|
|
818
916
|
|
|
819
917
|
|
|
918
|
+
@dataclass
|
|
919
|
+
class DeleteTagResponse:
|
|
920
|
+
|
|
921
|
+
def as_dict(self) -> dict:
|
|
922
|
+
"""Serializes the DeleteTagResponse into a dictionary suitable for use as a JSON request body."""
|
|
923
|
+
body = {}
|
|
924
|
+
return body
|
|
925
|
+
|
|
926
|
+
@classmethod
|
|
927
|
+
def from_dict(cls, d: Dict[str, any]) -> DeleteTagResponse:
|
|
928
|
+
"""Deserializes the DeleteTagResponse from a dictionary."""
|
|
929
|
+
return cls()
|
|
930
|
+
|
|
931
|
+
|
|
932
|
+
@dataclass
|
|
933
|
+
class DeleteTransitionRequestResponse:
|
|
934
|
+
|
|
935
|
+
def as_dict(self) -> dict:
|
|
936
|
+
"""Serializes the DeleteTransitionRequestResponse into a dictionary suitable for use as a JSON request body."""
|
|
937
|
+
body = {}
|
|
938
|
+
return body
|
|
939
|
+
|
|
940
|
+
@classmethod
|
|
941
|
+
def from_dict(cls, d: Dict[str, any]) -> DeleteTransitionRequestResponse:
|
|
942
|
+
"""Deserializes the DeleteTransitionRequestResponse from a dictionary."""
|
|
943
|
+
return cls()
|
|
944
|
+
|
|
945
|
+
|
|
820
946
|
class DeleteTransitionRequestStage(Enum):
|
|
821
947
|
|
|
822
948
|
ARCHIVED = 'Archived'
|
|
@@ -825,6 +951,20 @@ class DeleteTransitionRequestStage(Enum):
|
|
|
825
951
|
STAGING = 'Staging'
|
|
826
952
|
|
|
827
953
|
|
|
954
|
+
@dataclass
|
|
955
|
+
class DeleteWebhookResponse:
|
|
956
|
+
|
|
957
|
+
def as_dict(self) -> dict:
|
|
958
|
+
"""Serializes the DeleteWebhookResponse into a dictionary suitable for use as a JSON request body."""
|
|
959
|
+
body = {}
|
|
960
|
+
return body
|
|
961
|
+
|
|
962
|
+
@classmethod
|
|
963
|
+
def from_dict(cls, d: Dict[str, any]) -> DeleteWebhookResponse:
|
|
964
|
+
"""Deserializes the DeleteWebhookResponse from a dictionary."""
|
|
965
|
+
return cls()
|
|
966
|
+
|
|
967
|
+
|
|
828
968
|
@dataclass
|
|
829
969
|
class Experiment:
|
|
830
970
|
artifact_location: Optional[str] = None
|
|
@@ -1556,6 +1696,20 @@ class LogBatch:
|
|
|
1556
1696
|
tags=_repeated_dict(d, 'tags', RunTag))
|
|
1557
1697
|
|
|
1558
1698
|
|
|
1699
|
+
@dataclass
|
|
1700
|
+
class LogBatchResponse:
|
|
1701
|
+
|
|
1702
|
+
def as_dict(self) -> dict:
|
|
1703
|
+
"""Serializes the LogBatchResponse into a dictionary suitable for use as a JSON request body."""
|
|
1704
|
+
body = {}
|
|
1705
|
+
return body
|
|
1706
|
+
|
|
1707
|
+
@classmethod
|
|
1708
|
+
def from_dict(cls, d: Dict[str, any]) -> LogBatchResponse:
|
|
1709
|
+
"""Deserializes the LogBatchResponse from a dictionary."""
|
|
1710
|
+
return cls()
|
|
1711
|
+
|
|
1712
|
+
|
|
1559
1713
|
@dataclass
|
|
1560
1714
|
class LogInputs:
|
|
1561
1715
|
datasets: Optional[List[DatasetInput]] = None
|
|
@@ -1577,6 +1731,20 @@ class LogInputs:
|
|
|
1577
1731
|
return cls(datasets=_repeated_dict(d, 'datasets', DatasetInput), run_id=d.get('run_id', None))
|
|
1578
1732
|
|
|
1579
1733
|
|
|
1734
|
+
@dataclass
|
|
1735
|
+
class LogInputsResponse:
|
|
1736
|
+
|
|
1737
|
+
def as_dict(self) -> dict:
|
|
1738
|
+
"""Serializes the LogInputsResponse into a dictionary suitable for use as a JSON request body."""
|
|
1739
|
+
body = {}
|
|
1740
|
+
return body
|
|
1741
|
+
|
|
1742
|
+
@classmethod
|
|
1743
|
+
def from_dict(cls, d: Dict[str, any]) -> LogInputsResponse:
|
|
1744
|
+
"""Deserializes the LogInputsResponse from a dictionary."""
|
|
1745
|
+
return cls()
|
|
1746
|
+
|
|
1747
|
+
|
|
1580
1748
|
@dataclass
|
|
1581
1749
|
class LogMetric:
|
|
1582
1750
|
key: str
|
|
@@ -1620,6 +1788,20 @@ class LogMetric:
|
|
|
1620
1788
|
value=d.get('value', None))
|
|
1621
1789
|
|
|
1622
1790
|
|
|
1791
|
+
@dataclass
|
|
1792
|
+
class LogMetricResponse:
|
|
1793
|
+
|
|
1794
|
+
def as_dict(self) -> dict:
|
|
1795
|
+
"""Serializes the LogMetricResponse into a dictionary suitable for use as a JSON request body."""
|
|
1796
|
+
body = {}
|
|
1797
|
+
return body
|
|
1798
|
+
|
|
1799
|
+
@classmethod
|
|
1800
|
+
def from_dict(cls, d: Dict[str, any]) -> LogMetricResponse:
|
|
1801
|
+
"""Deserializes the LogMetricResponse from a dictionary."""
|
|
1802
|
+
return cls()
|
|
1803
|
+
|
|
1804
|
+
|
|
1623
1805
|
@dataclass
|
|
1624
1806
|
class LogModel:
|
|
1625
1807
|
model_json: Optional[str] = None
|
|
@@ -1641,6 +1823,20 @@ class LogModel:
|
|
|
1641
1823
|
return cls(model_json=d.get('model_json', None), run_id=d.get('run_id', None))
|
|
1642
1824
|
|
|
1643
1825
|
|
|
1826
|
+
@dataclass
|
|
1827
|
+
class LogModelResponse:
|
|
1828
|
+
|
|
1829
|
+
def as_dict(self) -> dict:
|
|
1830
|
+
"""Serializes the LogModelResponse into a dictionary suitable for use as a JSON request body."""
|
|
1831
|
+
body = {}
|
|
1832
|
+
return body
|
|
1833
|
+
|
|
1834
|
+
@classmethod
|
|
1835
|
+
def from_dict(cls, d: Dict[str, any]) -> LogModelResponse:
|
|
1836
|
+
"""Deserializes the LogModelResponse from a dictionary."""
|
|
1837
|
+
return cls()
|
|
1838
|
+
|
|
1839
|
+
|
|
1644
1840
|
@dataclass
|
|
1645
1841
|
class LogParam:
|
|
1646
1842
|
key: str
|
|
@@ -1674,6 +1870,20 @@ class LogParam:
|
|
|
1674
1870
|
value=d.get('value', None))
|
|
1675
1871
|
|
|
1676
1872
|
|
|
1873
|
+
@dataclass
|
|
1874
|
+
class LogParamResponse:
|
|
1875
|
+
|
|
1876
|
+
def as_dict(self) -> dict:
|
|
1877
|
+
"""Serializes the LogParamResponse into a dictionary suitable for use as a JSON request body."""
|
|
1878
|
+
body = {}
|
|
1879
|
+
return body
|
|
1880
|
+
|
|
1881
|
+
@classmethod
|
|
1882
|
+
def from_dict(cls, d: Dict[str, any]) -> LogParamResponse:
|
|
1883
|
+
"""Deserializes the LogParamResponse from a dictionary."""
|
|
1884
|
+
return cls()
|
|
1885
|
+
|
|
1886
|
+
|
|
1677
1887
|
@dataclass
|
|
1678
1888
|
class Metric:
|
|
1679
1889
|
key: Optional[str] = None
|
|
@@ -2481,6 +2691,20 @@ class RestoreExperiment:
|
|
|
2481
2691
|
return cls(experiment_id=d.get('experiment_id', None))
|
|
2482
2692
|
|
|
2483
2693
|
|
|
2694
|
+
@dataclass
|
|
2695
|
+
class RestoreExperimentResponse:
|
|
2696
|
+
|
|
2697
|
+
def as_dict(self) -> dict:
|
|
2698
|
+
"""Serializes the RestoreExperimentResponse into a dictionary suitable for use as a JSON request body."""
|
|
2699
|
+
body = {}
|
|
2700
|
+
return body
|
|
2701
|
+
|
|
2702
|
+
@classmethod
|
|
2703
|
+
def from_dict(cls, d: Dict[str, any]) -> RestoreExperimentResponse:
|
|
2704
|
+
"""Deserializes the RestoreExperimentResponse from a dictionary."""
|
|
2705
|
+
return cls()
|
|
2706
|
+
|
|
2707
|
+
|
|
2484
2708
|
@dataclass
|
|
2485
2709
|
class RestoreRun:
|
|
2486
2710
|
run_id: str
|
|
@@ -2498,6 +2722,20 @@ class RestoreRun:
|
|
|
2498
2722
|
return cls(run_id=d.get('run_id', None))
|
|
2499
2723
|
|
|
2500
2724
|
|
|
2725
|
+
@dataclass
|
|
2726
|
+
class RestoreRunResponse:
|
|
2727
|
+
|
|
2728
|
+
def as_dict(self) -> dict:
|
|
2729
|
+
"""Serializes the RestoreRunResponse into a dictionary suitable for use as a JSON request body."""
|
|
2730
|
+
body = {}
|
|
2731
|
+
return body
|
|
2732
|
+
|
|
2733
|
+
@classmethod
|
|
2734
|
+
def from_dict(cls, d: Dict[str, any]) -> RestoreRunResponse:
|
|
2735
|
+
"""Deserializes the RestoreRunResponse from a dictionary."""
|
|
2736
|
+
return cls()
|
|
2737
|
+
|
|
2738
|
+
|
|
2501
2739
|
@dataclass
|
|
2502
2740
|
class RestoreRuns:
|
|
2503
2741
|
experiment_id: str
|
|
@@ -2936,6 +3174,20 @@ class SetExperimentTag:
|
|
|
2936
3174
|
value=d.get('value', None))
|
|
2937
3175
|
|
|
2938
3176
|
|
|
3177
|
+
@dataclass
|
|
3178
|
+
class SetExperimentTagResponse:
|
|
3179
|
+
|
|
3180
|
+
def as_dict(self) -> dict:
|
|
3181
|
+
"""Serializes the SetExperimentTagResponse into a dictionary suitable for use as a JSON request body."""
|
|
3182
|
+
body = {}
|
|
3183
|
+
return body
|
|
3184
|
+
|
|
3185
|
+
@classmethod
|
|
3186
|
+
def from_dict(cls, d: Dict[str, any]) -> SetExperimentTagResponse:
|
|
3187
|
+
"""Deserializes the SetExperimentTagResponse from a dictionary."""
|
|
3188
|
+
return cls()
|
|
3189
|
+
|
|
3190
|
+
|
|
2939
3191
|
@dataclass
|
|
2940
3192
|
class SetModelTagRequest:
|
|
2941
3193
|
name: str
|
|
@@ -2964,6 +3216,20 @@ class SetModelTagRequest:
|
|
|
2964
3216
|
return cls(key=d.get('key', None), name=d.get('name', None), value=d.get('value', None))
|
|
2965
3217
|
|
|
2966
3218
|
|
|
3219
|
+
@dataclass
|
|
3220
|
+
class SetModelTagResponse:
|
|
3221
|
+
|
|
3222
|
+
def as_dict(self) -> dict:
|
|
3223
|
+
"""Serializes the SetModelTagResponse into a dictionary suitable for use as a JSON request body."""
|
|
3224
|
+
body = {}
|
|
3225
|
+
return body
|
|
3226
|
+
|
|
3227
|
+
@classmethod
|
|
3228
|
+
def from_dict(cls, d: Dict[str, any]) -> SetModelTagResponse:
|
|
3229
|
+
"""Deserializes the SetModelTagResponse from a dictionary."""
|
|
3230
|
+
return cls()
|
|
3231
|
+
|
|
3232
|
+
|
|
2967
3233
|
@dataclass
|
|
2968
3234
|
class SetModelVersionTagRequest:
|
|
2969
3235
|
name: str
|
|
@@ -2999,6 +3265,20 @@ class SetModelVersionTagRequest:
|
|
|
2999
3265
|
version=d.get('version', None))
|
|
3000
3266
|
|
|
3001
3267
|
|
|
3268
|
+
@dataclass
|
|
3269
|
+
class SetModelVersionTagResponse:
|
|
3270
|
+
|
|
3271
|
+
def as_dict(self) -> dict:
|
|
3272
|
+
"""Serializes the SetModelVersionTagResponse into a dictionary suitable for use as a JSON request body."""
|
|
3273
|
+
body = {}
|
|
3274
|
+
return body
|
|
3275
|
+
|
|
3276
|
+
@classmethod
|
|
3277
|
+
def from_dict(cls, d: Dict[str, any]) -> SetModelVersionTagResponse:
|
|
3278
|
+
"""Deserializes the SetModelVersionTagResponse from a dictionary."""
|
|
3279
|
+
return cls()
|
|
3280
|
+
|
|
3281
|
+
|
|
3002
3282
|
@dataclass
|
|
3003
3283
|
class SetTag:
|
|
3004
3284
|
key: str
|
|
@@ -3034,6 +3314,20 @@ class SetTag:
|
|
|
3034
3314
|
value=d.get('value', None))
|
|
3035
3315
|
|
|
3036
3316
|
|
|
3317
|
+
@dataclass
|
|
3318
|
+
class SetTagResponse:
|
|
3319
|
+
|
|
3320
|
+
def as_dict(self) -> dict:
|
|
3321
|
+
"""Serializes the SetTagResponse into a dictionary suitable for use as a JSON request body."""
|
|
3322
|
+
body = {}
|
|
3323
|
+
return body
|
|
3324
|
+
|
|
3325
|
+
@classmethod
|
|
3326
|
+
def from_dict(cls, d: Dict[str, any]) -> SetTagResponse:
|
|
3327
|
+
"""Deserializes the SetTagResponse from a dictionary."""
|
|
3328
|
+
return cls()
|
|
3329
|
+
|
|
3330
|
+
|
|
3037
3331
|
class Stage(Enum):
|
|
3038
3332
|
"""Stage of the model version. Valid values are:
|
|
3039
3333
|
|
|
@@ -3294,6 +3588,20 @@ class UpdateExperiment:
|
|
|
3294
3588
|
return cls(experiment_id=d.get('experiment_id', None), new_name=d.get('new_name', None))
|
|
3295
3589
|
|
|
3296
3590
|
|
|
3591
|
+
@dataclass
|
|
3592
|
+
class UpdateExperimentResponse:
|
|
3593
|
+
|
|
3594
|
+
def as_dict(self) -> dict:
|
|
3595
|
+
"""Serializes the UpdateExperimentResponse into a dictionary suitable for use as a JSON request body."""
|
|
3596
|
+
body = {}
|
|
3597
|
+
return body
|
|
3598
|
+
|
|
3599
|
+
@classmethod
|
|
3600
|
+
def from_dict(cls, d: Dict[str, any]) -> UpdateExperimentResponse:
|
|
3601
|
+
"""Deserializes the UpdateExperimentResponse from a dictionary."""
|
|
3602
|
+
return cls()
|
|
3603
|
+
|
|
3604
|
+
|
|
3297
3605
|
@dataclass
|
|
3298
3606
|
class UpdateModelRequest:
|
|
3299
3607
|
name: str
|
|
@@ -3315,6 +3623,20 @@ class UpdateModelRequest:
|
|
|
3315
3623
|
return cls(description=d.get('description', None), name=d.get('name', None))
|
|
3316
3624
|
|
|
3317
3625
|
|
|
3626
|
+
@dataclass
|
|
3627
|
+
class UpdateModelResponse:
|
|
3628
|
+
|
|
3629
|
+
def as_dict(self) -> dict:
|
|
3630
|
+
"""Serializes the UpdateModelResponse into a dictionary suitable for use as a JSON request body."""
|
|
3631
|
+
body = {}
|
|
3632
|
+
return body
|
|
3633
|
+
|
|
3634
|
+
@classmethod
|
|
3635
|
+
def from_dict(cls, d: Dict[str, any]) -> UpdateModelResponse:
|
|
3636
|
+
"""Deserializes the UpdateModelResponse from a dictionary."""
|
|
3637
|
+
return cls()
|
|
3638
|
+
|
|
3639
|
+
|
|
3318
3640
|
@dataclass
|
|
3319
3641
|
class UpdateModelVersionRequest:
|
|
3320
3642
|
name: str
|
|
@@ -3342,6 +3664,20 @@ class UpdateModelVersionRequest:
|
|
|
3342
3664
|
version=d.get('version', None))
|
|
3343
3665
|
|
|
3344
3666
|
|
|
3667
|
+
@dataclass
|
|
3668
|
+
class UpdateModelVersionResponse:
|
|
3669
|
+
|
|
3670
|
+
def as_dict(self) -> dict:
|
|
3671
|
+
"""Serializes the UpdateModelVersionResponse into a dictionary suitable for use as a JSON request body."""
|
|
3672
|
+
body = {}
|
|
3673
|
+
return body
|
|
3674
|
+
|
|
3675
|
+
@classmethod
|
|
3676
|
+
def from_dict(cls, d: Dict[str, any]) -> UpdateModelVersionResponse:
|
|
3677
|
+
"""Deserializes the UpdateModelVersionResponse from a dictionary."""
|
|
3678
|
+
return cls()
|
|
3679
|
+
|
|
3680
|
+
|
|
3345
3681
|
@dataclass
|
|
3346
3682
|
class UpdateRegistryWebhook:
|
|
3347
3683
|
id: str
|
|
@@ -3475,6 +3811,20 @@ class UpdateRunStatus(Enum):
|
|
|
3475
3811
|
SCHEDULED = 'SCHEDULED'
|
|
3476
3812
|
|
|
3477
3813
|
|
|
3814
|
+
@dataclass
|
|
3815
|
+
class UpdateWebhookResponse:
|
|
3816
|
+
|
|
3817
|
+
def as_dict(self) -> dict:
|
|
3818
|
+
"""Serializes the UpdateWebhookResponse into a dictionary suitable for use as a JSON request body."""
|
|
3819
|
+
body = {}
|
|
3820
|
+
return body
|
|
3821
|
+
|
|
3822
|
+
@classmethod
|
|
3823
|
+
def from_dict(cls, d: Dict[str, any]) -> UpdateWebhookResponse:
|
|
3824
|
+
"""Deserializes the UpdateWebhookResponse from a dictionary."""
|
|
3825
|
+
return cls()
|
|
3826
|
+
|
|
3827
|
+
|
|
3478
3828
|
class ExperimentsAPI:
|
|
3479
3829
|
"""Experiments are the primary unit of organization in MLflow; all MLflow runs belong to an experiment. Each
|
|
3480
3830
|
experiment lets you visualize, search, and compare runs, as well as download run artifacts or metadata for
|
databricks/sdk/service/oauth2.py
CHANGED
|
@@ -160,6 +160,48 @@ class CreateServicePrincipalSecretResponse:
|
|
|
160
160
|
update_time=d.get('update_time', None))
|
|
161
161
|
|
|
162
162
|
|
|
163
|
+
@dataclass
|
|
164
|
+
class DeleteCustomAppIntegrationOutput:
|
|
165
|
+
|
|
166
|
+
def as_dict(self) -> dict:
|
|
167
|
+
"""Serializes the DeleteCustomAppIntegrationOutput into a dictionary suitable for use as a JSON request body."""
|
|
168
|
+
body = {}
|
|
169
|
+
return body
|
|
170
|
+
|
|
171
|
+
@classmethod
|
|
172
|
+
def from_dict(cls, d: Dict[str, any]) -> DeleteCustomAppIntegrationOutput:
|
|
173
|
+
"""Deserializes the DeleteCustomAppIntegrationOutput from a dictionary."""
|
|
174
|
+
return cls()
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
@dataclass
|
|
178
|
+
class DeletePublishedAppIntegrationOutput:
|
|
179
|
+
|
|
180
|
+
def as_dict(self) -> dict:
|
|
181
|
+
"""Serializes the DeletePublishedAppIntegrationOutput into a dictionary suitable for use as a JSON request body."""
|
|
182
|
+
body = {}
|
|
183
|
+
return body
|
|
184
|
+
|
|
185
|
+
@classmethod
|
|
186
|
+
def from_dict(cls, d: Dict[str, any]) -> DeletePublishedAppIntegrationOutput:
|
|
187
|
+
"""Deserializes the DeletePublishedAppIntegrationOutput from a dictionary."""
|
|
188
|
+
return cls()
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
@dataclass
|
|
192
|
+
class DeleteResponse:
|
|
193
|
+
|
|
194
|
+
def as_dict(self) -> dict:
|
|
195
|
+
"""Serializes the DeleteResponse into a dictionary suitable for use as a JSON request body."""
|
|
196
|
+
body = {}
|
|
197
|
+
return body
|
|
198
|
+
|
|
199
|
+
@classmethod
|
|
200
|
+
def from_dict(cls, d: Dict[str, any]) -> DeleteResponse:
|
|
201
|
+
"""Deserializes the DeleteResponse from a dictionary."""
|
|
202
|
+
return cls()
|
|
203
|
+
|
|
204
|
+
|
|
163
205
|
@dataclass
|
|
164
206
|
class GetCustomAppIntegrationOutput:
|
|
165
207
|
client_id: Optional[str] = None
|
|
@@ -445,6 +487,20 @@ class UpdateCustomAppIntegration:
|
|
|
445
487
|
token_access_policy=_from_dict(d, 'token_access_policy', TokenAccessPolicy))
|
|
446
488
|
|
|
447
489
|
|
|
490
|
+
@dataclass
|
|
491
|
+
class UpdateCustomAppIntegrationOutput:
|
|
492
|
+
|
|
493
|
+
def as_dict(self) -> dict:
|
|
494
|
+
"""Serializes the UpdateCustomAppIntegrationOutput into a dictionary suitable for use as a JSON request body."""
|
|
495
|
+
body = {}
|
|
496
|
+
return body
|
|
497
|
+
|
|
498
|
+
@classmethod
|
|
499
|
+
def from_dict(cls, d: Dict[str, any]) -> UpdateCustomAppIntegrationOutput:
|
|
500
|
+
"""Deserializes the UpdateCustomAppIntegrationOutput from a dictionary."""
|
|
501
|
+
return cls()
|
|
502
|
+
|
|
503
|
+
|
|
448
504
|
@dataclass
|
|
449
505
|
class UpdatePublishedAppIntegration:
|
|
450
506
|
integration_id: Optional[str] = None
|
|
@@ -467,6 +523,20 @@ class UpdatePublishedAppIntegration:
|
|
|
467
523
|
token_access_policy=_from_dict(d, 'token_access_policy', TokenAccessPolicy))
|
|
468
524
|
|
|
469
525
|
|
|
526
|
+
@dataclass
|
|
527
|
+
class UpdatePublishedAppIntegrationOutput:
|
|
528
|
+
|
|
529
|
+
def as_dict(self) -> dict:
|
|
530
|
+
"""Serializes the UpdatePublishedAppIntegrationOutput into a dictionary suitable for use as a JSON request body."""
|
|
531
|
+
body = {}
|
|
532
|
+
return body
|
|
533
|
+
|
|
534
|
+
@classmethod
|
|
535
|
+
def from_dict(cls, d: Dict[str, any]) -> UpdatePublishedAppIntegrationOutput:
|
|
536
|
+
"""Deserializes the UpdatePublishedAppIntegrationOutput from a dictionary."""
|
|
537
|
+
return cls()
|
|
538
|
+
|
|
539
|
+
|
|
470
540
|
class CustomAppIntegrationAPI:
|
|
471
541
|
"""These APIs enable administrators to manage custom oauth app integrations, which is required for
|
|
472
542
|
adding/using Custom OAuth App Integration like Tableau Cloud for Databricks in AWS cloud."""
|