adapta 3.5.15__py3-none-any.whl → 3.5.16__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.
- adapta/_version.py +1 -1
- adapta/ml/mlflow/_client.py +24 -0
- {adapta-3.5.15.dist-info → adapta-3.5.16.dist-info}/METADATA +1 -1
- {adapta-3.5.15.dist-info → adapta-3.5.16.dist-info}/RECORD +6 -6
- {adapta-3.5.15.dist-info → adapta-3.5.16.dist-info}/WHEEL +1 -1
- {adapta-3.5.15.dist-info → adapta-3.5.16.dist-info}/licenses/LICENSE +0 -0
adapta/_version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '3.5.
|
|
1
|
+
__version__ = '3.5.16'
|
adapta/ml/mlflow/_client.py
CHANGED
|
@@ -137,6 +137,30 @@ class MlflowBasicClient:
|
|
|
137
137
|
version=model_version,
|
|
138
138
|
)
|
|
139
139
|
|
|
140
|
+
def delete_model_alias(self, model_name: str, alias: str):
|
|
141
|
+
"""
|
|
142
|
+
inherited the deletion of model alias in Mlflow
|
|
143
|
+
:param model_name: model name
|
|
144
|
+
:param alias: alias name
|
|
145
|
+
"""
|
|
146
|
+
self._client.delete_registered_model_alias(
|
|
147
|
+
name=model_name,
|
|
148
|
+
alias=alias,
|
|
149
|
+
)
|
|
150
|
+
|
|
151
|
+
def transition_model_alias(
|
|
152
|
+
self, model_name: str, old_alias: str, new_alias: str, model_version: str | None
|
|
153
|
+
) -> None:
|
|
154
|
+
"""
|
|
155
|
+
Mimics transition for model alias in Mlflow
|
|
156
|
+
:param model_name: model name
|
|
157
|
+
:param old_alias: old alias name
|
|
158
|
+
:param new_alias: new alias name
|
|
159
|
+
:param model_version: version of model
|
|
160
|
+
"""
|
|
161
|
+
self.delete_model_alias(model_name=model_name, alias=old_alias)
|
|
162
|
+
self.set_model_alias(model_name=model_name, alias=new_alias, model_version=model_version)
|
|
163
|
+
|
|
140
164
|
def set_model_version_tag(
|
|
141
165
|
self,
|
|
142
166
|
name: str,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
adapta/__init__.py,sha256=JSGFwL-Pu--FtbY2HOBYcepwDNOJS10RIR9dL88Iye4,696
|
|
2
|
-
adapta/_version.py,sha256=
|
|
2
|
+
adapta/_version.py,sha256=2iSlkdwPzk95gAtAxrcQVFLvjWw1jFqGZs-PB4L39gg,23
|
|
3
3
|
adapta/connectors/__init__.py,sha256=H5mtUGjVkaNkhW-nH7_QElRpfcijduVrW8JsrJHjNnA,631
|
|
4
4
|
adapta/connectors/service_bus/__init__.py,sha256=GDDJ_Y8ua08kZuav4dlrdUzf1ayjAjz2M34eplWD-e8,727
|
|
5
5
|
adapta/connectors/service_bus/_connector.py,sha256=mkvDag9Zd2PYj0fSxStnPtFDjmYcAYOBPr7O62LyDSI,1913
|
|
@@ -25,7 +25,7 @@ adapta/metrics/providers/void_provider.py,sha256=UAIe3zV17r6NwJqFMp5hovFZ3NwX-IJ
|
|
|
25
25
|
adapta/ml/__init__.py,sha256=2BiAuwbrSVWt-BWSyuHyPaZXBpzMho8RESrG6JR1vDE,686
|
|
26
26
|
adapta/ml/_model.py,sha256=XtFKWrxJfyU-EuBlJm0TcupmEs0mFmPunAkMqrmRGBE,1256
|
|
27
27
|
adapta/ml/mlflow/__init__.py,sha256=E8YF2HHmfLyVW6TxkM3cUBhaQYd76M8bcT2HOFgBZ8E,732
|
|
28
|
-
adapta/ml/mlflow/_client.py,sha256=
|
|
28
|
+
adapta/ml/mlflow/_client.py,sha256=QVORJVHxiHMtbquiU5ZW39FV78uW5fgEdd4B_wd9B3M,9553
|
|
29
29
|
adapta/ml/mlflow/_functions.py,sha256=25qlniT2TFSyOcHVjwlXQgG0Ry5ZQqsu7vZ3MfW3CMM,5496
|
|
30
30
|
adapta/process_communication/__init__.py,sha256=4JT3Pr6eyTZmSyEUmK-8JryG3tLpu2EIrPz6RSaOW5I,707
|
|
31
31
|
adapta/process_communication/_models.py,sha256=lzdGKC2iZN8pi0v8dFvztlSbKpP5FswlIpH4chFsK8U,3465
|
|
@@ -140,7 +140,7 @@ adapta/utils/decorators/_rate_limit.py,sha256=lzQ81uuaPg-_c5CkvztIetkglbmwdQNb6x
|
|
|
140
140
|
adapta/utils/metaframe.py,sha256=0MANP7c7jaHcVw3TvOTq4Taz4Pa2u97HqHKp4ml2nxo,5185
|
|
141
141
|
adapta/utils/python_typing/__init__.py,sha256=AhCDfacq0Jwz9rGGkauL4NaozJeYad5IUpCMif056rQ,86
|
|
142
142
|
adapta/utils/python_typing/_functions.py,sha256=YR3YfsvNvB-IX848cMnSty2tLeq1zExARD44AELtfik,541
|
|
143
|
-
adapta-3.5.
|
|
144
|
-
adapta-3.5.
|
|
145
|
-
adapta-3.5.
|
|
146
|
-
adapta-3.5.
|
|
143
|
+
adapta-3.5.16.dist-info/METADATA,sha256=82SgPmvaCncvn2-S6XqHl7xLw1BAFLYTgEHQ2sqcYQY,3591
|
|
144
|
+
adapta-3.5.16.dist-info/WHEEL,sha256=kJCRJT_g0adfAJzTx2GUMmS80rTJIVHRCfG0DQgLq3o,88
|
|
145
|
+
adapta-3.5.16.dist-info/licenses/LICENSE,sha256=0gS6zXsPp8qZhzi1xaGCIYPzb_0e8on7HCeFJe8fOpw,10693
|
|
146
|
+
adapta-3.5.16.dist-info/RECORD,,
|
|
File without changes
|