mlrun 1.10.0rc7__py3-none-any.whl → 1.10.0rc9__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/__init__.py +3 -1
- mlrun/common/db/dialects.py +25 -0
- mlrun/common/schemas/background_task.py +5 -0
- mlrun/common/schemas/function.py +1 -0
- mlrun/common/schemas/model_monitoring/__init__.py +2 -0
- mlrun/common/schemas/model_monitoring/constants.py +16 -0
- mlrun/common/schemas/model_monitoring/model_endpoints.py +8 -0
- mlrun/common/schemas/partition.py +13 -3
- mlrun/common/schemas/project.py +4 -0
- mlrun/common/schemas/serving.py +2 -0
- mlrun/config.py +11 -22
- mlrun/datastore/utils.py +3 -2
- mlrun/db/__init__.py +1 -0
- mlrun/db/base.py +11 -10
- mlrun/db/httpdb.py +97 -25
- mlrun/db/nopdb.py +5 -4
- mlrun/db/sql_types.py +160 -0
- mlrun/frameworks/tf_keras/__init__.py +4 -4
- mlrun/frameworks/tf_keras/callbacks/logging_callback.py +23 -20
- mlrun/frameworks/tf_keras/mlrun_interface.py +4 -1
- mlrun/frameworks/tf_keras/model_handler.py +80 -9
- mlrun/frameworks/tf_keras/utils.py +12 -1
- mlrun/launcher/base.py +6 -1
- mlrun/launcher/client.py +1 -22
- mlrun/launcher/local.py +0 -4
- mlrun/model_monitoring/applications/base.py +21 -1
- mlrun/model_monitoring/applications/context.py +2 -1
- mlrun/projects/pipelines.py +35 -3
- mlrun/projects/project.py +13 -29
- mlrun/run.py +37 -5
- mlrun/runtimes/daskjob.py +0 -2
- mlrun/runtimes/kubejob.py +0 -4
- mlrun/runtimes/mpijob/abstract.py +0 -2
- mlrun/runtimes/mpijob/v1.py +0 -2
- mlrun/runtimes/nuclio/function.py +0 -2
- mlrun/runtimes/nuclio/serving.py +14 -51
- mlrun/runtimes/pod.py +0 -3
- mlrun/runtimes/remotesparkjob.py +0 -2
- mlrun/runtimes/sparkjob/spark3job.py +0 -2
- mlrun/serving/__init__.py +2 -0
- mlrun/serving/server.py +159 -123
- mlrun/serving/states.py +215 -18
- mlrun/serving/system_steps.py +391 -0
- mlrun/serving/v2_serving.py +9 -8
- mlrun/utils/helpers.py +19 -1
- mlrun/utils/version/version.json +2 -2
- {mlrun-1.10.0rc7.dist-info → mlrun-1.10.0rc9.dist-info}/METADATA +22 -18
- {mlrun-1.10.0rc7.dist-info → mlrun-1.10.0rc9.dist-info}/RECORD +52 -50
- mlrun/common/db/sql_session.py +0 -79
- {mlrun-1.10.0rc7.dist-info → mlrun-1.10.0rc9.dist-info}/WHEEL +0 -0
- {mlrun-1.10.0rc7.dist-info → mlrun-1.10.0rc9.dist-info}/entry_points.txt +0 -0
- {mlrun-1.10.0rc7.dist-info → mlrun-1.10.0rc9.dist-info}/licenses/LICENSE +0 -0
- {mlrun-1.10.0rc7.dist-info → mlrun-1.10.0rc9.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
mlrun/__init__.py,sha256=
|
|
1
|
+
mlrun/__init__.py,sha256=ws9OsfTNmIGg3v8kQY57Q8rkqZqzZiL3WTvVBIFEmpQ,7475
|
|
2
2
|
mlrun/__main__.py,sha256=ue7zqYt-0MjiSZodMSis_tctBCvVQmVHjmUQnR9lp0E,48019
|
|
3
|
-
mlrun/config.py,sha256=
|
|
3
|
+
mlrun/config.py,sha256=zb48joymCNAcF5ZBPyX0cnK88sDk643nKL17NSBgtf0,71732
|
|
4
4
|
mlrun/errors.py,sha256=bAk0t_qmCxQSPNK0TugOAfA5R6f0G6OYvEvXUWSJ_5U,9062
|
|
5
5
|
mlrun/execution.py,sha256=Yo1_UX9ARZ8IDYX6B5FPngnIy8hBhuzwL2-bIeXlMg8,54581
|
|
6
6
|
mlrun/features.py,sha256=jMEXo6NB36A6iaxNEJWzdtYwUmglYD90OIKTIEeWhE8,15841
|
|
@@ -8,7 +8,7 @@ mlrun/k8s_utils.py,sha256=mMnGyouHoJC93ZD2KGf9neJM1pD7mR9IXLnHOEwYVTQ,21469
|
|
|
8
8
|
mlrun/lists.py,sha256=OlaV2QIFUzmenad9kxNJ3k4whlDyxI3zFbGwr6vpC5Y,8561
|
|
9
9
|
mlrun/model.py,sha256=TvD4u7E0CNHyX_Gt6TU8XOHcH182vcPzzLB2qZagL44,86125
|
|
10
10
|
mlrun/render.py,sha256=5DlhD6JtzHgmj5RVlpaYiHGhX84Q7qdi4RCEUj2UMgw,13195
|
|
11
|
-
mlrun/run.py,sha256=
|
|
11
|
+
mlrun/run.py,sha256=WUPuyWJ_2MjYRfrg3OfmEafv6g2YETKiuIdAoartSQE,45316
|
|
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
|
|
@@ -28,7 +28,7 @@ mlrun/common/helpers.py,sha256=DIdqs_eN3gO5bZ8iFobIvx8cEiOxYxhFIyut6-O69T0,1385
|
|
|
28
28
|
mlrun/common/secrets.py,sha256=8g9xtIw-9DGcwiZRT62a5ozSQM-aYo8yK5Ghey9WM0g,5179
|
|
29
29
|
mlrun/common/types.py,sha256=1gxThbmC0Vd0U1ffIkEwz4T4S7JOgHt70rvw8TCO21c,1073
|
|
30
30
|
mlrun/common/db/__init__.py,sha256=kXGBqhLN0rlAx0kTXhozGzFsIdSqW0uTSKMmsLgq_is,569
|
|
31
|
-
mlrun/common/db/
|
|
31
|
+
mlrun/common/db/dialects.py,sha256=QN9bx7CTo32IIdJ2J3ZrsX8IUdp_BPxBtl0LyjMEC9g,868
|
|
32
32
|
mlrun/common/formatters/__init__.py,sha256=au7S3M3wa9964RpQhFSvflk5-i5SWMeb3kek8Gvt4kg,889
|
|
33
33
|
mlrun/common/formatters/artifact.py,sha256=NT2RPfReUGWVQ-Rhv1zexgXfLuKI5FvtneJDhihZK5g,1462
|
|
34
34
|
mlrun/common/formatters/base.py,sha256=85vQ0t4ZfqCs8b8QV1RLfRcEvANztKvTvsa__sD3zTo,4099
|
|
@@ -46,7 +46,7 @@ mlrun/common/schemas/alert.py,sha256=u6INAHBhQIfm-mMsGqDJo1_JDN6gOuWZa-8fOU-aOUE
|
|
|
46
46
|
mlrun/common/schemas/api_gateway.py,sha256=bgC3vXbyb1SVwsSZkLXtEoQLCe_QDKpIhAVX3X_HWW4,7126
|
|
47
47
|
mlrun/common/schemas/artifact.py,sha256=JojMRRa4n0Rge2olGOpUyp348hkTGsMEnvUBRSoo4oE,4310
|
|
48
48
|
mlrun/common/schemas/auth.py,sha256=t8mEHc3MXNsAeKuv3khDwxitrwW0s7kbBSuhFKXXH7Y,6879
|
|
49
|
-
mlrun/common/schemas/background_task.py,sha256=
|
|
49
|
+
mlrun/common/schemas/background_task.py,sha256=nE4Y_0uceSHfuYwGjOEklnQqlH3kJ8GG3tP81pn-3YU,1839
|
|
50
50
|
mlrun/common/schemas/client_spec.py,sha256=-8fYRjcded-e0xqAEEd3LsXtgvk1hv1MKYmtu2zdpcc,2874
|
|
51
51
|
mlrun/common/schemas/clusterization_spec.py,sha256=fBhXFnaXXo_Wy96Y9SVofuFjTSn7uQGFnLd0uaKDWT0,893
|
|
52
52
|
mlrun/common/schemas/common.py,sha256=3GcfkT7yOWmrieCSrjOJ_4aXkiUWwLd_kxqMDP1-_hw,3540
|
|
@@ -55,7 +55,7 @@ mlrun/common/schemas/datastore_profile.py,sha256=jDva-_XTCU0EyExs5uB2PVR7-Tj4g4Z
|
|
|
55
55
|
mlrun/common/schemas/events.py,sha256=LjAU7t-aNhkECbF_o2mzXiZ5mn4299d-_HOd20Xv6iQ,1025
|
|
56
56
|
mlrun/common/schemas/feature_store.py,sha256=Kz7AWQ1RCPA8sTL9cGRZnfUBhWf4MX_5yyYswtCOcCk,4802
|
|
57
57
|
mlrun/common/schemas/frontend_spec.py,sha256=tR8k78cppYK-X8kCWe0mz1gk8yqpsn2IxM3QmBdTJs8,2622
|
|
58
|
-
mlrun/common/schemas/function.py,sha256=
|
|
58
|
+
mlrun/common/schemas/function.py,sha256=HMBZFf46foDWnycciG1a4HASBbmnRDSlDRsREfa5Tog,4881
|
|
59
59
|
mlrun/common/schemas/http.py,sha256=KozLgGV1vpNXQ8Qptr_Zm6BEbc2VcU42hSphe_ffe_A,704
|
|
60
60
|
mlrun/common/schemas/hub.py,sha256=zYupE3yBKlVEAhHNb4rn9g5T63sekRUnI4Ql3v4a_c4,4118
|
|
61
61
|
mlrun/common/schemas/k8s.py,sha256=YgyDK7KNt29GHCOxd1vw-jnl_757cIPLzViCTNT1Zcc,1403
|
|
@@ -63,22 +63,22 @@ mlrun/common/schemas/memory_reports.py,sha256=Q6w7xofQlMD-iqjE8uK9yU5ijLPkht_EsX
|
|
|
63
63
|
mlrun/common/schemas/notification.py,sha256=Q-tBaU_V7YZiuj3ankuACf3_-hb874_osxq0eaW90Ww,5549
|
|
64
64
|
mlrun/common/schemas/object.py,sha256=9g2bK3KUXmzhaGavbmpVf6rxDhquYogp8bb12dzP4XE,1982
|
|
65
65
|
mlrun/common/schemas/pagination.py,sha256=8NEmiIkCXw5_sv-lE0MWgWz-WpxhSSn-vBtbPDBOGXc,899
|
|
66
|
-
mlrun/common/schemas/partition.py,sha256=
|
|
66
|
+
mlrun/common/schemas/partition.py,sha256=8T-1nfA-SdzkS8dv48NaYHVEUQOcZpaxE7mWrD8Ra68,6357
|
|
67
67
|
mlrun/common/schemas/pipeline.py,sha256=lzaNHudyOiSMpNsoKoNMZhJJa2R4wdA4TR8A98L_yIo,996
|
|
68
|
-
mlrun/common/schemas/project.py,sha256=
|
|
68
|
+
mlrun/common/schemas/project.py,sha256=9O9Wa2PkRy74WzwiLd7A6jBXf4FJxQMJj9wh2VpsZao,6138
|
|
69
69
|
mlrun/common/schemas/regex.py,sha256=r-phg_9ge1lFraPCQd_wpnYGQ1oOCj3xChycJxZtIQY,775
|
|
70
70
|
mlrun/common/schemas/runs.py,sha256=yKY29ByTS4SruWQyPpDNFGulMrcT9Ms-3lnwBUDp3us,751
|
|
71
71
|
mlrun/common/schemas/runtime_resource.py,sha256=TybJmCHJXmm1z3s5J1dd89TeFE6lG5t7vjcrf1R9YfE,1568
|
|
72
72
|
mlrun/common/schemas/schedule.py,sha256=L7z9Lp06-xmFmdp0q5PypCU_DCl6zZIyQTVoJa01gfM,4291
|
|
73
73
|
mlrun/common/schemas/secret.py,sha256=Td2UAeWHSAdA4nIP3rQv_PIVKVqcBnCnK6xjr528tS8,1486
|
|
74
|
-
mlrun/common/schemas/serving.py,sha256=
|
|
74
|
+
mlrun/common/schemas/serving.py,sha256=u_jfGmUB5kTqTR6pGtn7mQvr8wRsoaDrfZz672F1nRE,1199
|
|
75
75
|
mlrun/common/schemas/tag.py,sha256=1wqEiAujsElojWb3qmuyfcaLFjXSNAAQdafkDx7fkn0,891
|
|
76
76
|
mlrun/common/schemas/workflow.py,sha256=iZySnpro7UatEePH6S542c7xy9H2v1h6mx5n-gz9Oeg,2107
|
|
77
|
-
mlrun/common/schemas/model_monitoring/__init__.py,sha256=
|
|
78
|
-
mlrun/common/schemas/model_monitoring/constants.py,sha256=
|
|
77
|
+
mlrun/common/schemas/model_monitoring/__init__.py,sha256=Hx3IxW63edOSLxMnbQpY3Yv4f-eNnBu4EuVw5bihP8w,1819
|
|
78
|
+
mlrun/common/schemas/model_monitoring/constants.py,sha256=yjTaSGiRs0zYIE20QSuJuMNnS5iuJpnV1wBiq7leVpg,13238
|
|
79
79
|
mlrun/common/schemas/model_monitoring/functions.py,sha256=OKBt029ap6dD-1pFTN4z1u7IkRpiH0HCjbrJoAWUFnE,2123
|
|
80
80
|
mlrun/common/schemas/model_monitoring/grafana.py,sha256=THQlLfPBevBksta8p5OaIsBaJtsNSXexLvHrDxOaVns,2095
|
|
81
|
-
mlrun/common/schemas/model_monitoring/model_endpoints.py,sha256=
|
|
81
|
+
mlrun/common/schemas/model_monitoring/model_endpoints.py,sha256=1Wd67iFCeVB7Ggo1jgkwaGSHH87z9P4crVafDWBhevc,12647
|
|
82
82
|
mlrun/data_types/__init__.py,sha256=wdxGS1PTnaKXiNZ7PYGxxo86OifHH7NYoArIjDJksLA,1054
|
|
83
83
|
mlrun/data_types/data_types.py,sha256=0_oKLC6-sXL2_nnaDMP_HSXB3fD1nJAG4J2Jq6sGNNw,4998
|
|
84
84
|
mlrun/data_types/infer.py,sha256=F_dW7oR6jrhdONzTl4ngeGh9x7twHdpUJBd2xMVA1Vw,6476
|
|
@@ -104,17 +104,18 @@ mlrun/datastore/spark_utils.py,sha256=dn0RWpYzee-M8UZw-NVuHAdqlNAZ7VO-fNtI8ZiDky
|
|
|
104
104
|
mlrun/datastore/store_resources.py,sha256=s2794zqkzy_mjRMvRedDNs_tycTLoF8wxTqsWRQphCE,6839
|
|
105
105
|
mlrun/datastore/storeytargets.py,sha256=OwWw-YrrtrnKpbUSP8tgWyKusArsLygkD365X7TT4yE,6500
|
|
106
106
|
mlrun/datastore/targets.py,sha256=pxVHBAmGDkyQAnqXvc__qjgOG_ctVc-_oZ_g1QDai_g,79121
|
|
107
|
-
mlrun/datastore/utils.py,sha256=
|
|
107
|
+
mlrun/datastore/utils.py,sha256=uQ2v_bZshITpy3Sm3_wcP4_cthWDeGAEaTJuvQ60NG0,10830
|
|
108
108
|
mlrun/datastore/v3io.py,sha256=QSYBORRLcJTeM9mt0EaWzyLcdmzrPkqrF7k5uLTam5U,8209
|
|
109
109
|
mlrun/datastore/vectorstore.py,sha256=k-yom5gfw20hnVG0Rg7aBEehuXwvAloZwn0cx0VGals,11708
|
|
110
110
|
mlrun/datastore/wasbfs/__init__.py,sha256=s5Ul-0kAhYqFjKDR2X0O2vDGDbLQQduElb32Ev56Te4,1343
|
|
111
111
|
mlrun/datastore/wasbfs/fs.py,sha256=ge8NK__5vTcFT-krI155_8RDUywQw4SIRX6BWATXy9Q,6299
|
|
112
|
-
mlrun/db/__init__.py,sha256=
|
|
112
|
+
mlrun/db/__init__.py,sha256=K8Cy-MF7gasYnT7gfE9zP5eOAQV-USsJtuVJRXYQI6s,1187
|
|
113
113
|
mlrun/db/auth_utils.py,sha256=hpg8D2r82oN0BWabuWN04BTNZ7jYMAF242YSUpK7LFM,5211
|
|
114
|
-
mlrun/db/base.py,sha256=
|
|
114
|
+
mlrun/db/base.py,sha256=koY7QLXBOtpkAphllC3z5wIVJ1EtHcXRTdvQ0uzIxko,30734
|
|
115
115
|
mlrun/db/factory.py,sha256=yP2vVmveUE7LYTCHbS6lQIxP9rW--zdISWuPd_I3d_4,2111
|
|
116
|
-
mlrun/db/httpdb.py,sha256=
|
|
117
|
-
mlrun/db/nopdb.py,sha256=
|
|
116
|
+
mlrun/db/httpdb.py,sha256=8OCLIp--B1Z_AH98XhCm84Ls22IqXLO4OWkd7oQ4UQc,234747
|
|
117
|
+
mlrun/db/nopdb.py,sha256=vKYszH4G3Fn5zBx3ri_e7r89k95obDtQfEAi2tDDF1w,27308
|
|
118
|
+
mlrun/db/sql_types.py,sha256=g-gmiRNr0SpFyV0wPFfvLpB7hB0jdW-WFkt-aoQ_qIU,5399
|
|
118
119
|
mlrun/feature_store/__init__.py,sha256=SlI845bWt6xX34SXunHHqhmFAR9-5v2ak8N-qpcAPGo,1328
|
|
119
120
|
mlrun/feature_store/api.py,sha256=qKj5Tk6prTab6XWatWhBuPRVp0eJEctoxRMN2wz48vA,32168
|
|
120
121
|
mlrun/feature_store/common.py,sha256=JlQA7XWkg9fLuw7cXFmWpUneQqM3NBhwv7DU_xlenWI,12819
|
|
@@ -201,13 +202,13 @@ mlrun/frameworks/sklearn/metrics_library.py,sha256=ETbsBgp1hHjw0Vzhejz3NccE-EgRw
|
|
|
201
202
|
mlrun/frameworks/sklearn/mlrun_interface.py,sha256=Lk1MKzP7d72R6_1PTWO5pKY1VUEHcUaXQ4ZHQ_c4x7g,14338
|
|
202
203
|
mlrun/frameworks/sklearn/model_handler.py,sha256=m7ohGO8sphuVU0vZAzVNBATY0WNUpQb_SmaO6xkZx8U,4752
|
|
203
204
|
mlrun/frameworks/sklearn/utils.py,sha256=OPyuXOwod6Tjs5PcIStwtwZfIaQk-hL9wzNbjQ29LuU,1208
|
|
204
|
-
mlrun/frameworks/tf_keras/__init__.py,sha256=
|
|
205
|
-
mlrun/frameworks/tf_keras/mlrun_interface.py,sha256=
|
|
206
|
-
mlrun/frameworks/tf_keras/model_handler.py,sha256=
|
|
205
|
+
mlrun/frameworks/tf_keras/__init__.py,sha256=M2sMbYHLrlF-KFR5kvA9mevRo3Nf8U0B5a_DM9rzwCY,10484
|
|
206
|
+
mlrun/frameworks/tf_keras/mlrun_interface.py,sha256=Rd4DY-TRGh3ZErmT9vzwDsXUjeetb3vgUWmXdyG77Mc,16718
|
|
207
|
+
mlrun/frameworks/tf_keras/model_handler.py,sha256=4Ri5SLL0Xl_9I4faYYq9yxSOhDxNKzBz6SmuqKX1v7o,32135
|
|
207
208
|
mlrun/frameworks/tf_keras/model_server.py,sha256=60iJRl_9ZYPCzxdfiJM_-BtECKZZTOKWBJ36O-GLjEc,9652
|
|
208
|
-
mlrun/frameworks/tf_keras/utils.py,sha256=
|
|
209
|
+
mlrun/frameworks/tf_keras/utils.py,sha256=Z8hA1CgpSJWLC_T6Ay7xZKVyWlX9B85MSmQr2biXRag,4582
|
|
209
210
|
mlrun/frameworks/tf_keras/callbacks/__init__.py,sha256=sd8aWG2jO9mO_noZca0ReVf8X6fSCqO_di1Z-mT8FH8,742
|
|
210
|
-
mlrun/frameworks/tf_keras/callbacks/logging_callback.py,sha256
|
|
211
|
+
mlrun/frameworks/tf_keras/callbacks/logging_callback.py,sha256=17tI7zRMHXHGNjMhbNb687_HowuGOAZ5RZ2sVABzQig,22322
|
|
211
212
|
mlrun/frameworks/tf_keras/callbacks/mlrun_logging_callback.py,sha256=MMb2WN3FrIQp018HEIaLtclxxKMlKO-AgitdgmjmP0Q,8837
|
|
212
213
|
mlrun/frameworks/tf_keras/callbacks/tensorboard_logging_callback.py,sha256=eP_dTvOaS98sijcR9cvwls0t5tNPs9KiYueGHQyyuL0,28615
|
|
213
214
|
mlrun/frameworks/xgboost/__init__.py,sha256=NyFRxu5v5z8oegbJP05PFUmfJL3I3JeN1PYHjIbfXpo,10335
|
|
@@ -215,10 +216,10 @@ mlrun/frameworks/xgboost/mlrun_interface.py,sha256=KINOf0udbY75raTewjEFGNlIRyE0e
|
|
|
215
216
|
mlrun/frameworks/xgboost/model_handler.py,sha256=bJq4D1VK3rzhALovqIV5mS0LvGiTlsgAkHanD25pU2c,11663
|
|
216
217
|
mlrun/frameworks/xgboost/utils.py,sha256=4rShiFChzDbWJ4HoTo4qV_lj-Z89pHBAp6Z1yHmU8wA,1068
|
|
217
218
|
mlrun/launcher/__init__.py,sha256=JL8qkT1lLr1YvW6iP0hmwDTaSR2RfrMDx0-1gWRhTOE,571
|
|
218
|
-
mlrun/launcher/base.py,sha256=
|
|
219
|
-
mlrun/launcher/client.py,sha256=
|
|
219
|
+
mlrun/launcher/base.py,sha256=8iicRQsfUF5cghEm7AaBP0Wt9MUmYMWXr9E66s6IZsI,16673
|
|
220
|
+
mlrun/launcher/client.py,sha256=U1_brEqqsol8HQFbqCZOSM9tD5oVk2JrP0xCLXME6XE,6368
|
|
220
221
|
mlrun/launcher/factory.py,sha256=RW7mfzEFi8fR0M-4W1JQg1iq3_muUU6OTqT_3l4Ubrk,2338
|
|
221
|
-
mlrun/launcher/local.py,sha256=
|
|
222
|
+
mlrun/launcher/local.py,sha256=9XEkWSRYokXbtL1d_XEH3yTNU2fQXX7JcUwfC_8NG_4,11457
|
|
222
223
|
mlrun/launcher/remote.py,sha256=GYXsxVIwcUZ1V-cv2R3Yk4nSoUeAtRurEawrUN3AkEE,7715
|
|
223
224
|
mlrun/model_monitoring/__init__.py,sha256=2zigVN5JUnOhRcqGBd4gj0ctubVlyEvxmxXix0De5GQ,709
|
|
224
225
|
mlrun/model_monitoring/api.py,sha256=lAsUp-gzqw8D1cpHVGA2_nPMYn5R4jdxk9UaGOiQ8fE,25945
|
|
@@ -229,8 +230,8 @@ mlrun/model_monitoring/stream_processing.py,sha256=Gu3TQzYoNjbreZYI73-F49QpYrod9
|
|
|
229
230
|
mlrun/model_monitoring/writer.py,sha256=rGRFzSOkqZWvD3Y6sVk2H1Gepfnkzkp9ce00PsApTLo,8288
|
|
230
231
|
mlrun/model_monitoring/applications/__init__.py,sha256=MaH_n4GiqqQvSkntM5yQ7_FCANtM_IfgK-IJTdo4G_E,757
|
|
231
232
|
mlrun/model_monitoring/applications/_application_steps.py,sha256=t9LDIqQUGE10cyjyhlg0QqN1yVx0apD1HpERYLJfm8U,7409
|
|
232
|
-
mlrun/model_monitoring/applications/base.py,sha256=
|
|
233
|
-
mlrun/model_monitoring/applications/context.py,sha256=
|
|
233
|
+
mlrun/model_monitoring/applications/base.py,sha256=MIJujitxyzFBVIYVBR3otp8l-p5FuD06rsVxJpJyQvc,32413
|
|
234
|
+
mlrun/model_monitoring/applications/context.py,sha256=fAGFNCyNhSnVJPSIeJxv-XmEL2JhDmjK5Ouog9qyvdc,17035
|
|
234
235
|
mlrun/model_monitoring/applications/histogram_data_drift.py,sha256=2qgfFmrpHf-x0_EaHD-0T28piwSQzw-HH71aV1GwbZs,15389
|
|
235
236
|
mlrun/model_monitoring/applications/results.py,sha256=_qmj6TWT0SR2bi7gUyRKBU418eGgGoLW2_hTJ7S-ock,5782
|
|
236
237
|
mlrun/model_monitoring/applications/evidently/__init__.py,sha256=-DqdPnBSrjZhFvKOu_Ie3MiFvlur9sPTZpZ1u0_1AE8,690
|
|
@@ -272,47 +273,48 @@ mlrun/platforms/__init__.py,sha256=ZuyeHCHHUxYEoZRmaJqzFSfwhaTyUdBZXMeVp75ql1w,3
|
|
|
272
273
|
mlrun/platforms/iguazio.py,sha256=6VBTq8eQ3mzT96tzjYhAtcMQ2VjF4x8LpIPW5DAcX2Q,13749
|
|
273
274
|
mlrun/projects/__init__.py,sha256=0Krf0WIKfnZa71WthYOg0SoaTodGg3sV_hK3f_OlTPI,1220
|
|
274
275
|
mlrun/projects/operations.py,sha256=Aa3qDjEOLI1JTvm3t3VaESeJ4511e_vOR-GqVaEy-yI,20237
|
|
275
|
-
mlrun/projects/pipelines.py,sha256=
|
|
276
|
-
mlrun/projects/project.py,sha256=
|
|
276
|
+
mlrun/projects/pipelines.py,sha256=qNWB6_E-cLp7S2kWUmPQRom9dnF5MHW5ybRX4-m6qd0,49445
|
|
277
|
+
mlrun/projects/project.py,sha256=UT4DUC2qbJz3lrMykLc_UwtnpXgCZXbCFY_2Ym_qfJM,249447
|
|
277
278
|
mlrun/runtimes/__init__.py,sha256=J9Sy2HiyMlztNv6VUurMzF5H2XzttNil8nRsWDsqLyg,8923
|
|
278
279
|
mlrun/runtimes/base.py,sha256=FmjyXA5MhOUOe8TxNpC3p8nc_IwGGaC2ZPrgTylzFXk,37325
|
|
279
|
-
mlrun/runtimes/daskjob.py,sha256=
|
|
280
|
+
mlrun/runtimes/daskjob.py,sha256=RQNX0TJn77mT32CKNoNg2hE0Rk758QVTGpJdxk3xW_k,19776
|
|
280
281
|
mlrun/runtimes/funcdoc.py,sha256=zRFHrJsV8rhDLJwoUhcfZ7Cs0j-tQ76DxwUqdXV_Wyc,9810
|
|
281
282
|
mlrun/runtimes/function_reference.py,sha256=fnMKUEieKgy4JyVLhFpDtr6JvKgOaQP8F_K2H3-Pk9U,5030
|
|
282
283
|
mlrun/runtimes/generators.py,sha256=X8NDlCEPveDDPOHtOGcSpbl3pAVM3DP7fuPj5xVhxEY,7290
|
|
283
|
-
mlrun/runtimes/kubejob.py,sha256=
|
|
284
|
+
mlrun/runtimes/kubejob.py,sha256=BuAyuXacwH4gh063kPvPgsMKix7dolef2tVZXodiHHA,8496
|
|
284
285
|
mlrun/runtimes/local.py,sha256=yedo3R1c46cB1mX7aOz8zORXswQPvX86U-_fYxXoqTY,22717
|
|
285
286
|
mlrun/runtimes/mounts.py,sha256=2dkoktm3TXHe4XHmRhvC0UfvWzq2vy_13MeaW7wgyPo,18735
|
|
286
|
-
mlrun/runtimes/pod.py,sha256=
|
|
287
|
-
mlrun/runtimes/remotesparkjob.py,sha256=
|
|
287
|
+
mlrun/runtimes/pod.py,sha256=_jfzCIJ5Gi6AWT-5nYFYfpX3zodQLVU79Rqa2vFAECY,51619
|
|
288
|
+
mlrun/runtimes/remotesparkjob.py,sha256=s3iknqndUMSDvZNZ7w_uO9mO-gmasexN5x9KALeCHfw,7627
|
|
288
289
|
mlrun/runtimes/utils.py,sha256=VFKA7dWuILAcJGia_7Pw_zBBG00wZlat7o2N6u5EItw,16284
|
|
289
290
|
mlrun/runtimes/databricks_job/__init__.py,sha256=kXGBqhLN0rlAx0kTXhozGzFsIdSqW0uTSKMmsLgq_is,569
|
|
290
291
|
mlrun/runtimes/databricks_job/databricks_cancel_task.py,sha256=ufjcLKA5E6FSDF5CXm5l8uP_mUSFppwr5krLHln1kAU,2243
|
|
291
292
|
mlrun/runtimes/databricks_job/databricks_runtime.py,sha256=YOJdyIEeKbn9jKxSciciZE9RBsH7Hbk7n-3T_8NLz_w,12810
|
|
292
293
|
mlrun/runtimes/databricks_job/databricks_wrapper.py,sha256=jD1T36pRmSFRGgJVGRzccYJxwYH8eVze_FJrF2aSS-g,8682
|
|
293
294
|
mlrun/runtimes/mpijob/__init__.py,sha256=6sUPQRFwigi4mqjDVZmRE-qgaLw2ILY5NbneVUuMKto,947
|
|
294
|
-
mlrun/runtimes/mpijob/abstract.py,sha256=
|
|
295
|
-
mlrun/runtimes/mpijob/v1.py,sha256=
|
|
295
|
+
mlrun/runtimes/mpijob/abstract.py,sha256=a07c6AvNLQ51dVkiCyeeQUruST1UQNuWi3sIvPMESPo,9171
|
|
296
|
+
mlrun/runtimes/mpijob/v1.py,sha256=Rf8tvntkOv7RLN0TEk5XOY4QCdWMHu_sSmVgBViGcfU,3135
|
|
296
297
|
mlrun/runtimes/nuclio/__init__.py,sha256=gx1kizzKv8pGT5TNloN1js1hdbxqDw3rM90sLVYVffY,794
|
|
297
298
|
mlrun/runtimes/nuclio/api_gateway.py,sha256=vH9ClKVP4Mb24rvA67xPuAvAhX-gAv6vVtjVxyplhdc,26969
|
|
298
|
-
mlrun/runtimes/nuclio/function.py,sha256=
|
|
299
|
+
mlrun/runtimes/nuclio/function.py,sha256=K8M9zFR0j28Tfqu6xrwd6MWb2Sh1IZZVoaNYZectG8g,54286
|
|
299
300
|
mlrun/runtimes/nuclio/nuclio.py,sha256=sLK8KdGO1LbftlL3HqPZlFOFTAAuxJACZCVl1c0Ha6E,2942
|
|
300
|
-
mlrun/runtimes/nuclio/serving.py,sha256=
|
|
301
|
+
mlrun/runtimes/nuclio/serving.py,sha256=tXAobNFmUsTztvT-gX0UMdAmW150Kdl7rzdgLFlLiro,32804
|
|
301
302
|
mlrun/runtimes/nuclio/application/__init__.py,sha256=rRs5vasy_G9IyoTpYIjYDafGoL6ifFBKgBtsXn31Atw,614
|
|
302
303
|
mlrun/runtimes/nuclio/application/application.py,sha256=3WeVCeVUb6U5wJDVJSuTDzJ-Pcr3ifg08E4gKIEIkmo,28945
|
|
303
304
|
mlrun/runtimes/nuclio/application/reverse_proxy.go,sha256=lEHH74vr2PridIHp1Jkc_NjkrWb5b6zawRrNxHQhwGU,2913
|
|
304
305
|
mlrun/runtimes/sparkjob/__init__.py,sha256=GPP_ekItxiU9Ydn3mJa4Obph02Bg6DO-JYs791_MV58,607
|
|
305
|
-
mlrun/runtimes/sparkjob/spark3job.py,sha256=
|
|
306
|
-
mlrun/serving/__init__.py,sha256=
|
|
306
|
+
mlrun/runtimes/sparkjob/spark3job.py,sha256=FmrfR1lTVeH_F3YOx8vj16QsvN3b7veUS00_3d3PslI,41221
|
|
307
|
+
mlrun/serving/__init__.py,sha256=1MjUInuyxsF-dTHZuKelq2XLhg2GInH9LjAY3PcWEzs,1364
|
|
307
308
|
mlrun/serving/merger.py,sha256=pfOQoozUyObCTpqXAMk94PmhZefn4bBrKufO3MKnkAc,6193
|
|
308
309
|
mlrun/serving/remote.py,sha256=Igha2FipK3-6rV_PZ1K464kTbiTu8rhc6SMm-HiEJ6o,18817
|
|
309
310
|
mlrun/serving/routers.py,sha256=SY6AsaiSnh8ssXq8hQE2z9MYapOxFOFJBx9QomiZMO8,53915
|
|
310
|
-
mlrun/serving/server.py,sha256=
|
|
311
|
+
mlrun/serving/server.py,sha256=WCJqggfZHTa4qbw1UopoZq_X2g-LutPjp35wGfxDsyI,29790
|
|
311
312
|
mlrun/serving/serving_wrapper.py,sha256=UL9hhWCfMPcTJO_XrkvNaFvck1U1E7oS8trTZyak0cA,835
|
|
312
|
-
mlrun/serving/states.py,sha256=
|
|
313
|
+
mlrun/serving/states.py,sha256=mSj9n7BT0CWBD02MTXWBzGr4hwj0Zef9dFUkQY5aXWg,91248
|
|
314
|
+
mlrun/serving/system_steps.py,sha256=lVdv6OVInLxKO1RgMLuKw0zeeMAlLWcgNtKW_tYw9jY,16334
|
|
313
315
|
mlrun/serving/utils.py,sha256=Zbfqm8TKNcTE8zRBezVBzpvR2WKeKeIRN7otNIaiYEc,4170
|
|
314
316
|
mlrun/serving/v1_serving.py,sha256=c6J_MtpE-Tqu00-6r4eJOCO6rUasHDal9W2eBIcrl50,11853
|
|
315
|
-
mlrun/serving/v2_serving.py,sha256=
|
|
317
|
+
mlrun/serving/v2_serving.py,sha256=BHQMhTQjjhXgUJIAjfRmjkcYUCXrJJn_6EZip2v3xw4,25395
|
|
316
318
|
mlrun/track/__init__.py,sha256=yVXbT52fXvGKRlc_ByHqIVt7-9L3DRE634RSeQwgXtU,665
|
|
317
319
|
mlrun/track/tracker.py,sha256=CyTU6Qd3_5GGEJ_hpocOj71wvV65EuFYUjaYEUKAL6Q,3575
|
|
318
320
|
mlrun/track/tracker_manager.py,sha256=IYBl99I62IC6VCCmG1yt6JoHNOQXa53C4DURJ2sWgio,5726
|
|
@@ -324,7 +326,7 @@ mlrun/utils/azure_vault.py,sha256=IEFizrDGDbAaoWwDr1WoA88S_EZ0T--vjYtY-i0cvYQ,34
|
|
|
324
326
|
mlrun/utils/clones.py,sha256=qbAGyEbSvlewn3Tw_DpQZP9z6MGzFhSaZfI1CblX8Fg,7515
|
|
325
327
|
mlrun/utils/condition_evaluator.py,sha256=-nGfRmZzivn01rHTroiGY4rqEv8T1irMyhzxEei-sKc,1897
|
|
326
328
|
mlrun/utils/db.py,sha256=UIYDPHvPxim8tpjeD4S2QbfTx9Bhe-VqUQjqYTRHFuo,2185
|
|
327
|
-
mlrun/utils/helpers.py,sha256=
|
|
329
|
+
mlrun/utils/helpers.py,sha256=DS_SEUupY6KkLO-ejHiVLPdAEKBvanoxifIng2d9qwg,80448
|
|
328
330
|
mlrun/utils/http.py,sha256=5ZU2VpokaUM_DT3HBSqTm8xjUqTPjZN5fKkSIvKlTl0,8704
|
|
329
331
|
mlrun/utils/logger.py,sha256=RG0m1rx6gfkJ-2C1r_p41MMpPiaDYqaYM2lYHDlNZEU,14767
|
|
330
332
|
mlrun/utils/regex.py,sha256=FcRwWD8x9X3HLhCCU2F0AVKTFah784Pr7ZAe3a02jw8,5199
|
|
@@ -343,11 +345,11 @@ mlrun/utils/notifications/notification/mail.py,sha256=ZyJ3eqd8simxffQmXzqd3bgbAq
|
|
|
343
345
|
mlrun/utils/notifications/notification/slack.py,sha256=kfhogR5keR7Zjh0VCjJNK3NR5_yXT7Cv-x9GdOUW4Z8,7294
|
|
344
346
|
mlrun/utils/notifications/notification/webhook.py,sha256=zxh8CAlbPnTazsk6r05X5TKwqUZVOH5KBU2fJbzQlG4,5330
|
|
345
347
|
mlrun/utils/version/__init__.py,sha256=YnzE6tlf24uOQ8y7Z7l96QLAI6-QEii7-77g8ynmzy0,613
|
|
346
|
-
mlrun/utils/version/version.json,sha256=
|
|
348
|
+
mlrun/utils/version/version.json,sha256=un2xBgcuKWkNshBYY5GPOv_fh0i0DOb22tFDow1dBx0,89
|
|
347
349
|
mlrun/utils/version/version.py,sha256=M2hVhRrgkN3SxacZHs3ZqaOsqAA7B6a22ne324IQ1HE,1877
|
|
348
|
-
mlrun-1.10.
|
|
349
|
-
mlrun-1.10.
|
|
350
|
-
mlrun-1.10.
|
|
351
|
-
mlrun-1.10.
|
|
352
|
-
mlrun-1.10.
|
|
353
|
-
mlrun-1.10.
|
|
350
|
+
mlrun-1.10.0rc9.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
351
|
+
mlrun-1.10.0rc9.dist-info/METADATA,sha256=4UfqJ9LgtS6kt03USPp2kEAuiROPdk7BI0cYQaCVSoE,26150
|
|
352
|
+
mlrun-1.10.0rc9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
353
|
+
mlrun-1.10.0rc9.dist-info/entry_points.txt,sha256=1Owd16eAclD5pfRCoJpYC2ZJSyGNTtUr0nCELMioMmU,46
|
|
354
|
+
mlrun-1.10.0rc9.dist-info/top_level.txt,sha256=NObLzw3maSF9wVrgSeYBv-fgnHkAJ1kEkh12DLdd5KM,6
|
|
355
|
+
mlrun-1.10.0rc9.dist-info/RECORD,,
|
mlrun/common/db/sql_session.py
DELETED
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
# Copyright 2023 Iguazio
|
|
2
|
-
#
|
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
# you may not use this file except in compliance with the License.
|
|
5
|
-
# You may obtain a copy of the License at
|
|
6
|
-
#
|
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
#
|
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
-
# See the License for the specific language governing permissions and
|
|
13
|
-
# limitations under the License.
|
|
14
|
-
|
|
15
|
-
from sqlalchemy import create_engine
|
|
16
|
-
from sqlalchemy.engine import Engine
|
|
17
|
-
from sqlalchemy.orm import Session
|
|
18
|
-
from sqlalchemy.orm import (
|
|
19
|
-
sessionmaker as SessionMaker, # noqa: N812 - `sessionmaker` is a class
|
|
20
|
-
)
|
|
21
|
-
|
|
22
|
-
from mlrun.config import config
|
|
23
|
-
|
|
24
|
-
# TODO: wrap the following functions in a singleton class
|
|
25
|
-
_engines: dict[str, Engine] = {}
|
|
26
|
-
_session_makers: dict[str, SessionMaker] = {}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
# doing lazy load to allow tests to initialize the engine
|
|
30
|
-
def get_engine(dsn=None) -> Engine:
|
|
31
|
-
global _engines
|
|
32
|
-
dsn = dsn or config.httpdb.dsn
|
|
33
|
-
if dsn not in _engines:
|
|
34
|
-
_init_engine(dsn=dsn)
|
|
35
|
-
return _engines[dsn]
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
def create_session(dsn=None) -> Session:
|
|
39
|
-
session_maker = _get_session_maker(dsn=dsn)
|
|
40
|
-
return session_maker()
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
# doing lazy load to allow tests to initialize the engine
|
|
44
|
-
def _get_session_maker(dsn) -> SessionMaker:
|
|
45
|
-
global _session_makers
|
|
46
|
-
dsn = dsn or config.httpdb.dsn
|
|
47
|
-
if dsn not in _session_makers:
|
|
48
|
-
_init_session_maker(dsn=dsn)
|
|
49
|
-
return _session_makers[dsn]
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
# TODO: we accept the dsn here to enable tests to override it, the "right" thing will be that config will be easily
|
|
53
|
-
# overridable by tests (today when you import the config it is already being initialized.. should be lazy load)
|
|
54
|
-
def _init_engine(dsn=None):
|
|
55
|
-
global _engines
|
|
56
|
-
dsn = dsn or config.httpdb.dsn
|
|
57
|
-
kwargs = {}
|
|
58
|
-
if "mysql" in dsn:
|
|
59
|
-
pool_size = config.httpdb.db.connections_pool_size
|
|
60
|
-
if pool_size is None:
|
|
61
|
-
pool_size = config.httpdb.max_workers
|
|
62
|
-
max_overflow = config.httpdb.db.connections_pool_max_overflow
|
|
63
|
-
if max_overflow is None:
|
|
64
|
-
max_overflow = config.httpdb.max_workers
|
|
65
|
-
|
|
66
|
-
kwargs = {
|
|
67
|
-
"pool_size": pool_size,
|
|
68
|
-
"max_overflow": max_overflow,
|
|
69
|
-
"pool_pre_ping": config.httpdb.db.connections_pool_pre_ping,
|
|
70
|
-
"pool_recycle": config.httpdb.db.connections_pool_recycle,
|
|
71
|
-
}
|
|
72
|
-
engine = create_engine(dsn, **kwargs)
|
|
73
|
-
_engines[dsn] = engine
|
|
74
|
-
_init_session_maker(dsn=dsn)
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
def _init_session_maker(dsn):
|
|
78
|
-
global _session_makers
|
|
79
|
-
_session_makers[dsn] = SessionMaker(bind=get_engine(dsn=dsn))
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|