mlrun 1.8.0rc47__py3-none-any.whl → 1.8.0rc48__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/datastore/storeytargets.py +9 -5
- mlrun/model_monitoring/controller.py +6 -4
- mlrun/model_monitoring/stream_processing.py +3 -0
- mlrun/utils/version/version.json +2 -2
- {mlrun-1.8.0rc47.dist-info → mlrun-1.8.0rc48.dist-info}/METADATA +2 -2
- {mlrun-1.8.0rc47.dist-info → mlrun-1.8.0rc48.dist-info}/RECORD +10 -10
- {mlrun-1.8.0rc47.dist-info → mlrun-1.8.0rc48.dist-info}/WHEEL +0 -0
- {mlrun-1.8.0rc47.dist-info → mlrun-1.8.0rc48.dist-info}/entry_points.txt +0 -0
- {mlrun-1.8.0rc47.dist-info → mlrun-1.8.0rc48.dist-info}/licenses/LICENSE +0 -0
- {mlrun-1.8.0rc47.dist-info → mlrun-1.8.0rc48.dist-info}/top_level.txt +0 -0
mlrun/datastore/storeytargets.py
CHANGED
|
@@ -109,17 +109,20 @@ class StreamStoreyTarget(storey.StreamTarget):
|
|
|
109
109
|
raise mlrun.errors.MLRunInvalidArgumentError("StreamTarget requires a path")
|
|
110
110
|
|
|
111
111
|
_, storage_options = get_url_and_storage_options(uri)
|
|
112
|
-
|
|
112
|
+
_, path = parse_path(uri)
|
|
113
113
|
|
|
114
114
|
access_key = storage_options.get("v3io_access_key")
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
115
|
+
|
|
116
|
+
if alt_key_name := kwargs.pop("alternative_v3io_access_key", None):
|
|
117
|
+
if alt_key := mlrun.get_secret_or_env(alt_key_name):
|
|
118
|
+
access_key = alt_key
|
|
119
|
+
|
|
120
|
+
storage = V3ioDriver(access_key=access_key)
|
|
118
121
|
|
|
119
122
|
if storage_options:
|
|
120
123
|
kwargs["storage"] = storage
|
|
121
124
|
if args:
|
|
122
|
-
args[0] =
|
|
125
|
+
args[0] = path
|
|
123
126
|
if "stream_path" in kwargs:
|
|
124
127
|
kwargs["stream_path"] = path
|
|
125
128
|
|
|
@@ -128,6 +131,7 @@ class StreamStoreyTarget(storey.StreamTarget):
|
|
|
128
131
|
|
|
129
132
|
class KafkaStoreyTarget(storey.KafkaTarget):
|
|
130
133
|
def __init__(self, *args, **kwargs):
|
|
134
|
+
kwargs.pop("alternative_v3io_access_key", None)
|
|
131
135
|
path = kwargs.pop("path")
|
|
132
136
|
attributes = kwargs.pop("attributes", {})
|
|
133
137
|
if path and path.startswith("ds://"):
|
|
@@ -311,10 +311,12 @@ class MonitoringApplicationController:
|
|
|
311
311
|
mlrun.platforms.iguazio.KafkaOutputStream,
|
|
312
312
|
]:
|
|
313
313
|
if self._model_monitoring_stream is None:
|
|
314
|
-
self._model_monitoring_stream =
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
314
|
+
self._model_monitoring_stream = (
|
|
315
|
+
mlrun.model_monitoring.helpers.get_output_stream(
|
|
316
|
+
project=self.project,
|
|
317
|
+
function_name=mm_constants.MonitoringFunctionNames.STREAM,
|
|
318
|
+
v3io_access_key=self.model_monitoring_access_key,
|
|
319
|
+
)
|
|
318
320
|
)
|
|
319
321
|
return self._model_monitoring_stream
|
|
320
322
|
|
|
@@ -264,6 +264,9 @@ class EventStreamProcessor:
|
|
|
264
264
|
path=stream_uri,
|
|
265
265
|
sharding_func=ControllerEvent.ENDPOINT_ID,
|
|
266
266
|
after="ForwardNOP",
|
|
267
|
+
# Force using the pipeline key instead of the one in the profile in case of v3io profile.
|
|
268
|
+
# In case of Kafka, this parameter will be ignored.
|
|
269
|
+
alternative_v3io_access_key="V3IO_ACCESS_KEY",
|
|
267
270
|
)
|
|
268
271
|
|
|
269
272
|
apply_push_controller_stream(controller_stream_uri)
|
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.0rc48
|
|
4
4
|
Summary: Tracking and config of machine learning runs
|
|
5
5
|
Home-page: https://github.com/mlrun/mlrun
|
|
6
6
|
Author: Yaron Haviv
|
|
@@ -44,7 +44,7 @@ Requires-Dist: semver~=3.0
|
|
|
44
44
|
Requires-Dist: dependency-injector~=4.41
|
|
45
45
|
Requires-Dist: fsspec<2024.7,>=2023.9.2
|
|
46
46
|
Requires-Dist: v3iofs~=0.1.17
|
|
47
|
-
Requires-Dist: storey~=1.8.
|
|
47
|
+
Requires-Dist: storey~=1.8.10
|
|
48
48
|
Requires-Dist: inflection~=0.5.0
|
|
49
49
|
Requires-Dist: python-dotenv~=1.0
|
|
50
50
|
Requires-Dist: setuptools>=75.2
|
|
@@ -99,7 +99,7 @@ mlrun/datastore/sources.py,sha256=KQp1nNN7TcaewFm3It03H1R28uzlWGZDDHJyqiT--vw,49
|
|
|
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
|
-
mlrun/datastore/storeytargets.py,sha256=
|
|
102
|
+
mlrun/datastore/storeytargets.py,sha256=dSy9wr4IyxrIE1GHBxzVEeEY1sdU66s4w-oUuaIfa2U,6620
|
|
103
103
|
mlrun/datastore/targets.py,sha256=7qLf26BDH3qYTHOR7TSP0tUMPBhYOkaaOwffUBxgqY0,81201
|
|
104
104
|
mlrun/datastore/utils.py,sha256=CbKbDI6CdFRCqyAXe-jykVvN_GH6R0JkxIQFAogR2GA,10604
|
|
105
105
|
mlrun/datastore/v3io.py,sha256=QSYBORRLcJTeM9mt0EaWzyLcdmzrPkqrF7k5uLTam5U,8209
|
|
@@ -219,10 +219,10 @@ 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
221
|
mlrun/model_monitoring/api.py,sha256=LU58dzE4QZiMH23lgiqfI__3m2E3eEZP-DQe2ioUSwM,28317
|
|
222
|
-
mlrun/model_monitoring/controller.py,sha256=
|
|
222
|
+
mlrun/model_monitoring/controller.py,sha256=m4Zx_NQ0C-A7WtjBoXnqBmS11RRtLvBaFgbFbIgrdVc,36847
|
|
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
|
-
mlrun/model_monitoring/stream_processing.py,sha256=
|
|
225
|
+
mlrun/model_monitoring/stream_processing.py,sha256=A66vbrgfWL_sBdAkiPJZmPUFXvQU5phYuyKX6yECtfQ,33558
|
|
226
226
|
mlrun/model_monitoring/tracking_policy.py,sha256=PBIGrUYWrwcE5gwXupBIVzOb0QRRwPJsgQm_yLGQxB4,5595
|
|
227
227
|
mlrun/model_monitoring/writer.py,sha256=ibbhvfSHb8Reqlb7RGFEAUNM4iTyK1gk8-2m46mP6VM,8428
|
|
228
228
|
mlrun/model_monitoring/applications/__init__.py,sha256=xDBxkBjl-whHSG_4t1mLkxiypLH-fzn8TmAW9Mjo2uI,759
|
|
@@ -340,11 +340,11 @@ mlrun/utils/notifications/notification/mail.py,sha256=ZyJ3eqd8simxffQmXzqd3bgbAq
|
|
|
340
340
|
mlrun/utils/notifications/notification/slack.py,sha256=eQvmctTh6wIG5xVOesLLV9S1-UUCu5UEQ9JIJOor3ts,7183
|
|
341
341
|
mlrun/utils/notifications/notification/webhook.py,sha256=NeyIMSBojjjTJaUHmPbxMByp34GxYkl1-16NqzU27fU,4943
|
|
342
342
|
mlrun/utils/version/__init__.py,sha256=7kkrB7hEZ3cLXoWj1kPoDwo4MaswsI2JVOBpbKgPAgc,614
|
|
343
|
-
mlrun/utils/version/version.json,sha256=
|
|
343
|
+
mlrun/utils/version/version.json,sha256=VgW5oJpqfzAo9q08BKtzegYzji4XRJ88Lp0aBY1vEaw,89
|
|
344
344
|
mlrun/utils/version/version.py,sha256=eEW0tqIAkU9Xifxv8Z9_qsYnNhn3YH7NRAfM-pPLt1g,1878
|
|
345
|
-
mlrun-1.8.
|
|
346
|
-
mlrun-1.8.
|
|
347
|
-
mlrun-1.8.
|
|
348
|
-
mlrun-1.8.
|
|
349
|
-
mlrun-1.8.
|
|
350
|
-
mlrun-1.8.
|
|
345
|
+
mlrun-1.8.0rc48.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
346
|
+
mlrun-1.8.0rc48.dist-info/METADATA,sha256=T7yAGdC4Yb-8_y8KkzMQ3oLLlK1vJNQ9sEbfMlZz7oM,26009
|
|
347
|
+
mlrun-1.8.0rc48.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
|
348
|
+
mlrun-1.8.0rc48.dist-info/entry_points.txt,sha256=1Owd16eAclD5pfRCoJpYC2ZJSyGNTtUr0nCELMioMmU,46
|
|
349
|
+
mlrun-1.8.0rc48.dist-info/top_level.txt,sha256=NObLzw3maSF9wVrgSeYBv-fgnHkAJ1kEkh12DLdd5KM,6
|
|
350
|
+
mlrun-1.8.0rc48.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|