mlrun 1.8.0rc58__py3-none-any.whl → 1.8.0rc60__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 mlrun might be problematic. Click here for more details.
- mlrun/artifacts/base.py +5 -5
- mlrun/artifacts/dataset.py +1 -1
- mlrun/artifacts/model.py +1 -1
- mlrun/artifacts/plots.py +2 -2
- mlrun/common/runtimes/constants.py +1 -1
- mlrun/common/schemas/artifact.py +1 -1
- mlrun/common/schemas/pipeline.py +1 -1
- mlrun/common/schemas/project.py +1 -1
- mlrun/common/schemas/runs.py +1 -1
- mlrun/datastore/datastore_profile.py +2 -2
- mlrun/datastore/sources.py +3 -3
- mlrun/datastore/targets.py +4 -4
- mlrun/datastore/utils.py +2 -2
- mlrun/db/base.py +6 -6
- mlrun/db/httpdb.py +11 -9
- mlrun/execution.py +1 -1
- mlrun/frameworks/_common/model_handler.py +2 -2
- mlrun/model_monitoring/api.py +4 -4
- mlrun/model_monitoring/applications/evidently/base.py +9 -46
- mlrun/model_monitoring/controller.py +3 -1
- mlrun/model_monitoring/tracking_policy.py +1 -1
- mlrun/model_monitoring/writer.py +1 -1
- mlrun/projects/operations.py +3 -3
- mlrun/projects/project.py +65 -49
- mlrun/run.py +1 -1
- mlrun/runtimes/base.py +4 -4
- mlrun/runtimes/kubejob.py +2 -2
- mlrun/runtimes/nuclio/function.py +2 -2
- mlrun/runtimes/nuclio/serving.py +4 -4
- mlrun/runtimes/utils.py +1 -1
- mlrun/utils/version/version.json +2 -2
- {mlrun-1.8.0rc58.dist-info → mlrun-1.8.0rc60.dist-info}/METADATA +2 -2
- {mlrun-1.8.0rc58.dist-info → mlrun-1.8.0rc60.dist-info}/RECORD +37 -37
- {mlrun-1.8.0rc58.dist-info → mlrun-1.8.0rc60.dist-info}/WHEEL +1 -1
- {mlrun-1.8.0rc58.dist-info → mlrun-1.8.0rc60.dist-info}/entry_points.txt +0 -0
- {mlrun-1.8.0rc58.dist-info → mlrun-1.8.0rc60.dist-info}/licenses/LICENSE +0 -0
- {mlrun-1.8.0rc58.dist-info → mlrun-1.8.0rc60.dist-info}/top_level.txt +0 -0
mlrun/artifacts/base.py
CHANGED
|
@@ -219,7 +219,7 @@ class Artifact(ModelObj):
|
|
|
219
219
|
project=None,
|
|
220
220
|
src_path: typing.Optional[str] = None,
|
|
221
221
|
# All params up until here are legacy params for compatibility with legacy artifacts.
|
|
222
|
-
# TODO: remove them in 1.
|
|
222
|
+
# TODO: remove them in 1.10.0.
|
|
223
223
|
metadata: ArtifactMetadata = None,
|
|
224
224
|
spec: ArtifactSpec = None,
|
|
225
225
|
):
|
|
@@ -235,7 +235,7 @@ class Artifact(ModelObj):
|
|
|
235
235
|
or src_path
|
|
236
236
|
):
|
|
237
237
|
warnings.warn(
|
|
238
|
-
"Artifact constructor parameters are deprecated and will be removed in 1.
|
|
238
|
+
"Artifact constructor parameters are deprecated in 1.7.0 and will be removed in 1.10.0. "
|
|
239
239
|
"Use the metadata and spec parameters instead.",
|
|
240
240
|
DeprecationWarning,
|
|
241
241
|
)
|
|
@@ -758,13 +758,13 @@ class LinkArtifact(Artifact):
|
|
|
758
758
|
link_tree=None,
|
|
759
759
|
project=None,
|
|
760
760
|
# All params up until here are legacy params for compatibility with legacy artifacts.
|
|
761
|
-
# TODO: remove them in 1.
|
|
761
|
+
# TODO: remove them in 1.10.0.
|
|
762
762
|
metadata: ArtifactMetadata = None,
|
|
763
763
|
spec: LinkArtifactSpec = None,
|
|
764
764
|
):
|
|
765
765
|
if key or target_path or link_iteration or link_key or link_tree or project:
|
|
766
766
|
warnings.warn(
|
|
767
|
-
"Artifact constructor parameters are deprecated and will be removed in 1.
|
|
767
|
+
"Artifact constructor parameters are deprecated in 1.7.0 and will be removed in 1.10.0. "
|
|
768
768
|
"Use the metadata and spec parameters instead.",
|
|
769
769
|
DeprecationWarning,
|
|
770
770
|
)
|
|
@@ -907,7 +907,7 @@ def convert_legacy_artifact_to_new_format(
|
|
|
907
907
|
artifact_key = f"{artifact_key}:{artifact_tag}"
|
|
908
908
|
# TODO: Remove once data migration v5 is obsolete
|
|
909
909
|
warnings.warn(
|
|
910
|
-
f"Converting legacy artifact '{artifact_key}' to new format. This will not be supported in MLRun 1.
|
|
910
|
+
f"Converting legacy artifact '{artifact_key}' to new format. This will not be supported in MLRun 1.10.0. "
|
|
911
911
|
f"Make sure to save the artifact/project in the new format.",
|
|
912
912
|
FutureWarning,
|
|
913
913
|
)
|
mlrun/artifacts/dataset.py
CHANGED
|
@@ -163,7 +163,7 @@ class DatasetArtifact(Artifact):
|
|
|
163
163
|
):
|
|
164
164
|
if key or format or target_path:
|
|
165
165
|
warnings.warn(
|
|
166
|
-
"Artifact constructor parameters are deprecated and will be removed in 1.
|
|
166
|
+
"Artifact constructor parameters are deprecated in 1.7.0 and will be removed in 1.10.0. "
|
|
167
167
|
"Use the metadata and spec parameters instead.",
|
|
168
168
|
DeprecationWarning,
|
|
169
169
|
)
|
mlrun/artifacts/model.py
CHANGED
|
@@ -152,7 +152,7 @@ class ModelArtifact(Artifact):
|
|
|
152
152
|
):
|
|
153
153
|
if key or body or format or target_path:
|
|
154
154
|
warnings.warn(
|
|
155
|
-
"Artifact constructor parameters are deprecated and will be removed in 1.
|
|
155
|
+
"Artifact constructor parameters are deprecated in 1.7.0 and will be removed in 1.10.0. "
|
|
156
156
|
"Use the metadata and spec parameters instead.",
|
|
157
157
|
DeprecationWarning,
|
|
158
158
|
)
|
mlrun/artifacts/plots.py
CHANGED
|
@@ -37,7 +37,7 @@ class PlotArtifact(Artifact):
|
|
|
37
37
|
):
|
|
38
38
|
if key or body or is_inline or target_path:
|
|
39
39
|
warnings.warn(
|
|
40
|
-
"Artifact constructor parameters are deprecated and will be removed in 1.
|
|
40
|
+
"Artifact constructor parameters are deprecated in 1.7.0 and will be removed in 1.10.0. "
|
|
41
41
|
"Use the metadata and spec parameters instead.",
|
|
42
42
|
DeprecationWarning,
|
|
43
43
|
)
|
|
@@ -96,7 +96,7 @@ class PlotlyArtifact(Artifact):
|
|
|
96
96
|
"""
|
|
97
97
|
if key or target_path:
|
|
98
98
|
warnings.warn(
|
|
99
|
-
"Artifact constructor parameters are deprecated and will be removed in 1.
|
|
99
|
+
"Artifact constructor parameters are deprecated in 1.7.0 and will be removed in 1.10.0. "
|
|
100
100
|
"Use the metadata and spec parameters instead.",
|
|
101
101
|
DeprecationWarning,
|
|
102
102
|
)
|
|
@@ -237,7 +237,7 @@ class RunStates:
|
|
|
237
237
|
}[pipeline_run_status]
|
|
238
238
|
|
|
239
239
|
|
|
240
|
-
# TODO: remove this class in 1.
|
|
240
|
+
# TODO: remove this class in 1.10.0 - use only MlrunInternalLabels
|
|
241
241
|
class RunLabels(enum.Enum):
|
|
242
242
|
owner = mlrun_constants.MLRunInternalLabels.owner
|
|
243
243
|
v3io_user = mlrun_constants.MLRunInternalLabels.v3io_user
|
mlrun/common/schemas/artifact.py
CHANGED
|
@@ -80,7 +80,7 @@ class ArtifactIdentifier(pydantic.v1.BaseModel):
|
|
|
80
80
|
|
|
81
81
|
@deprecated(
|
|
82
82
|
version="1.7.0",
|
|
83
|
-
reason="mlrun.common.schemas.ArtifactsFormat is deprecated and will be removed in 1.
|
|
83
|
+
reason="mlrun.common.schemas.ArtifactsFormat is deprecated and will be removed in 1.10.0. "
|
|
84
84
|
"Use mlrun.common.formatters.ArtifactFormat instead.",
|
|
85
85
|
category=FutureWarning,
|
|
86
86
|
)
|
mlrun/common/schemas/pipeline.py
CHANGED
|
@@ -22,7 +22,7 @@ import mlrun.common.types
|
|
|
22
22
|
|
|
23
23
|
@deprecated(
|
|
24
24
|
version="1.7.0",
|
|
25
|
-
reason="mlrun.common.schemas.PipelinesFormat is deprecated and will be removed in 1.
|
|
25
|
+
reason="mlrun.common.schemas.PipelinesFormat is deprecated and will be removed in 1.10.0. "
|
|
26
26
|
"Use mlrun.common.formatters.PipelineFormat instead.",
|
|
27
27
|
category=FutureWarning,
|
|
28
28
|
)
|
mlrun/common/schemas/project.py
CHANGED
|
@@ -26,7 +26,7 @@ from .object import ObjectKind, ObjectStatus
|
|
|
26
26
|
|
|
27
27
|
@deprecated(
|
|
28
28
|
version="1.7.0",
|
|
29
|
-
reason="mlrun.common.schemas.ProjectsFormat is deprecated and will be removed in 1.
|
|
29
|
+
reason="mlrun.common.schemas.ProjectsFormat is deprecated and will be removed in 1.10.0. "
|
|
30
30
|
"Use mlrun.common.formatters.ProjectFormat instead.",
|
|
31
31
|
category=FutureWarning,
|
|
32
32
|
)
|
mlrun/common/schemas/runs.py
CHANGED
|
@@ -28,7 +28,7 @@ class RunIdentifier(pydantic.v1.BaseModel):
|
|
|
28
28
|
|
|
29
29
|
@deprecated(
|
|
30
30
|
version="1.7.0",
|
|
31
|
-
reason="mlrun.common.schemas.RunsFormat is deprecated and will be removed in 1.
|
|
31
|
+
reason="mlrun.common.schemas.RunsFormat is deprecated and will be removed in 1.10.0. "
|
|
32
32
|
"Use mlrun.common.formatters.RunFormat instead.",
|
|
33
33
|
category=FutureWarning,
|
|
34
34
|
)
|
|
@@ -165,9 +165,9 @@ class DatastoreProfileKafkaTarget(DatastoreProfile):
|
|
|
165
165
|
self.brokers = self.bootstrap_servers
|
|
166
166
|
self.bootstrap_servers = None
|
|
167
167
|
warnings.warn(
|
|
168
|
-
"'bootstrap_servers' parameter is deprecated in 1.7.0 and will be removed in 1.
|
|
168
|
+
"'bootstrap_servers' parameter is deprecated in 1.7.0 and will be removed in 1.10.0, "
|
|
169
169
|
"use 'brokers' instead.",
|
|
170
|
-
# TODO: Remove this in 1.
|
|
170
|
+
# TODO: Remove this in 1.10.0
|
|
171
171
|
FutureWarning,
|
|
172
172
|
)
|
|
173
173
|
|
mlrun/datastore/sources.py
CHANGED
|
@@ -794,12 +794,12 @@ class SnowflakeSource(BaseSourceDriver):
|
|
|
794
794
|
warehouse: Optional[str] = None,
|
|
795
795
|
**kwargs,
|
|
796
796
|
):
|
|
797
|
-
# TODO: Remove in 1.
|
|
797
|
+
# TODO: Remove in 1.10.0
|
|
798
798
|
if schema:
|
|
799
799
|
warnings.warn(
|
|
800
|
-
"schema is deprecated in 1.7.0, and will be removed in 1.
|
|
800
|
+
"schema is deprecated in 1.7.0, and will be removed in 1.10.0, please use db_schema"
|
|
801
801
|
)
|
|
802
|
-
db_schema = db_schema or schema # TODO: Remove in 1.
|
|
802
|
+
db_schema = db_schema or schema # TODO: Remove in 1.10.0
|
|
803
803
|
|
|
804
804
|
attributes = attributes or {}
|
|
805
805
|
if url:
|
mlrun/datastore/targets.py
CHANGED
|
@@ -443,8 +443,8 @@ class BaseStoreTarget(DataTargetBase):
|
|
|
443
443
|
self.credentials_prefix = credentials_prefix
|
|
444
444
|
if credentials_prefix:
|
|
445
445
|
warnings.warn(
|
|
446
|
-
"The 'credentials_prefix' parameter is deprecated and will be removed in "
|
|
447
|
-
"1.
|
|
446
|
+
"The 'credentials_prefix' parameter is deprecated in 1.7.0 and will be removed in "
|
|
447
|
+
"1.10.0. Please use datastore profiles instead.",
|
|
448
448
|
FutureWarning,
|
|
449
449
|
)
|
|
450
450
|
|
|
@@ -1671,7 +1671,7 @@ class KafkaTarget(BaseStoreTarget):
|
|
|
1671
1671
|
):
|
|
1672
1672
|
attrs = {}
|
|
1673
1673
|
|
|
1674
|
-
# TODO: Remove this in 1.
|
|
1674
|
+
# TODO: Remove this in 1.10.0
|
|
1675
1675
|
if bootstrap_servers:
|
|
1676
1676
|
if brokers:
|
|
1677
1677
|
raise mlrun.errors.MLRunInvalidArgumentError(
|
|
@@ -1679,7 +1679,7 @@ class KafkaTarget(BaseStoreTarget):
|
|
|
1679
1679
|
"'bootstrap_servers' parameter. Please use 'brokers' only."
|
|
1680
1680
|
)
|
|
1681
1681
|
warnings.warn(
|
|
1682
|
-
"'bootstrap_servers' parameter is deprecated in 1.7.0 and will be removed in 1.
|
|
1682
|
+
"'bootstrap_servers' parameter is deprecated in 1.7.0 and will be removed in 1.10.0, "
|
|
1683
1683
|
"use 'brokers' instead.",
|
|
1684
1684
|
FutureWarning,
|
|
1685
1685
|
)
|
mlrun/datastore/utils.py
CHANGED
|
@@ -176,8 +176,8 @@ def get_kafka_brokers_from_dict(options: dict, pop=False) -> typing.Optional[str
|
|
|
176
176
|
kafka_bootstrap_servers = get_or_pop("kafka_bootstrap_servers", None)
|
|
177
177
|
if kafka_bootstrap_servers:
|
|
178
178
|
warnings.warn(
|
|
179
|
-
"The 'kafka_bootstrap_servers' parameter is deprecated and will be removed in "
|
|
180
|
-
"1.
|
|
179
|
+
"The 'kafka_bootstrap_servers' parameter is deprecated in 1.7.0 and will be removed in "
|
|
180
|
+
"1.10.0. Please pass the 'kafka_brokers' parameter instead.",
|
|
181
181
|
FutureWarning,
|
|
182
182
|
)
|
|
183
183
|
return kafka_bootstrap_servers
|
mlrun/db/base.py
CHANGED
|
@@ -441,10 +441,10 @@ class RunDBInterface(ABC):
|
|
|
441
441
|
) -> dict:
|
|
442
442
|
pass
|
|
443
443
|
|
|
444
|
-
# TODO: remove in 1.
|
|
444
|
+
# TODO: remove in 1.10.0
|
|
445
445
|
@deprecated(
|
|
446
|
-
version="1.
|
|
447
|
-
reason="'list_features' will be removed in 1.
|
|
446
|
+
version="1.7.0",
|
|
447
|
+
reason="'list_features' will be removed in 1.10.0, use 'list_features_v2' instead",
|
|
448
448
|
category=FutureWarning,
|
|
449
449
|
)
|
|
450
450
|
@abstractmethod
|
|
@@ -469,10 +469,10 @@ class RunDBInterface(ABC):
|
|
|
469
469
|
) -> mlrun.common.schemas.FeaturesOutputV2:
|
|
470
470
|
pass
|
|
471
471
|
|
|
472
|
-
# TODO: remove in 1.
|
|
472
|
+
# TODO: remove in 1.10.0
|
|
473
473
|
@deprecated(
|
|
474
|
-
version="1.
|
|
475
|
-
reason="'list_entities' will be removed in 1.
|
|
474
|
+
version="1.7.0",
|
|
475
|
+
reason="'list_entities' will be removed in 1.10.0, use 'list_entities_v2' instead",
|
|
476
476
|
category=FutureWarning,
|
|
477
477
|
)
|
|
478
478
|
@abstractmethod
|
mlrun/db/httpdb.py
CHANGED
|
@@ -945,7 +945,7 @@ class HTTPRunDB(RunDBInterface):
|
|
|
945
945
|
or just `"label"` for key existence.
|
|
946
946
|
- A comma-separated string formatted as `"label1=value1,label2"` to match entities with
|
|
947
947
|
the specified key-value pairs or key existence.
|
|
948
|
-
:param state: Deprecated - List only runs whose state is specified (will be removed in 1.
|
|
948
|
+
:param state: Deprecated - List only runs whose state is specified (will be removed in 1.10.0)
|
|
949
949
|
:param states: List only runs whose state is one of the provided states.
|
|
950
950
|
:param sort: Whether to sort the result according to their start time. Otherwise, results will be
|
|
951
951
|
returned by their internal order in the DB (order will not be guaranteed).
|
|
@@ -1277,7 +1277,7 @@ class HTTPRunDB(RunDBInterface):
|
|
|
1277
1277
|
points to a run and is used to filter artifacts by the run that produced them when the artifact producer id
|
|
1278
1278
|
is a workflow id (artifact was created as part of a workflow).
|
|
1279
1279
|
:param format_: The format in which to return the artifacts. Default is 'full'.
|
|
1280
|
-
:param limit: Deprecated - Maximum number of artifacts to return (will be removed in 1.
|
|
1280
|
+
:param limit: Deprecated - Maximum number of artifacts to return (will be removed in 1.11.0).
|
|
1281
1281
|
:param partition_by: Field to group results by. When `partition_by` is specified, the `partition_sort_by`
|
|
1282
1282
|
parameter must be provided as well.
|
|
1283
1283
|
:param rows_per_partition: How many top rows (per sorting defined by `partition_sort_by` and `partition_order`)
|
|
@@ -2221,18 +2221,20 @@ class HTTPRunDB(RunDBInterface):
|
|
|
2221
2221
|
elif pipe_file.endswith(".zip"):
|
|
2222
2222
|
headers = {"content-type": "application/zip"}
|
|
2223
2223
|
else:
|
|
2224
|
-
raise ValueError("pipeline file must be .yaml or .zip")
|
|
2224
|
+
raise ValueError("'pipeline' file must be .yaml or .zip")
|
|
2225
2225
|
if arguments:
|
|
2226
2226
|
if not isinstance(arguments, dict):
|
|
2227
|
-
raise ValueError("arguments must be dict type")
|
|
2227
|
+
raise ValueError("'arguments' must be dict type")
|
|
2228
2228
|
headers[mlrun.common.schemas.HeaderNames.pipeline_arguments] = str(
|
|
2229
2229
|
arguments
|
|
2230
2230
|
)
|
|
2231
2231
|
|
|
2232
2232
|
if not path.isfile(pipe_file):
|
|
2233
|
-
raise OSError(f"
|
|
2233
|
+
raise OSError(f"File {pipe_file} doesnt exist")
|
|
2234
2234
|
with open(pipe_file, "rb") as fp:
|
|
2235
2235
|
data = fp.read()
|
|
2236
|
+
if not data:
|
|
2237
|
+
raise ValueError("The compiled pipe file is empty")
|
|
2236
2238
|
if not isinstance(pipeline, str):
|
|
2237
2239
|
remove(pipe_file)
|
|
2238
2240
|
|
|
@@ -5100,9 +5102,9 @@ class HTTPRunDB(RunDBInterface):
|
|
|
5100
5102
|
labels = self._parse_labels(labels)
|
|
5101
5103
|
|
|
5102
5104
|
if limit:
|
|
5103
|
-
# TODO: Remove this in 1.
|
|
5105
|
+
# TODO: Remove this in 1.11.0
|
|
5104
5106
|
warnings.warn(
|
|
5105
|
-
"'limit' is deprecated and will be removed in 1.
|
|
5107
|
+
"'limit' is deprecated and will be removed in 1.11.0. Use 'page' and 'page_size' instead.",
|
|
5106
5108
|
FutureWarning,
|
|
5107
5109
|
)
|
|
5108
5110
|
|
|
@@ -5242,9 +5244,9 @@ class HTTPRunDB(RunDBInterface):
|
|
|
5242
5244
|
)
|
|
5243
5245
|
|
|
5244
5246
|
if state:
|
|
5245
|
-
# TODO: Remove this in 1.
|
|
5247
|
+
# TODO: Remove this in 1.10.0
|
|
5246
5248
|
warnings.warn(
|
|
5247
|
-
"'state' is deprecated and will be removed in 1.
|
|
5249
|
+
"'state' is deprecated in 1.7.0 and will be removed in 1.10.0. Use 'states' instead.",
|
|
5248
5250
|
FutureWarning,
|
|
5249
5251
|
)
|
|
5250
5252
|
|
mlrun/execution.py
CHANGED
|
@@ -976,7 +976,7 @@ class MLClientCtx:
|
|
|
976
976
|
def get_cached_artifact(self, key):
|
|
977
977
|
"""Return a logged artifact from cache (for potential updates)"""
|
|
978
978
|
warnings.warn(
|
|
979
|
-
"get_cached_artifact is deprecated in 1.8.0 and will be removed in 1.
|
|
979
|
+
"get_cached_artifact is deprecated in 1.8.0 and will be removed in 1.11.0. Use get_artifact instead.",
|
|
980
980
|
FutureWarning,
|
|
981
981
|
)
|
|
982
982
|
return self.get_artifact(key)
|
|
@@ -690,10 +690,10 @@ class ModelHandler(ABC, Generic[CommonTypes.ModelType, CommonTypes.IOSampleType]
|
|
|
690
690
|
}
|
|
691
691
|
self._registered_artifacts = {}
|
|
692
692
|
|
|
693
|
-
# Get the model artifact. If the model was logged during this run, use the
|
|
693
|
+
# Get the model artifact. If the model was logged during this run, use the artifact, otherwise use the
|
|
694
694
|
# user's given model path:
|
|
695
695
|
model_artifact = (
|
|
696
|
-
self._context.
|
|
696
|
+
self._context.get_artifact(self._model_name)
|
|
697
697
|
if self._is_logged
|
|
698
698
|
else self._model_path
|
|
699
699
|
)
|
mlrun/model_monitoring/api.py
CHANGED
|
@@ -181,7 +181,7 @@ def record_results(
|
|
|
181
181
|
if drift_threshold is not None or possible_drift_threshold is not None:
|
|
182
182
|
warnings.warn(
|
|
183
183
|
"Custom drift threshold arguments are deprecated since version "
|
|
184
|
-
"1.7.0 and have no effect. They will be removed in version 1.
|
|
184
|
+
"1.7.0 and have no effect. They will be removed in version 1.10.0.\n"
|
|
185
185
|
"To enable the default histogram data drift application, run:\n"
|
|
186
186
|
"`project.enable_model_monitoring()`.",
|
|
187
187
|
FutureWarning,
|
|
@@ -189,7 +189,7 @@ def record_results(
|
|
|
189
189
|
if trigger_monitoring_job is not False:
|
|
190
190
|
warnings.warn(
|
|
191
191
|
"`trigger_monitoring_job` argument is deprecated since version "
|
|
192
|
-
"1.7.0 and has no effect. It will be removed in version 1.
|
|
192
|
+
"1.7.0 and has no effect. It will be removed in version 1.10.0.\n"
|
|
193
193
|
"To enable the default histogram data drift application, run:\n"
|
|
194
194
|
"`project.enable_model_monitoring()`.",
|
|
195
195
|
FutureWarning,
|
|
@@ -197,13 +197,13 @@ def record_results(
|
|
|
197
197
|
if artifacts_tag != "":
|
|
198
198
|
warnings.warn(
|
|
199
199
|
"`artifacts_tag` argument is deprecated since version "
|
|
200
|
-
"1.7.0 and has no effect. It will be removed in version 1.
|
|
200
|
+
"1.7.0 and has no effect. It will be removed in version 1.10.0.",
|
|
201
201
|
FutureWarning,
|
|
202
202
|
)
|
|
203
203
|
if default_batch_image != "mlrun/mlrun":
|
|
204
204
|
warnings.warn(
|
|
205
205
|
"`default_batch_image` argument is deprecated since version "
|
|
206
|
-
"1.7.0 and has no effect. It will be removed in version 1.
|
|
206
|
+
"1.7.0 and has no effect. It will be removed in version 1.10.0.",
|
|
207
207
|
FutureWarning,
|
|
208
208
|
)
|
|
209
209
|
|
|
@@ -12,8 +12,6 @@
|
|
|
12
12
|
# See the License for the specific language governing permissions and
|
|
13
13
|
# limitations under the License.
|
|
14
14
|
|
|
15
|
-
import json
|
|
16
|
-
import posixpath
|
|
17
15
|
import warnings
|
|
18
16
|
from abc import ABC
|
|
19
17
|
from tempfile import NamedTemporaryFile
|
|
@@ -60,10 +58,10 @@ except ModuleNotFoundError:
|
|
|
60
58
|
|
|
61
59
|
if _HAS_EVIDENTLY:
|
|
62
60
|
from evidently.core.report import Snapshot
|
|
63
|
-
from evidently.legacy.ui.storage.local.base import METADATA_PATH, FSLocation
|
|
64
61
|
from evidently.ui.workspace import (
|
|
65
62
|
STR_UUID,
|
|
66
63
|
CloudWorkspace,
|
|
64
|
+
Project,
|
|
67
65
|
Workspace,
|
|
68
66
|
WorkspaceBase,
|
|
69
67
|
)
|
|
@@ -90,8 +88,6 @@ class EvidentlyModelMonitoringApplicationBase(
|
|
|
90
88
|
:param evidently_workspace_path: (str) The path to the Evidently workspace.
|
|
91
89
|
:param cloud_workspace: (bool) Whether the workspace is an Evidently Cloud workspace.
|
|
92
90
|
"""
|
|
93
|
-
|
|
94
|
-
# TODO : more then one project (mep -> project)
|
|
95
91
|
if not _HAS_EVIDENTLY:
|
|
96
92
|
raise ModuleNotFoundError("Evidently is not installed - the app cannot run")
|
|
97
93
|
self.evidently_workspace_path = evidently_workspace_path
|
|
@@ -99,15 +95,16 @@ class EvidentlyModelMonitoringApplicationBase(
|
|
|
99
95
|
self.get_workspace = self.get_cloud_workspace
|
|
100
96
|
self.evidently_workspace = self.get_workspace()
|
|
101
97
|
self.evidently_project_id = evidently_project_id
|
|
102
|
-
self.evidently_project = self.
|
|
103
|
-
|
|
104
|
-
|
|
98
|
+
self.evidently_project = self.load_project()
|
|
99
|
+
|
|
100
|
+
def load_project(self) -> "Project":
|
|
101
|
+
"""Load the Evidently project."""
|
|
102
|
+
return self.evidently_workspace.get_project(self.evidently_project_id)
|
|
105
103
|
|
|
106
|
-
def get_workspace(self) -> WorkspaceBase:
|
|
104
|
+
def get_workspace(self) -> "WorkspaceBase":
|
|
107
105
|
"""Get the Evidently workspace. Override this method for customize access to the workspace."""
|
|
108
106
|
if self.evidently_workspace_path:
|
|
109
|
-
|
|
110
|
-
self.evidently_workspace = Workspace.create(self.evidently_workspace_path)
|
|
107
|
+
return Workspace.create(self.evidently_workspace_path)
|
|
111
108
|
else:
|
|
112
109
|
raise MLRunValueError(
|
|
113
110
|
"A local workspace could not be created as `evidently_workspace_path` is not set.\n"
|
|
@@ -115,44 +112,10 @@ class EvidentlyModelMonitoringApplicationBase(
|
|
|
115
112
|
"`EVIDENTLY_API_KEY` environment variable. In other cases, override this method."
|
|
116
113
|
)
|
|
117
114
|
|
|
118
|
-
def get_cloud_workspace(self) -> CloudWorkspace:
|
|
115
|
+
def get_cloud_workspace(self) -> "CloudWorkspace":
|
|
119
116
|
"""Load the Evidently cloud workspace according to the `EVIDENTLY_API_KEY` environment variable."""
|
|
120
117
|
return CloudWorkspace()
|
|
121
118
|
|
|
122
|
-
@staticmethod
|
|
123
|
-
def _log_location(evidently_workspace_path):
|
|
124
|
-
# TODO remove function + usage after solving issue ML-9530
|
|
125
|
-
location = FSLocation(base_path=evidently_workspace_path)
|
|
126
|
-
location.invalidate_cache("")
|
|
127
|
-
paths = [p for p in location.listdir("") if location.isdir(p)]
|
|
128
|
-
|
|
129
|
-
for path in paths:
|
|
130
|
-
metadata_path = posixpath.join(path, METADATA_PATH)
|
|
131
|
-
full_path = posixpath.join(location.path, metadata_path)
|
|
132
|
-
print(f"evidently json issue, working on path: {full_path}")
|
|
133
|
-
try:
|
|
134
|
-
with location.open(metadata_path) as f:
|
|
135
|
-
content = json.load(f)
|
|
136
|
-
print(
|
|
137
|
-
f"evidently json issue, successful load path: {full_path}, content: {content}"
|
|
138
|
-
)
|
|
139
|
-
except FileNotFoundError:
|
|
140
|
-
print(f"evidently json issue, path not found: {full_path}")
|
|
141
|
-
continue
|
|
142
|
-
except json.decoder.JSONDecodeError as json_error:
|
|
143
|
-
print(
|
|
144
|
-
f"evidently json issue, path got json error, path:{full_path}, error: {json_error}"
|
|
145
|
-
)
|
|
146
|
-
print("evidently json issue, file content:")
|
|
147
|
-
with location.open(metadata_path) as f:
|
|
148
|
-
print(f.read())
|
|
149
|
-
continue
|
|
150
|
-
except Exception as error:
|
|
151
|
-
print(
|
|
152
|
-
f"evidently json issue, path got general error, path:{full_path}, error: {error}"
|
|
153
|
-
)
|
|
154
|
-
continue
|
|
155
|
-
|
|
156
119
|
@staticmethod
|
|
157
120
|
def log_evidently_object(
|
|
158
121
|
monitoring_context: mm_context.MonitoringApplicationContext,
|
|
@@ -732,7 +732,9 @@ class MonitoringApplicationController:
|
|
|
732
732
|
last_request = last_request_dict.get(endpoint.metadata.uid, None)
|
|
733
733
|
if isinstance(last_request, float):
|
|
734
734
|
last_request = pd.to_datetime(last_request, unit="s", utc=True)
|
|
735
|
-
endpoint.status.last_request =
|
|
735
|
+
endpoint.status.last_request = (
|
|
736
|
+
last_request or endpoint.status.last_request
|
|
737
|
+
)
|
|
736
738
|
futures = {
|
|
737
739
|
pool.submit(
|
|
738
740
|
self.endpoint_to_regular_event,
|
|
@@ -57,7 +57,7 @@ class TrackingPolicy(mlrun.model.ModelObj):
|
|
|
57
57
|
"""
|
|
58
58
|
warnings.warn(
|
|
59
59
|
"The `TrackingPolicy` class is deprecated from version 1.7.0 and is not "
|
|
60
|
-
"used anymore. It will be removed in 1.
|
|
60
|
+
"used anymore. It will be removed in 1.10.0.",
|
|
61
61
|
FutureWarning,
|
|
62
62
|
)
|
|
63
63
|
|
mlrun/model_monitoring/writer.py
CHANGED
|
@@ -129,7 +129,7 @@ class ModelMonitoringWriter(StepToDict):
|
|
|
129
129
|
)
|
|
130
130
|
kind = event.pop(WriterEvent.EVENT_KIND, WriterEventKind.RESULT)
|
|
131
131
|
result_event = _AppResultEvent(json.loads(event.pop(WriterEvent.DATA, "{}")))
|
|
132
|
-
if not result_event: # BC for < 1.7.0, can be removed in 1.
|
|
132
|
+
if not result_event: # BC for < 1.7.0, can be removed in 1.10.0
|
|
133
133
|
result_event = _AppResultEvent(event)
|
|
134
134
|
else:
|
|
135
135
|
result_event.update(_AppResultEvent(event))
|
mlrun/projects/operations.py
CHANGED
|
@@ -294,9 +294,9 @@ def build_function(
|
|
|
294
294
|
:param force_build: Force building the image, even when no changes were made
|
|
295
295
|
"""
|
|
296
296
|
if not overwrite_build_params:
|
|
297
|
-
# TODO: change overwrite_build_params default to True in 1.
|
|
297
|
+
# TODO: change overwrite_build_params default to True in 1.10.0
|
|
298
298
|
warnings.warn(
|
|
299
|
-
"The `overwrite_build_params` parameter default will change from 'False' to 'True' in 1.
|
|
299
|
+
"The `overwrite_build_params` parameter default will change from 'False' to 'True' in 1.10.0.",
|
|
300
300
|
mlrun.utils.OverwriteBuildParamsWarning,
|
|
301
301
|
)
|
|
302
302
|
|
|
@@ -325,7 +325,7 @@ def build_function(
|
|
|
325
325
|
skip_deployed=skip_deployed,
|
|
326
326
|
)
|
|
327
327
|
else:
|
|
328
|
-
# TODO: remove filter once overwrite_build_params default is changed to True in 1.
|
|
328
|
+
# TODO: remove filter once overwrite_build_params default is changed to True in 1.10.0
|
|
329
329
|
with warnings.catch_warnings():
|
|
330
330
|
warnings.simplefilter(
|
|
331
331
|
"ignore", category=mlrun.utils.OverwriteBuildParamsWarning
|
mlrun/projects/project.py
CHANGED
|
@@ -757,10 +757,10 @@ def _project_instance_from_struct(struct, name, allow_cross_project):
|
|
|
757
757
|
)
|
|
758
758
|
|
|
759
759
|
if allow_cross_project is None:
|
|
760
|
-
# TODO: Remove this warning in version 1.
|
|
760
|
+
# TODO: Remove this warning in version 1.10.0 and also fix cli to support allow_cross_project
|
|
761
761
|
warnings.warn(
|
|
762
762
|
f"Project {name=} is different than specified on the context's project yaml. "
|
|
763
|
-
"This behavior is deprecated and will not be supported from version 1.
|
|
763
|
+
"This behavior is deprecated and will not be supported from version 1.10.0."
|
|
764
764
|
)
|
|
765
765
|
logger.warn(error_message)
|
|
766
766
|
elif allow_cross_project:
|
|
@@ -2479,9 +2479,9 @@ class MlrunProject(ModelObj):
|
|
|
2479
2479
|
:param fetch_credentials_from_sys_config: If true, fetch the credentials from the system configuration.
|
|
2480
2480
|
"""
|
|
2481
2481
|
if default_controller_image != "mlrun/mlrun":
|
|
2482
|
-
# TODO: Remove this in 1.
|
|
2482
|
+
# TODO: Remove this in 1.10.0
|
|
2483
2483
|
warnings.warn(
|
|
2484
|
-
"'default_controller_image' is deprecated and will be removed in 1.
|
|
2484
|
+
"'default_controller_image' is deprecated in 1.7.0 and will be removed in 1.10.0, "
|
|
2485
2485
|
"use 'image' instead",
|
|
2486
2486
|
FutureWarning,
|
|
2487
2487
|
)
|
|
@@ -2861,10 +2861,10 @@ class MlrunProject(ModelObj):
|
|
|
2861
2861
|
|
|
2862
2862
|
self.spec.set_function(name, function_object, func)
|
|
2863
2863
|
|
|
2864
|
-
# TODO: Remove this in 1.
|
|
2864
|
+
# TODO: Remove this in 1.11.0
|
|
2865
2865
|
@deprecated.deprecated(
|
|
2866
2866
|
version="1.8.0",
|
|
2867
|
-
reason="'remove_function' is deprecated and will be removed in 1.
|
|
2867
|
+
reason="'remove_function' is deprecated and will be removed in 1.11.0. "
|
|
2868
2868
|
"Please use `delete_function` instead.",
|
|
2869
2869
|
category=FutureWarning,
|
|
2870
2870
|
)
|
|
@@ -2892,9 +2892,9 @@ class MlrunProject(ModelObj):
|
|
|
2892
2892
|
|
|
2893
2893
|
:param name: name of the model-monitoring-function/s (under the project)
|
|
2894
2894
|
"""
|
|
2895
|
-
# TODO: Remove this in 1.
|
|
2895
|
+
# TODO: Remove this in 1.10.0
|
|
2896
2896
|
warnings.warn(
|
|
2897
|
-
"'remove_model_monitoring_function' is deprecated and will be removed in 1.
|
|
2897
|
+
"'remove_model_monitoring_function' is deprecated in 1.7.0 and will be removed in 1.10.0. "
|
|
2898
2898
|
"Please use `delete_model_monitoring_function` instead.",
|
|
2899
2899
|
FutureWarning,
|
|
2900
2900
|
)
|
|
@@ -4003,8 +4003,10 @@ class MlrunProject(ModelObj):
|
|
|
4003
4003
|
e.g. builder_env={"GIT_TOKEN": token}, does not work yet in KFP
|
|
4004
4004
|
:param overwrite_build_params: Overwrite existing build configuration (currently applies to
|
|
4005
4005
|
requirements and commands)
|
|
4006
|
+
|
|
4006
4007
|
* False: The new params are merged with the existing
|
|
4007
4008
|
* True: The existing params are replaced by the new ones
|
|
4009
|
+
|
|
4008
4010
|
:param extra_args: A string containing additional builder arguments in the format of command-line options,
|
|
4009
4011
|
e.g. extra_args="--skip-tls-verify --build-arg A=val"
|
|
4010
4012
|
:param force_build: force building the image, even when no changes were made
|
|
@@ -4055,8 +4057,10 @@ class MlrunProject(ModelObj):
|
|
|
4055
4057
|
:param requirements_file: requirements file to install on the built image
|
|
4056
4058
|
:param overwrite_build_params: Overwrite existing build configuration (currently applies to
|
|
4057
4059
|
requirements and commands)
|
|
4060
|
+
|
|
4058
4061
|
* False: The new params are merged with the existing
|
|
4059
4062
|
* True: The existing params are replaced by the new ones
|
|
4063
|
+
|
|
4060
4064
|
:param builder_env: Kaniko builder pod env vars dict (for config/credentials)
|
|
4061
4065
|
e.g. builder_env={"GIT_TOKEN": token}, does not work yet in KFP
|
|
4062
4066
|
:param extra_args: A string containing additional builder arguments in the format of command-line options,
|
|
@@ -4065,9 +4069,9 @@ class MlrunProject(ModelObj):
|
|
|
4065
4069
|
(by default `/home/mlrun_code`)
|
|
4066
4070
|
"""
|
|
4067
4071
|
if not overwrite_build_params:
|
|
4068
|
-
# TODO: change overwrite_build_params default to True in 1.
|
|
4072
|
+
# TODO: change overwrite_build_params default to True in 1.10.0
|
|
4069
4073
|
warnings.warn(
|
|
4070
|
-
"The `overwrite_build_params` parameter default will change from 'False' to 'True' in 1.
|
|
4074
|
+
"The `overwrite_build_params` parameter default will change from 'False' to 'True' in 1.10.0.",
|
|
4071
4075
|
mlrun.utils.OverwriteBuildParamsWarning,
|
|
4072
4076
|
)
|
|
4073
4077
|
default_image_name = mlrun.mlconf.default_project_image_name.format(
|
|
@@ -4128,8 +4132,10 @@ class MlrunProject(ModelObj):
|
|
|
4128
4132
|
e.g. builder_env={"GIT_TOKEN": token}, does not work yet in KFP
|
|
4129
4133
|
:param overwrite_build_params: Overwrite existing build configuration (currently applies to
|
|
4130
4134
|
requirements and commands)
|
|
4135
|
+
|
|
4131
4136
|
* False: The new params are merged with the existing
|
|
4132
4137
|
* True: The existing params are replaced by the new ones
|
|
4138
|
+
|
|
4133
4139
|
:param extra_args: A string containing additional builder arguments in the format of command-line options,
|
|
4134
4140
|
e.g. extra_args="--skip-tls-verify --build-arg A=val"
|
|
4135
4141
|
:param target_dir: Path on the image where source code would be extracted (by default `/home/mlrun_code`)
|
|
@@ -4142,9 +4148,9 @@ class MlrunProject(ModelObj):
|
|
|
4142
4148
|
)
|
|
4143
4149
|
|
|
4144
4150
|
if not overwrite_build_params:
|
|
4145
|
-
# TODO: change overwrite_build_params default to True in 1.
|
|
4151
|
+
# TODO: change overwrite_build_params default to True in 1.10.0
|
|
4146
4152
|
warnings.warn(
|
|
4147
|
-
"The `overwrite_build_params` parameter default will change from 'False' to 'True' in 1.
|
|
4153
|
+
"The `overwrite_build_params` parameter default will change from 'False' to 'True' in 1.10.0.",
|
|
4148
4154
|
mlrun.utils.OverwriteBuildParamsWarning,
|
|
4149
4155
|
)
|
|
4150
4156
|
|
|
@@ -4307,12 +4313,14 @@ class MlrunProject(ModelObj):
|
|
|
4307
4313
|
``my_Name_1`` or ``surname``.
|
|
4308
4314
|
:param tag: Return artifacts assigned this tag.
|
|
4309
4315
|
:param labels: Filter artifacts by label key-value pairs or key existence. This can be provided as:
|
|
4310
|
-
|
|
4311
|
-
|
|
4312
|
-
|
|
4313
|
-
|
|
4314
|
-
|
|
4315
|
-
|
|
4316
|
+
|
|
4317
|
+
- A dictionary in the format `{"label": "value"}` to match specific label key-value pairs,
|
|
4318
|
+
or `{"label": None}` to check for key existence.
|
|
4319
|
+
- A list of strings formatted as `"label=value"` to match specific label key-value pairs,
|
|
4320
|
+
or just `"label"` for key existence.
|
|
4321
|
+
- A comma-separated string formatted as `"label1=value1,label2"` to match entities with
|
|
4322
|
+
the specified key-value pairs or key existence.
|
|
4323
|
+
|
|
4316
4324
|
:param since: Not in use in :py:class:`HTTPRunDB`.
|
|
4317
4325
|
:param until: Not in use in :py:class:`HTTPRunDB`.
|
|
4318
4326
|
:param iter: Return artifacts from a specific iteration (where ``iter=0`` means the root iteration). If
|
|
@@ -4323,7 +4331,7 @@ class MlrunProject(ModelObj):
|
|
|
4323
4331
|
:param kind: Return artifacts of the requested kind.
|
|
4324
4332
|
:param category: Return artifacts of the requested category.
|
|
4325
4333
|
:param tree: Return artifacts of the requested tree.
|
|
4326
|
-
:param limit: Deprecated - Maximum number of artifacts to return (will be removed in 1.
|
|
4334
|
+
:param limit: Deprecated - Maximum number of artifacts to return (will be removed in 1.11.0).
|
|
4327
4335
|
:param format_: The format in which to return the artifacts. Default is 'full'.
|
|
4328
4336
|
:param partition_by: Field to group results by. When `partition_by` is specified, the `partition_sort_by`
|
|
4329
4337
|
parameter must be provided as well.
|
|
@@ -4336,9 +4344,9 @@ class MlrunProject(ModelObj):
|
|
|
4336
4344
|
db = mlrun.db.get_run_db(secrets=self._secrets)
|
|
4337
4345
|
|
|
4338
4346
|
if limit:
|
|
4339
|
-
# TODO: Remove this in 1.
|
|
4347
|
+
# TODO: Remove this in 1.11.0
|
|
4340
4348
|
warnings.warn(
|
|
4341
|
-
"'limit' is deprecated and will be removed in 1.
|
|
4349
|
+
"'limit' is deprecated and will be removed in 1.11.0. Use 'page' and 'page_size' instead.",
|
|
4342
4350
|
FutureWarning,
|
|
4343
4351
|
)
|
|
4344
4352
|
|
|
@@ -4454,12 +4462,14 @@ class MlrunProject(ModelObj):
|
|
|
4454
4462
|
``my_Name_1`` or ``surname``.
|
|
4455
4463
|
:param tag: Return artifacts assigned this tag.
|
|
4456
4464
|
:param labels: Filter model artifacts by label key-value pairs or key existence. This can be provided as:
|
|
4457
|
-
|
|
4458
|
-
|
|
4459
|
-
|
|
4460
|
-
|
|
4461
|
-
|
|
4462
|
-
|
|
4465
|
+
|
|
4466
|
+
- A dictionary in the format `{"label": "value"}` to match specific label key-value pairs,
|
|
4467
|
+
or `{"label": None}` to check for key existence.
|
|
4468
|
+
- A list of strings formatted as `"label=value"` to match specific label key-value pairs,
|
|
4469
|
+
or just `"label"` for key existence.
|
|
4470
|
+
- A comma-separated string formatted as `"label1=value1,label2"` to match entities with
|
|
4471
|
+
the specified key-value pairs or key existence.
|
|
4472
|
+
|
|
4463
4473
|
:param since: Not in use in :py:class:`HTTPRunDB`.
|
|
4464
4474
|
:param until: Not in use in :py:class:`HTTPRunDB`.
|
|
4465
4475
|
:param iter: Return artifacts from a specific iteration (where ``iter=0`` means the root iteration). If
|
|
@@ -4468,7 +4478,7 @@ class MlrunProject(ModelObj):
|
|
|
4468
4478
|
artifacts generated from a hyper-param run. If only a single iteration exists, will return the artifact
|
|
4469
4479
|
from that iteration. If using ``best_iter``, the ``iter`` parameter must not be used.
|
|
4470
4480
|
:param tree: Return artifacts of the requested tree.
|
|
4471
|
-
:param limit: Maximum number of artifacts to return.
|
|
4481
|
+
:param limit: Deprecated - Maximum number of artifacts to return (will be removed in 1.11.0).
|
|
4472
4482
|
:param format_: The format in which to return the artifacts. Default is 'full'.
|
|
4473
4483
|
"""
|
|
4474
4484
|
db = mlrun.db.get_run_db(secrets=self._secrets)
|
|
@@ -4565,12 +4575,14 @@ class MlrunProject(ModelObj):
|
|
|
4565
4575
|
:param name: Return only functions with a specific name.
|
|
4566
4576
|
:param tag: Return function versions with specific tags. To return only tagged functions, set tag to ``"*"``.
|
|
4567
4577
|
:param labels: Filter functions by label key-value pairs or key existence. This can be provided as:
|
|
4568
|
-
|
|
4569
|
-
|
|
4570
|
-
|
|
4571
|
-
|
|
4572
|
-
|
|
4573
|
-
|
|
4578
|
+
|
|
4579
|
+
- A dictionary in the format `{"label": "value"}` to match specific label key-value pairs,
|
|
4580
|
+
or `{"label": None}` to check for key existence.
|
|
4581
|
+
- A list of strings formatted as `"label=value"` to match specific label key-value pairs,
|
|
4582
|
+
or just `"label"` for key existence.
|
|
4583
|
+
- A comma-separated string formatted as `"label1=value1,label2"` to match entities with
|
|
4584
|
+
the specified key-value pairs or key existence.
|
|
4585
|
+
|
|
4574
4586
|
:param kind: Return functions of the specified kind. If not provided, all function kinds will be returned.
|
|
4575
4587
|
:param format_: The format in which to return the functions. Default is 'full'.
|
|
4576
4588
|
:returns: List of function objects.
|
|
@@ -4664,12 +4676,14 @@ class MlrunProject(ModelObj):
|
|
|
4664
4676
|
:param name: Return only functions with a specific name.
|
|
4665
4677
|
:param tag: Return function versions with specific tags.
|
|
4666
4678
|
:param labels: Filter functions by label key-value pairs or key existence. This can be provided as:
|
|
4667
|
-
|
|
4668
|
-
|
|
4669
|
-
|
|
4670
|
-
|
|
4671
|
-
|
|
4672
|
-
|
|
4679
|
+
|
|
4680
|
+
- A dictionary in the format `{"label": "value"}` to match specific label key-value pairs,
|
|
4681
|
+
or `{"label": None}` to check for key existence.
|
|
4682
|
+
- A list of strings formatted as `"label=value"` to match specific label key-value pairs,
|
|
4683
|
+
or just `"label"` for key existence.
|
|
4684
|
+
- A comma-separated string formatted as `"label1=value1,label2"` to match entities with
|
|
4685
|
+
the specified key-value pairs or key existence.
|
|
4686
|
+
|
|
4673
4687
|
:returns: List of function objects.
|
|
4674
4688
|
"""
|
|
4675
4689
|
|
|
@@ -4725,17 +4739,19 @@ class MlrunProject(ModelObj):
|
|
|
4725
4739
|
:param name: Name of the run to retrieve.
|
|
4726
4740
|
:param uid: Unique ID of the run.
|
|
4727
4741
|
:param labels: Filter runs by label key-value pairs or key existence. This can be provided as:
|
|
4728
|
-
|
|
4729
|
-
|
|
4730
|
-
|
|
4731
|
-
|
|
4732
|
-
|
|
4733
|
-
|
|
4742
|
+
|
|
4743
|
+
- A dictionary in the format `{"label": "value"}` to match specific label key-value pairs,
|
|
4744
|
+
or `{"label": None}` to check for key existence.
|
|
4745
|
+
- A list of strings formatted as `"label=value"` to match specific label key-value pairs,
|
|
4746
|
+
or just `"label"` for key existence.
|
|
4747
|
+
- A comma-separated string formatted as `"label1=value1,label2"` to match entities with
|
|
4748
|
+
the specified key-value pairs or key existence.
|
|
4749
|
+
|
|
4734
4750
|
:param state: Deprecated - List only runs whose state is specified.
|
|
4735
4751
|
:param states: List only runs whose state is one of the provided states.
|
|
4736
4752
|
:param sort: Whether to sort the result according to their start time. Otherwise, results will be
|
|
4737
4753
|
returned by their internal order in the DB (order will not be guaranteed).
|
|
4738
|
-
:param last: Deprecated - currently not used (will be removed in 1.
|
|
4754
|
+
:param last: Deprecated - currently not used (will be removed in 1.10.0).
|
|
4739
4755
|
:param iter: If ``True`` return runs from all iterations. Otherwise, return only runs whose ``iter`` is 0.
|
|
4740
4756
|
:param start_time_from: Filter by run start time in ``[start_time_from, start_time_to]``.
|
|
4741
4757
|
:param start_time_to: Filter by run start time in ``[start_time_from, start_time_to]``.
|
|
@@ -4746,9 +4762,9 @@ class MlrunProject(ModelObj):
|
|
|
4746
4762
|
:param end_time_to: Filter by run end time in ``[end_time_from, end_time_to]``.
|
|
4747
4763
|
"""
|
|
4748
4764
|
if state:
|
|
4749
|
-
# TODO: Remove this in 1.
|
|
4765
|
+
# TODO: Remove this in 1.10.0
|
|
4750
4766
|
warnings.warn(
|
|
4751
|
-
"'state' is deprecated and will be removed in 1.
|
|
4767
|
+
"'state' is deprecated in 1.7.0 and will be removed in 1.10.0. Use 'states' instead.",
|
|
4752
4768
|
FutureWarning,
|
|
4753
4769
|
)
|
|
4754
4770
|
|
mlrun/run.py
CHANGED
|
@@ -261,7 +261,7 @@ def get_or_create_ctx(
|
|
|
261
261
|
"""
|
|
262
262
|
if labels:
|
|
263
263
|
warnings.warn(
|
|
264
|
-
"The `labels` argument is deprecated and will be removed in 1.
|
|
264
|
+
"The `labels` argument is deprecated in 1.7.0 and will be removed in 1.10.0. "
|
|
265
265
|
"Please use `spec` instead, e.g.:\n"
|
|
266
266
|
"spec={'metadata': {'labels': {'key': 'value'}}}",
|
|
267
267
|
FutureWarning,
|
mlrun/runtimes/base.py
CHANGED
|
@@ -148,10 +148,10 @@ class FunctionSpec(ModelObj):
|
|
|
148
148
|
|
|
149
149
|
@property
|
|
150
150
|
def clone_target_dir(self):
|
|
151
|
-
# TODO: remove this property in 1.
|
|
151
|
+
# TODO: remove this property in 1.10.0
|
|
152
152
|
if self.build.source_code_target_dir:
|
|
153
153
|
warnings.warn(
|
|
154
|
-
"The clone_target_dir attribute is deprecated in 1.6.2 and will be removed in 1.
|
|
154
|
+
"The clone_target_dir attribute is deprecated in 1.6.2 and will be removed in 1.10.0. "
|
|
155
155
|
"Use spec.build.source_code_target_dir instead.",
|
|
156
156
|
FutureWarning,
|
|
157
157
|
)
|
|
@@ -159,10 +159,10 @@ class FunctionSpec(ModelObj):
|
|
|
159
159
|
|
|
160
160
|
@clone_target_dir.setter
|
|
161
161
|
def clone_target_dir(self, clone_target_dir):
|
|
162
|
-
# TODO: remove this property in 1.
|
|
162
|
+
# TODO: remove this property in 1.10.0
|
|
163
163
|
if clone_target_dir:
|
|
164
164
|
warnings.warn(
|
|
165
|
-
"The clone_target_dir attribute is deprecated in 1.6.2 and will be removed in 1.
|
|
165
|
+
"The clone_target_dir attribute is deprecated in 1.6.2 and will be removed in 1.10.0. "
|
|
166
166
|
"Use spec.build.source_code_target_dir instead.",
|
|
167
167
|
FutureWarning,
|
|
168
168
|
)
|
mlrun/runtimes/kubejob.py
CHANGED
|
@@ -114,9 +114,9 @@ class KubejobRuntime(KubeResource):
|
|
|
114
114
|
e.g. builder_env={"GIT_TOKEN": token}
|
|
115
115
|
"""
|
|
116
116
|
if not overwrite:
|
|
117
|
-
# TODO: change overwrite default to True in 1.
|
|
117
|
+
# TODO: change overwrite default to True in 1.10.0
|
|
118
118
|
warnings.warn(
|
|
119
|
-
"The `overwrite` parameter default will change from 'False' to 'True' in 1.
|
|
119
|
+
"The `overwrite` parameter default will change from 'False' to 'True' in 1.10.0.",
|
|
120
120
|
mlrun.utils.OverwriteBuildParamsWarning,
|
|
121
121
|
)
|
|
122
122
|
image = mlrun.utils.helpers.remove_image_protocol_prefix(image)
|
|
@@ -623,9 +623,9 @@ class RemoteRuntime(KubeResource):
|
|
|
623
623
|
:param force_build: set True for force building the image
|
|
624
624
|
"""
|
|
625
625
|
if auth_info:
|
|
626
|
-
# TODO: remove in 1.
|
|
626
|
+
# TODO: remove in 1.10.0
|
|
627
627
|
warnings.warn(
|
|
628
|
-
"'auth_info' is deprecated for nuclio runtimes in 1.7.0 and will be removed in 1.
|
|
628
|
+
"'auth_info' is deprecated for nuclio runtimes in 1.7.0 and will be removed in 1.10.0",
|
|
629
629
|
FutureWarning,
|
|
630
630
|
)
|
|
631
631
|
|
mlrun/runtimes/nuclio/serving.py
CHANGED
|
@@ -44,7 +44,7 @@ from .function import NuclioSpec, RemoteRuntime, min_nuclio_versions
|
|
|
44
44
|
serving_subkind = "serving_v2"
|
|
45
45
|
|
|
46
46
|
if TYPE_CHECKING:
|
|
47
|
-
# remove this block in 1.
|
|
47
|
+
# remove this block in 1.10.0
|
|
48
48
|
from mlrun.model_monitoring import TrackingPolicy
|
|
49
49
|
|
|
50
50
|
|
|
@@ -361,8 +361,8 @@ class ServingRuntime(RemoteRuntime):
|
|
|
361
361
|
if batch:
|
|
362
362
|
warnings.warn(
|
|
363
363
|
"The `batch` size parameter was deprecated in version 1.8.0 and is no longer used. "
|
|
364
|
-
"It will be removed in 1.
|
|
365
|
-
# TODO: Remove this in 1.
|
|
364
|
+
"It will be removed in 1.11.",
|
|
365
|
+
# TODO: Remove this in 1.11
|
|
366
366
|
FutureWarning,
|
|
367
367
|
)
|
|
368
368
|
if stream_args:
|
|
@@ -370,7 +370,7 @@ class ServingRuntime(RemoteRuntime):
|
|
|
370
370
|
if tracking_policy is not None:
|
|
371
371
|
warnings.warn(
|
|
372
372
|
"The `tracking_policy` argument is deprecated from version 1.7.0 "
|
|
373
|
-
"and has no effect. It will be removed in 1.
|
|
373
|
+
"and has no effect. It will be removed in 1.10.0.\n"
|
|
374
374
|
"To set the desired model monitoring time window and schedule, use "
|
|
375
375
|
"the `base_period` argument in `project.enable_model_monitoring()`.",
|
|
376
376
|
FutureWarning,
|
mlrun/runtimes/utils.py
CHANGED
|
@@ -437,7 +437,7 @@ def enrich_run_labels(
|
|
|
437
437
|
):
|
|
438
438
|
labels_enrichment = {
|
|
439
439
|
RunLabels.owner: os.environ.get("V3IO_USERNAME") or getpass.getuser(),
|
|
440
|
-
# TODO: remove this in 1.
|
|
440
|
+
# TODO: remove this in 1.10.0
|
|
441
441
|
RunLabels.v3io_user: os.environ.get("V3IO_USERNAME"),
|
|
442
442
|
}
|
|
443
443
|
labels_to_enrich = labels_to_enrich or RunLabels.all()
|
mlrun/utils/version/version.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mlrun
|
|
3
|
-
Version: 1.8.
|
|
3
|
+
Version: 1.8.0rc60
|
|
4
4
|
Summary: Tracking and config of machine learning runs
|
|
5
5
|
Home-page: https://github.com/mlrun/mlrun
|
|
6
6
|
Author: Yaron Haviv
|
|
@@ -51,7 +51,7 @@ Requires-Dist: setuptools>=75.2
|
|
|
51
51
|
Requires-Dist: deprecated~=1.2
|
|
52
52
|
Requires-Dist: jinja2>=3.1.3,~=3.1
|
|
53
53
|
Requires-Dist: orjson<4,>=3.9.15
|
|
54
|
-
Requires-Dist: mlrun-pipelines-kfp-common~=0.3.
|
|
54
|
+
Requires-Dist: mlrun-pipelines-kfp-common~=0.3.15
|
|
55
55
|
Requires-Dist: mlrun-pipelines-kfp-v1-8~=0.3.10; python_version < "3.11"
|
|
56
56
|
Requires-Dist: docstring_parser~=0.16
|
|
57
57
|
Requires-Dist: aiosmtplib~=3.0
|
|
@@ -2,24 +2,24 @@ mlrun/__init__.py,sha256=Cqm9U9eCEdLpMejhU2BEhubu0mHL71igJJIwYa738EA,7450
|
|
|
2
2
|
mlrun/__main__.py,sha256=0NDzPf9VFRO8KFfGgb8mkGUPIDS285aASV8Hbxs-ND0,45920
|
|
3
3
|
mlrun/config.py,sha256=xxmIe0g1YP2Y5_R_uQjP3w6v_4lA7iTjXhAyojdY08I,71929
|
|
4
4
|
mlrun/errors.py,sha256=LkcbXTLANGdsgo2CRX2pdbyNmt--lMsjGv0XZMgP-Nc,8222
|
|
5
|
-
mlrun/execution.py,sha256=
|
|
5
|
+
mlrun/execution.py,sha256=rss4zA5M9tOCnSaXrK_-_BQ5F5DfF9OzesgQliq7jvQ,50008
|
|
6
6
|
mlrun/features.py,sha256=ReBaNGsBYXqcbgI012n-SO_j6oHIbk_Vpv0CGPXbUmo,15842
|
|
7
7
|
mlrun/k8s_utils.py,sha256=-RmKAlSBo_qVeJa1bIiwi6TUyuEpb4AhF7wIQ_H5ZJ0,8909
|
|
8
8
|
mlrun/lists.py,sha256=-nbmqScRia0v2IdSHt6Pd0fLRLSEtdB9bSxyD92BWvs,8562
|
|
9
9
|
mlrun/model.py,sha256=5YedJfY9La867fhW8sZJdWb4FwyXPR1r1C5SqYyB4_w,85864
|
|
10
10
|
mlrun/render.py,sha256=5DlhD6JtzHgmj5RVlpaYiHGhX84Q7qdi4RCEUj2UMgw,13195
|
|
11
|
-
mlrun/run.py,sha256=
|
|
11
|
+
mlrun/run.py,sha256=vEgESyKS6mwl6L4qtU71HtoaVQSzbxQguJESGdndyEc,45122
|
|
12
12
|
mlrun/secrets.py,sha256=dZPdkc_zzfscVQepOHUwmzFqnBavDCBXV9DQoH_eIYM,7800
|
|
13
13
|
mlrun/alerts/__init__.py,sha256=0gtG1BG0DXxFrXegIkjbM1XEN4sP9ODo0ucXrNld1hU,601
|
|
14
14
|
mlrun/alerts/alert.py,sha256=QQFZGydQbx9RvAaSiaH-ALQZVcDKQX5lgizqj_rXW2k,15948
|
|
15
15
|
mlrun/api/schemas/__init__.py,sha256=tVAnpexDkfI0JWMJNlPSnVOzoV4xqIjWGSln9UkPS4I,13921
|
|
16
16
|
mlrun/artifacts/__init__.py,sha256=ofC2extBCOC1wg1YtdTzWzH3eeG_f-sFBUkHjYtZJpk,1175
|
|
17
|
-
mlrun/artifacts/base.py,sha256=
|
|
18
|
-
mlrun/artifacts/dataset.py,sha256=
|
|
17
|
+
mlrun/artifacts/base.py,sha256=mQnDToP65cgXzhWUBNOT3ObkO_FqltHNVDEn7nFgDRQ,29982
|
|
18
|
+
mlrun/artifacts/dataset.py,sha256=p8Rk0yrBUszh4pe7VLfcUK9piD-J_UX_X6gU5fYCyQg,16665
|
|
19
19
|
mlrun/artifacts/document.py,sha256=3X1i27NYSd-cOcX-lEvaNTUvwS2UKWXW2EnlfWokrVk,17374
|
|
20
20
|
mlrun/artifacts/manager.py,sha256=bqp2-VgThx5RAGEui6LwTA9EMNNq6Vu1Z_-yjBpk92c,16212
|
|
21
|
-
mlrun/artifacts/model.py,sha256=
|
|
22
|
-
mlrun/artifacts/plots.py,sha256=
|
|
21
|
+
mlrun/artifacts/model.py,sha256=J5b8zODrpx5ULtsgS9RGKqzMXYs7ADacE0BLBglmhrs,22239
|
|
22
|
+
mlrun/artifacts/plots.py,sha256=TxOHBaGbj7fEKNTHVIM_uxQjqPLpU3Rh1pqGh2_inuo,4833
|
|
23
23
|
mlrun/common/__init__.py,sha256=xY3wHC4TEJgez7qtnn1pQvHosi8-5UJOCtyGBS7FcGE,571
|
|
24
24
|
mlrun/common/constants.py,sha256=14xMUX9C5BB-LxsTlMTJQf_Xz2DyRjaK9yeR5dadcDU,3426
|
|
25
25
|
mlrun/common/helpers.py,sha256=DIdqs_eN3gO5bZ8iFobIvx8cEiOxYxhFIyut6-O69T0,1385
|
|
@@ -38,11 +38,11 @@ mlrun/common/formatters/project.py,sha256=0G4lhcTAsxQCxd40dKC4894cMH8nKt03BcGyp9
|
|
|
38
38
|
mlrun/common/formatters/run.py,sha256=Gcf9lVDqxPMNfWcPX0RJasjTC_N_U0yTBkQ02jOPJ7A,1062
|
|
39
39
|
mlrun/common/model_monitoring/__init__.py,sha256=kXGBqhLN0rlAx0kTXhozGzFsIdSqW0uTSKMmsLgq_is,569
|
|
40
40
|
mlrun/common/model_monitoring/helpers.py,sha256=AkuHz4u318MEP4ebxmNWlNXh6HiNLrI5oF7QvJiJkYc,2707
|
|
41
|
-
mlrun/common/runtimes/constants.py,sha256=
|
|
41
|
+
mlrun/common/runtimes/constants.py,sha256=FU9VdepuakXCt6zk9MLobelQjsFWtnuqZ5pQMSpphuk,12325
|
|
42
42
|
mlrun/common/schemas/__init__.py,sha256=tNeYsylPAgG-3YI_Foka80alqm0JoCpXtuS_nDZzuaU,5324
|
|
43
43
|
mlrun/common/schemas/alert.py,sha256=tRsjHEQTjCb-83GS0mprsu5junvqL4aQjWN2Rt_yAaM,10183
|
|
44
44
|
mlrun/common/schemas/api_gateway.py,sha256=3a0QxECLmoDkD5IiOKtXJL-uiWB26Hg55WMA3nULYuI,7127
|
|
45
|
-
mlrun/common/schemas/artifact.py,sha256=
|
|
45
|
+
mlrun/common/schemas/artifact.py,sha256=RRnURzGiBYDZKc4gB-giyywDhkp3ttnsObgJNy-QqEE,4250
|
|
46
46
|
mlrun/common/schemas/auth.py,sha256=qYOCDbK-k7GTjwLseqGoxwcR-rdIbG2k7ct29M0sPUI,6880
|
|
47
47
|
mlrun/common/schemas/background_task.py,sha256=ofWRAQGGEkXEu79Dbw7tT_5GPolR09Lc3Ebg2r0fT24,1728
|
|
48
48
|
mlrun/common/schemas/client_spec.py,sha256=iQpxwPoWkrHaxta5qKY78loxmMNsbjCz9Y1O9BTeeZQ,2875
|
|
@@ -62,10 +62,10 @@ mlrun/common/schemas/notification.py,sha256=WDdGhFII--zII5XebfkTdse8reMgKeVCYXlg
|
|
|
62
62
|
mlrun/common/schemas/object.py,sha256=0vftHJcicAm87Hfgi_SdyQEqokoZRE4IEHHRPx34hNQ,1983
|
|
63
63
|
mlrun/common/schemas/pagination.py,sha256=8NEmiIkCXw5_sv-lE0MWgWz-WpxhSSn-vBtbPDBOGXc,899
|
|
64
64
|
mlrun/common/schemas/partition.py,sha256=MI8f7EbJ42RyVBLYVIjL6cjkWoL6Wgjdi-XbaUqQM3M,5921
|
|
65
|
-
mlrun/common/schemas/pipeline.py,sha256=
|
|
66
|
-
mlrun/common/schemas/project.py,sha256=
|
|
65
|
+
mlrun/common/schemas/pipeline.py,sha256=Z5nDr5WTzIgfBqnij_jvHkN_ep7xmOWNldCP60zv9qA,1436
|
|
66
|
+
mlrun/common/schemas/project.py,sha256=HHfaGbbRVVJuJPupHAEfW8jaxhcTDof3NiV61UC3MiU,6511
|
|
67
67
|
mlrun/common/schemas/regex.py,sha256=8_vbDeAE0SODJDj7yUFg1FbaB9CNydYQTJ29JxE74Kc,776
|
|
68
|
-
mlrun/common/schemas/runs.py,sha256
|
|
68
|
+
mlrun/common/schemas/runs.py,sha256=Lo95LJVcLlYNkepgljxKC7VnMfnYNidcmdxKu2-jz0E,1275
|
|
69
69
|
mlrun/common/schemas/runtime_resource.py,sha256=74EGmk1iODg-wV0cn2ew44ZX20nqJMowgj-gNsh0vyU,1569
|
|
70
70
|
mlrun/common/schemas/schedule.py,sha256=LTWdZ4FvKDGkmmfyqKoBQ36VFqnnyIYLnq1I6qrTPyo,4292
|
|
71
71
|
mlrun/common/schemas/secret.py,sha256=CCxFYiPwJtDxwg2VVJH9nUG9cAZ2a34IjeuaWv-BYlc,1487
|
|
@@ -86,7 +86,7 @@ mlrun/datastore/alibaba_oss.py,sha256=k-OHVe08HjMewlkpsT657CbOiVFAfSq9_EqhCE-k86
|
|
|
86
86
|
mlrun/datastore/azure_blob.py,sha256=SzAcHYSXkm8Zpopz2Ea-rWVClH0URocUazcNK04S9W0,12776
|
|
87
87
|
mlrun/datastore/base.py,sha256=9R3lwB_L4hv5WW2q24WS62_KTh-wO4UG6pwzISZU6bM,26231
|
|
88
88
|
mlrun/datastore/datastore.py,sha256=AXXPgHpSG8Ig1RtTDGfdCJu4UT-AQPC43FGBOptIVOg,9484
|
|
89
|
-
mlrun/datastore/datastore_profile.py,sha256=
|
|
89
|
+
mlrun/datastore/datastore_profile.py,sha256=JIH7GYlC40pdaqO8xwYp52dO8QFEB8le021kFINFh4k,23862
|
|
90
90
|
mlrun/datastore/dbfs_store.py,sha256=QkDRzwFnvm7CgEg4NuGxes6tBgKDyhX0CiBUvK8c9pk,6568
|
|
91
91
|
mlrun/datastore/filestore.py,sha256=OcykjzhbUAZ6_Cb9bGAXRL2ngsOpxXSb4rR0lyogZtM,3773
|
|
92
92
|
mlrun/datastore/google_cloud_storage.py,sha256=MnToY6irdhBZ8Wcapqnr1Yq2724LAh2uPO7MAtdWfUY,8716
|
|
@@ -95,22 +95,22 @@ mlrun/datastore/inmem.py,sha256=IsM83nn-3CqmGdLzim7i9ZmJwG6ZGhBZGN6_hszWZnE,2951
|
|
|
95
95
|
mlrun/datastore/redis.py,sha256=QeNMkSz3zQXiXZhFUZcEtViqqbUysGJditbqe5M-J48,5682
|
|
96
96
|
mlrun/datastore/s3.py,sha256=lD4Fs69rwMeISovZzOxRdz_z9FuffysTdjJA9ybdnLA,9262
|
|
97
97
|
mlrun/datastore/snowflake_utils.py,sha256=Wohvnlmq8j1d98RCaknll-iWdZZpSlCrKhUOEy0_-CA,1483
|
|
98
|
-
mlrun/datastore/sources.py,sha256=
|
|
98
|
+
mlrun/datastore/sources.py,sha256=KTIsddAHNnpZoMv5i_6Rz2WjuKt6mFvhEFU899SgT20,48978
|
|
99
99
|
mlrun/datastore/spark_udf.py,sha256=NnnB3DZxZb-rqpRy7b-NC7QWXuuqFn3XkBDc86tU4mQ,1498
|
|
100
100
|
mlrun/datastore/spark_utils.py,sha256=_AsVoU5Ix_-W7Gyq8io8V-2GTk0m8THJNDP3WGGaWJY,2865
|
|
101
101
|
mlrun/datastore/store_resources.py,sha256=PFOMrZ6KH6hBOb0PiO-cHx_kv0UpHu5P2t8_mrR-lS4,6842
|
|
102
102
|
mlrun/datastore/storeytargets.py,sha256=dSy9wr4IyxrIE1GHBxzVEeEY1sdU66s4w-oUuaIfa2U,6620
|
|
103
|
-
mlrun/datastore/targets.py,sha256=
|
|
104
|
-
mlrun/datastore/utils.py,sha256=
|
|
103
|
+
mlrun/datastore/targets.py,sha256=w_UGKiOaonXUKbbxG-9XryWcdTezbzhHB2UjfgE76dM,81213
|
|
104
|
+
mlrun/datastore/utils.py,sha256=akkc-d9DJOUXCGJGhUyWilQ1an-Pz7W6aDCEzXv3_bA,10614
|
|
105
105
|
mlrun/datastore/v3io.py,sha256=QSYBORRLcJTeM9mt0EaWzyLcdmzrPkqrF7k5uLTam5U,8209
|
|
106
106
|
mlrun/datastore/vectorstore.py,sha256=k-yom5gfw20hnVG0Rg7aBEehuXwvAloZwn0cx0VGals,11708
|
|
107
107
|
mlrun/datastore/wasbfs/__init__.py,sha256=s5Ul-0kAhYqFjKDR2X0O2vDGDbLQQduElb32Ev56Te4,1343
|
|
108
108
|
mlrun/datastore/wasbfs/fs.py,sha256=ge8NK__5vTcFT-krI155_8RDUywQw4SIRX6BWATXy9Q,6299
|
|
109
109
|
mlrun/db/__init__.py,sha256=WqJ4x8lqJ7ZoKbhEyFqkYADd9P6E3citckx9e9ZLcIU,1163
|
|
110
110
|
mlrun/db/auth_utils.py,sha256=hpg8D2r82oN0BWabuWN04BTNZ7jYMAF242YSUpK7LFM,5211
|
|
111
|
-
mlrun/db/base.py,sha256=
|
|
111
|
+
mlrun/db/base.py,sha256=lfPEPUBXPdmzXUhFD0hDBBWXdV7HXfcsz9Gj_AMLllg,30819
|
|
112
112
|
mlrun/db/factory.py,sha256=yP2vVmveUE7LYTCHbS6lQIxP9rW--zdISWuPd_I3d_4,2111
|
|
113
|
-
mlrun/db/httpdb.py,sha256=
|
|
113
|
+
mlrun/db/httpdb.py,sha256=p2IIJxkc_q3xAKymIzX3Ic3ep60X6bpQ6PZRe9s0fyY,232763
|
|
114
114
|
mlrun/db/nopdb.py,sha256=ttC1pe95rZdMgiLG9kzrjZFYB1gWj3SEqeqK5c0q0w4,27197
|
|
115
115
|
mlrun/feature_store/__init__.py,sha256=SlI845bWt6xX34SXunHHqhmFAR9-5v2ak8N-qpcAPGo,1328
|
|
116
116
|
mlrun/feature_store/api.py,sha256=qKj5Tk6prTab6XWatWhBuPRVp0eJEctoxRMN2wz48vA,32168
|
|
@@ -132,7 +132,7 @@ mlrun/frameworks/parallel_coordinates.py,sha256=UuZ0b0ACsaaH0rDya_0YMOWwaH6zhEyD
|
|
|
132
132
|
mlrun/frameworks/_common/__init__.py,sha256=1ovfHxNW8V9ERVVZx8lPFVGBtsXHaHli7pZPR-Ixn8g,860
|
|
133
133
|
mlrun/frameworks/_common/artifacts_library.py,sha256=O0z74o3Z6k5NruTqXMLDugZ6midOmSFqNlt7WhYIRP8,8517
|
|
134
134
|
mlrun/frameworks/_common/mlrun_interface.py,sha256=gjNV_siKyJ7xZdwoH8uvRmPuuQrc8WjnhoXr3GUCkAc,21093
|
|
135
|
-
mlrun/frameworks/_common/model_handler.py,sha256=
|
|
135
|
+
mlrun/frameworks/_common/model_handler.py,sha256=NpYyGpYUJLJCH3-kOntyzo1WO1baTLdwVeXHI_BagV4,55530
|
|
136
136
|
mlrun/frameworks/_common/plan.py,sha256=Yr98b5lkCV0K0u_krnU8gZJiXj14xfrFjJ6xD6QJdn0,3444
|
|
137
137
|
mlrun/frameworks/_common/producer.py,sha256=R67XRbiz1bk0XNvuW7ybbA4v6o6Q5qzD0h3AkC-tM1A,5766
|
|
138
138
|
mlrun/frameworks/_common/utils.py,sha256=NqoKbgj6UGPMBNhpK6mkKK4GOt5ko1lDqExFhQm9oEc,9131
|
|
@@ -218,13 +218,13 @@ mlrun/launcher/factory.py,sha256=RW7mfzEFi8fR0M-4W1JQg1iq3_muUU6OTqT_3l4Ubrk,233
|
|
|
218
218
|
mlrun/launcher/local.py,sha256=775HY-8S9LFUX5ubGXrLO0N1lVh8bn-DHFmNYuNqQPA,11451
|
|
219
219
|
mlrun/launcher/remote.py,sha256=rLJW4UAnUT5iUb4BsGBOAV3K4R29a0X4lFtRkVKlyYU,7709
|
|
220
220
|
mlrun/model_monitoring/__init__.py,sha256=ELy7njEtZnz09Dc6PGZSFFEGtnwI15bJNWM3Pj4_YIs,753
|
|
221
|
-
mlrun/model_monitoring/api.py,sha256=
|
|
222
|
-
mlrun/model_monitoring/controller.py,sha256=
|
|
221
|
+
mlrun/model_monitoring/api.py,sha256=qGQripjfaaSactOs-0TK7-DIocXQNhy_znqR2eYT8Ug,28321
|
|
222
|
+
mlrun/model_monitoring/controller.py,sha256=p4UphE9y-YN_ndZQykvPvJow2sAhnYj3nkuJmyIzvf4,37661
|
|
223
223
|
mlrun/model_monitoring/features_drift_table.py,sha256=c6GpKtpOJbuT1u5uMWDL_S-6N4YPOmlktWMqPme3KFY,25308
|
|
224
224
|
mlrun/model_monitoring/helpers.py,sha256=8QsoYRPOVSnR3Lcv99m4XYrp_cR6hSqBUflYSOkJmFQ,21019
|
|
225
225
|
mlrun/model_monitoring/stream_processing.py,sha256=Gu3TQzYoNjbreZYI73-F49QpYrod9RZOyGSgininBsA,33373
|
|
226
|
-
mlrun/model_monitoring/tracking_policy.py,sha256=
|
|
227
|
-
mlrun/model_monitoring/writer.py,sha256=
|
|
226
|
+
mlrun/model_monitoring/tracking_policy.py,sha256=LldBBEUS9uxyC09wo4Ff1z692FzAbSy93gJYGQHXGIw,5596
|
|
227
|
+
mlrun/model_monitoring/writer.py,sha256=rgoD1iwlqJiRdiuKY5yrSvs_wV5RD_2Ie4R4BLqZOWw,8429
|
|
228
228
|
mlrun/model_monitoring/applications/__init__.py,sha256=xDBxkBjl-whHSG_4t1mLkxiypLH-fzn8TmAW9Mjo2uI,759
|
|
229
229
|
mlrun/model_monitoring/applications/_application_steps.py,sha256=mjuBVqa7KY_Ymoo8DzddthUpBZyfio2e4O5ce-d-2eY,8444
|
|
230
230
|
mlrun/model_monitoring/applications/base.py,sha256=f73LycKUG85invl6l7V4MRiRd1bx8jmepayrpwpr3c0,25131
|
|
@@ -232,7 +232,7 @@ mlrun/model_monitoring/applications/context.py,sha256=VfyPCIdO4z73uqFcJs87jzSI4P
|
|
|
232
232
|
mlrun/model_monitoring/applications/histogram_data_drift.py,sha256=2qgfFmrpHf-x0_EaHD-0T28piwSQzw-HH71aV1GwbZs,15389
|
|
233
233
|
mlrun/model_monitoring/applications/results.py,sha256=_qmj6TWT0SR2bi7gUyRKBU418eGgGoLW2_hTJ7S-ock,5782
|
|
234
234
|
mlrun/model_monitoring/applications/evidently/__init__.py,sha256=-DqdPnBSrjZhFvKOu_Ie3MiFvlur9sPTZpZ1u0_1AE8,690
|
|
235
|
-
mlrun/model_monitoring/applications/evidently/base.py,sha256=
|
|
235
|
+
mlrun/model_monitoring/applications/evidently/base.py,sha256=shH9YwuFrGNWy1IDAbv622l-GE4o1z_u1bqhqTyTHDA,5661
|
|
236
236
|
mlrun/model_monitoring/db/__init__.py,sha256=r47xPGZpIfMuv8J3PQCZTSqVPMhUta4sSJCZFKcS7FM,644
|
|
237
237
|
mlrun/model_monitoring/db/_schedules.py,sha256=RWn4wtKsIXg668gMLpxO9I8GlkxvPSaA5y7w-wFDcgE,9048
|
|
238
238
|
mlrun/model_monitoring/db/_stats.py,sha256=VVMWLMqG3Us3ozBkLaokJF22Ewv8WKmVE1-OvS_g9vA,6943
|
|
@@ -269,21 +269,21 @@ mlrun/package/utils/type_hint_utils.py,sha256=JYrek6vuN3z7e6MGUD3qBLDfQ03C4puZXN
|
|
|
269
269
|
mlrun/platforms/__init__.py,sha256=ZuyeHCHHUxYEoZRmaJqzFSfwhaTyUdBZXMeVp75ql1w,3551
|
|
270
270
|
mlrun/platforms/iguazio.py,sha256=6VBTq8eQ3mzT96tzjYhAtcMQ2VjF4x8LpIPW5DAcX2Q,13749
|
|
271
271
|
mlrun/projects/__init__.py,sha256=0Krf0WIKfnZa71WthYOg0SoaTodGg3sV_hK3f_OlTPI,1220
|
|
272
|
-
mlrun/projects/operations.py,sha256=
|
|
272
|
+
mlrun/projects/operations.py,sha256=9ntpM8WnnyRk1iCY0NDKW-3aR4j2QZPSJM0SdMnsQKs,20032
|
|
273
273
|
mlrun/projects/pipelines.py,sha256=wud7ezeEmhIJvfYE_wzQbA4ygEfGXHtbOtoOpan6poY,48556
|
|
274
|
-
mlrun/projects/project.py,sha256=
|
|
274
|
+
mlrun/projects/project.py,sha256=O3oeg5ZZLvsvftN_T6syB1xQJ7e1eFg37mrlIaL4VCY,237075
|
|
275
275
|
mlrun/runtimes/__init__.py,sha256=J9Sy2HiyMlztNv6VUurMzF5H2XzttNil8nRsWDsqLyg,8923
|
|
276
|
-
mlrun/runtimes/base.py,sha256=
|
|
276
|
+
mlrun/runtimes/base.py,sha256=m347abcZRdI8654wBJea9D2GBRlkv_prz9UrA5ihlkA,37859
|
|
277
277
|
mlrun/runtimes/daskjob.py,sha256=JwuGvOiPsxEDHHMMUS4Oie4hLlYYIZwihAl6DjroTY0,19521
|
|
278
278
|
mlrun/runtimes/funcdoc.py,sha256=zRFHrJsV8rhDLJwoUhcfZ7Cs0j-tQ76DxwUqdXV_Wyc,9810
|
|
279
279
|
mlrun/runtimes/function_reference.py,sha256=fnMKUEieKgy4JyVLhFpDtr6JvKgOaQP8F_K2H3-Pk9U,5030
|
|
280
280
|
mlrun/runtimes/generators.py,sha256=X8NDlCEPveDDPOHtOGcSpbl3pAVM3DP7fuPj5xVhxEY,7290
|
|
281
|
-
mlrun/runtimes/kubejob.py,sha256=
|
|
281
|
+
mlrun/runtimes/kubejob.py,sha256=xt6NyPiIiPYmGDFtTe4RHF-zhrFdgwcnRr2NQEBB5NI,8799
|
|
282
282
|
mlrun/runtimes/local.py,sha256=yedo3R1c46cB1mX7aOz8zORXswQPvX86U-_fYxXoqTY,22717
|
|
283
283
|
mlrun/runtimes/mounts.py,sha256=2dkoktm3TXHe4XHmRhvC0UfvWzq2vy_13MeaW7wgyPo,18735
|
|
284
284
|
mlrun/runtimes/pod.py,sha256=kjnDKOQKqfmprzA3tbXhaB58Dp6So4cOApcjYZ3kVko,67691
|
|
285
285
|
mlrun/runtimes/remotesparkjob.py,sha256=dod99nqz3GdRfmnBoQKfwFCXTetfuCScd2pKH3HJyoY,7394
|
|
286
|
-
mlrun/runtimes/utils.py,sha256=
|
|
286
|
+
mlrun/runtimes/utils.py,sha256=ut0IvQr47NI4Tw7XeHrA7HU7Zun3B1-K44GInecSWF8,15676
|
|
287
287
|
mlrun/runtimes/databricks_job/__init__.py,sha256=kXGBqhLN0rlAx0kTXhozGzFsIdSqW0uTSKMmsLgq_is,569
|
|
288
288
|
mlrun/runtimes/databricks_job/databricks_cancel_task.py,sha256=sIqIg5DQAf4j0wCPA-G0GoxY6vacRddxCy5KDUZszek,2245
|
|
289
289
|
mlrun/runtimes/databricks_job/databricks_runtime.py,sha256=WBq8Q0RIYwLkyshU7btYrB59wotzK_6xixHqZ-oz0PY,12851
|
|
@@ -293,9 +293,9 @@ mlrun/runtimes/mpijob/abstract.py,sha256=JGMjcJ4dvpJbctF6psU9UvYyNCutMxTMgBQeTlz
|
|
|
293
293
|
mlrun/runtimes/mpijob/v1.py,sha256=1XQZC7AIMGX_AQCbApcwpH8I7y39-v0v2O35MvxjXoo,3213
|
|
294
294
|
mlrun/runtimes/nuclio/__init__.py,sha256=gx1kizzKv8pGT5TNloN1js1hdbxqDw3rM90sLVYVffY,794
|
|
295
295
|
mlrun/runtimes/nuclio/api_gateway.py,sha256=vH9ClKVP4Mb24rvA67xPuAvAhX-gAv6vVtjVxyplhdc,26969
|
|
296
|
-
mlrun/runtimes/nuclio/function.py,sha256=
|
|
296
|
+
mlrun/runtimes/nuclio/function.py,sha256=_PJ5ubHb3JfLjOj5sXaxnmTnBLI2YogI33D4OY1u55k,54543
|
|
297
297
|
mlrun/runtimes/nuclio/nuclio.py,sha256=sLK8KdGO1LbftlL3HqPZlFOFTAAuxJACZCVl1c0Ha6E,2942
|
|
298
|
-
mlrun/runtimes/nuclio/serving.py,sha256=
|
|
298
|
+
mlrun/runtimes/nuclio/serving.py,sha256=Pqca0oG_B76RlgBsMYH8yR5M3LBp-ARONP0mP4aFTls,33436
|
|
299
299
|
mlrun/runtimes/nuclio/application/__init__.py,sha256=rRs5vasy_G9IyoTpYIjYDafGoL6ifFBKgBtsXn31Atw,614
|
|
300
300
|
mlrun/runtimes/nuclio/application/application.py,sha256=VPX-ruYQJ7-7yd5c2sWdF4U5JCGSS3kYjUfOgev6l_Y,29186
|
|
301
301
|
mlrun/runtimes/nuclio/application/reverse_proxy.go,sha256=lEHH74vr2PridIHp1Jkc_NjkrWb5b6zawRrNxHQhwGU,2913
|
|
@@ -341,11 +341,11 @@ mlrun/utils/notifications/notification/mail.py,sha256=ZyJ3eqd8simxffQmXzqd3bgbAq
|
|
|
341
341
|
mlrun/utils/notifications/notification/slack.py,sha256=eQvmctTh6wIG5xVOesLLV9S1-UUCu5UEQ9JIJOor3ts,7183
|
|
342
342
|
mlrun/utils/notifications/notification/webhook.py,sha256=zxh8CAlbPnTazsk6r05X5TKwqUZVOH5KBU2fJbzQlG4,5330
|
|
343
343
|
mlrun/utils/version/__init__.py,sha256=7kkrB7hEZ3cLXoWj1kPoDwo4MaswsI2JVOBpbKgPAgc,614
|
|
344
|
-
mlrun/utils/version/version.json,sha256=
|
|
344
|
+
mlrun/utils/version/version.json,sha256=tlxMI5s2cr2-2tUYisOgCDkCyNrQFnanBejymToIrp8,89
|
|
345
345
|
mlrun/utils/version/version.py,sha256=eEW0tqIAkU9Xifxv8Z9_qsYnNhn3YH7NRAfM-pPLt1g,1878
|
|
346
|
-
mlrun-1.8.
|
|
347
|
-
mlrun-1.8.
|
|
348
|
-
mlrun-1.8.
|
|
349
|
-
mlrun-1.8.
|
|
350
|
-
mlrun-1.8.
|
|
351
|
-
mlrun-1.8.
|
|
346
|
+
mlrun-1.8.0rc60.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
347
|
+
mlrun-1.8.0rc60.dist-info/METADATA,sha256=Fu8wkc50FfLRkQDo6eoHYt_GmSnTEp6GDK7gtbD_U60,25805
|
|
348
|
+
mlrun-1.8.0rc60.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
|
|
349
|
+
mlrun-1.8.0rc60.dist-info/entry_points.txt,sha256=1Owd16eAclD5pfRCoJpYC2ZJSyGNTtUr0nCELMioMmU,46
|
|
350
|
+
mlrun-1.8.0rc60.dist-info/top_level.txt,sha256=NObLzw3maSF9wVrgSeYBv-fgnHkAJ1kEkh12DLdd5KM,6
|
|
351
|
+
mlrun-1.8.0rc60.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|