mlrun 1.10.0rc8__py3-none-any.whl → 1.10.0rc10__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/common/constants.py +1 -0
- mlrun/common/db/dialects.py +25 -0
- mlrun/common/schemas/__init__.py +1 -0
- mlrun/common/schemas/function.py +1 -0
- mlrun/common/schemas/model_monitoring/model_endpoints.py +8 -0
- mlrun/common/schemas/partition.py +13 -3
- mlrun/common/schemas/workflow.py +7 -0
- mlrun/datastore/utils.py +0 -1
- mlrun/db/__init__.py +1 -0
- mlrun/db/base.py +17 -0
- mlrun/db/nopdb.py +9 -0
- mlrun/db/sql_types.py +160 -0
- mlrun/frameworks/tf_keras/mlrun_interface.py +4 -1
- mlrun/frameworks/tf_keras/model_handler.py +23 -3
- mlrun/launcher/base.py +0 -1
- mlrun/launcher/client.py +0 -1
- mlrun/launcher/local.py +0 -4
- mlrun/model_monitoring/applications/base.py +21 -1
- mlrun/model_monitoring/applications/context.py +2 -1
- mlrun/projects/__init__.py +1 -0
- mlrun/projects/pipelines.py +36 -0
- mlrun/projects/project.py +0 -13
- 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 +0 -46
- mlrun/runtimes/pod.py +0 -3
- mlrun/runtimes/remotesparkjob.py +0 -2
- mlrun/runtimes/sparkjob/spark3job.py +0 -2
- mlrun/serving/routers.py +17 -13
- mlrun/serving/server.py +3 -97
- mlrun/serving/system_steps.py +2 -1
- mlrun/serving/v2_serving.py +2 -2
- mlrun/utils/helpers.py +1 -1
- mlrun/utils/version/version.json +2 -2
- {mlrun-1.10.0rc8.dist-info → mlrun-1.10.0rc10.dist-info}/METADATA +15 -12
- {mlrun-1.10.0rc8.dist-info → mlrun-1.10.0rc10.dist-info}/RECORD +43 -42
- {mlrun-1.10.0rc8.dist-info → mlrun-1.10.0rc10.dist-info}/licenses/LICENSE +1 -1
- mlrun/common/db/sql_session.py +0 -79
- {mlrun-1.10.0rc8.dist-info → mlrun-1.10.0rc10.dist-info}/WHEEL +0 -0
- {mlrun-1.10.0rc8.dist-info → mlrun-1.10.0rc10.dist-info}/entry_points.txt +0 -0
- {mlrun-1.10.0rc8.dist-info → mlrun-1.10.0rc10.dist-info}/top_level.txt +0 -0
|
@@ -23,12 +23,12 @@ mlrun/artifacts/manager.py,sha256=ylCmwTSDxPWYTBBW7v90XLYy7CYS7xVydj-D-kWY7bU,16
|
|
|
23
23
|
mlrun/artifacts/model.py,sha256=YlhD0zX8UhuEjTWD7NNnWcRCpjF1S2_6IpE0a1VHEHM,25589
|
|
24
24
|
mlrun/artifacts/plots.py,sha256=wmaxVXiAPSCyn3M7pIlcBu9pP3O8lrq0Ewx6iHRDF9s,4238
|
|
25
25
|
mlrun/common/__init__.py,sha256=kXGBqhLN0rlAx0kTXhozGzFsIdSqW0uTSKMmsLgq_is,569
|
|
26
|
-
mlrun/common/constants.py,sha256=
|
|
26
|
+
mlrun/common/constants.py,sha256=L8mRIFpaob5kw0PVvWqQjvdbXDVweaRZOR187PnAiOc,3644
|
|
27
27
|
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
|
|
@@ -41,7 +41,7 @@ mlrun/common/formatters/run.py,sha256=LlqhhVY4dAp5y17k_sWBtHaJogdNdtJWF0iO9sX-bU
|
|
|
41
41
|
mlrun/common/model_monitoring/__init__.py,sha256=kXGBqhLN0rlAx0kTXhozGzFsIdSqW0uTSKMmsLgq_is,569
|
|
42
42
|
mlrun/common/model_monitoring/helpers.py,sha256=AkuHz4u318MEP4ebxmNWlNXh6HiNLrI5oF7QvJiJkYc,2707
|
|
43
43
|
mlrun/common/runtimes/constants.py,sha256=IkKwNHb-PQrpOZvekP4HzxCP5L4ZuIxPYVEzqK6Tegc,11976
|
|
44
|
-
mlrun/common/schemas/__init__.py,sha256=
|
|
44
|
+
mlrun/common/schemas/__init__.py,sha256=wRt0dNWTnews4loHWn5feRegy7QdfNqwzUP56BmlxSU,5426
|
|
45
45
|
mlrun/common/schemas/alert.py,sha256=u6INAHBhQIfm-mMsGqDJo1_JDN6gOuWZa-8fOU-aOUE,10182
|
|
46
46
|
mlrun/common/schemas/api_gateway.py,sha256=bgC3vXbyb1SVwsSZkLXtEoQLCe_QDKpIhAVX3X_HWW4,7126
|
|
47
47
|
mlrun/common/schemas/artifact.py,sha256=JojMRRa4n0Rge2olGOpUyp348hkTGsMEnvUBRSoo4oE,4310
|
|
@@ -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,7 +63,7 @@ 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
68
|
mlrun/common/schemas/project.py,sha256=9O9Wa2PkRy74WzwiLd7A6jBXf4FJxQMJj9wh2VpsZao,6138
|
|
69
69
|
mlrun/common/schemas/regex.py,sha256=r-phg_9ge1lFraPCQd_wpnYGQ1oOCj3xChycJxZtIQY,775
|
|
@@ -73,12 +73,12 @@ mlrun/common/schemas/schedule.py,sha256=L7z9Lp06-xmFmdp0q5PypCU_DCl6zZIyQTVoJa01
|
|
|
73
73
|
mlrun/common/schemas/secret.py,sha256=Td2UAeWHSAdA4nIP3rQv_PIVKVqcBnCnK6xjr528tS8,1486
|
|
74
74
|
mlrun/common/schemas/serving.py,sha256=u_jfGmUB5kTqTR6pGtn7mQvr8wRsoaDrfZz672F1nRE,1199
|
|
75
75
|
mlrun/common/schemas/tag.py,sha256=1wqEiAujsElojWb3qmuyfcaLFjXSNAAQdafkDx7fkn0,891
|
|
76
|
-
mlrun/common/schemas/workflow.py,sha256=
|
|
76
|
+
mlrun/common/schemas/workflow.py,sha256=tFBFhh70cTr2mXcgVoNL2GYzhl4aGWQwqtDU59T7LWQ,2384
|
|
77
77
|
mlrun/common/schemas/model_monitoring/__init__.py,sha256=Hx3IxW63edOSLxMnbQpY3Yv4f-eNnBu4EuVw5bihP8w,1819
|
|
78
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=Kx9ELU06DdsyMGbkRakHF9J6_KOlHcWgkjEivgxaupk,31076
|
|
115
115
|
mlrun/db/factory.py,sha256=yP2vVmveUE7LYTCHbS6lQIxP9rW--zdISWuPd_I3d_4,2111
|
|
116
116
|
mlrun/db/httpdb.py,sha256=8OCLIp--B1Z_AH98XhCm84Ls22IqXLO4OWkd7oQ4UQc,234747
|
|
117
|
-
mlrun/db/nopdb.py,sha256=
|
|
117
|
+
mlrun/db/nopdb.py,sha256=YcPbAutLcd7-CklMR60cckB5tkoAEGwESlD5cDJWHoM,27478
|
|
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
|
|
@@ -202,8 +203,8 @@ mlrun/frameworks/sklearn/mlrun_interface.py,sha256=Lk1MKzP7d72R6_1PTWO5pKY1VUEHc
|
|
|
202
203
|
mlrun/frameworks/sklearn/model_handler.py,sha256=m7ohGO8sphuVU0vZAzVNBATY0WNUpQb_SmaO6xkZx8U,4752
|
|
203
204
|
mlrun/frameworks/sklearn/utils.py,sha256=OPyuXOwod6Tjs5PcIStwtwZfIaQk-hL9wzNbjQ29LuU,1208
|
|
204
205
|
mlrun/frameworks/tf_keras/__init__.py,sha256=M2sMbYHLrlF-KFR5kvA9mevRo3Nf8U0B5a_DM9rzwCY,10484
|
|
205
|
-
mlrun/frameworks/tf_keras/mlrun_interface.py,sha256=
|
|
206
|
-
mlrun/frameworks/tf_keras/model_handler.py,sha256=
|
|
206
|
+
mlrun/frameworks/tf_keras/mlrun_interface.py,sha256=DDBbcGAZh9h5UKDIQJCnSrliJDNNjVVpauBdmEV373o,16713
|
|
207
|
+
mlrun/frameworks/tf_keras/model_handler.py,sha256=jBTBAS8CtftwFkXwt7mLbJNw_Lbfw3FMgGxoStYoXcA,32169
|
|
207
208
|
mlrun/frameworks/tf_keras/model_server.py,sha256=60iJRl_9ZYPCzxdfiJM_-BtECKZZTOKWBJ36O-GLjEc,9652
|
|
208
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
|
|
@@ -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
|
|
@@ -270,50 +271,50 @@ mlrun/package/utils/log_hint_utils.py,sha256=oFUrzcJ-AHocXSGIiMP6Yq3IYBgUfnrB-ri
|
|
|
270
271
|
mlrun/package/utils/type_hint_utils.py,sha256=Ic3A7C9KnbfdLe-nUgzGoefBnsvOJJP9ipfuscA8MLU,14694
|
|
271
272
|
mlrun/platforms/__init__.py,sha256=ZuyeHCHHUxYEoZRmaJqzFSfwhaTyUdBZXMeVp75ql1w,3551
|
|
272
273
|
mlrun/platforms/iguazio.py,sha256=6VBTq8eQ3mzT96tzjYhAtcMQ2VjF4x8LpIPW5DAcX2Q,13749
|
|
273
|
-
mlrun/projects/__init__.py,sha256=
|
|
274
|
+
mlrun/projects/__init__.py,sha256=hdCOA6_fp8X4qGGGT7Bj7sPbkM1PayWuaVZL0DkpuZw,1240
|
|
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=Q92dIzs-9zVpFhsWxrtppxqeMlXZE4NMF-6k_2MjBw8,50538
|
|
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/runtimes/sparkjob/spark3job.py,sha256=FmrfR1lTVeH_F3YOx8vj16QsvN3b7veUS00_3d3PslI,41221
|
|
306
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
|
-
mlrun/serving/routers.py,sha256=
|
|
310
|
-
mlrun/serving/server.py,sha256=
|
|
310
|
+
mlrun/serving/routers.py,sha256=SmBOlHn7rT2gWTa-W8f16UB0UthgIFc4D1cPOZAA9ss,54003
|
|
311
|
+
mlrun/serving/server.py,sha256=WCJqggfZHTa4qbw1UopoZq_X2g-LutPjp35wGfxDsyI,29790
|
|
311
312
|
mlrun/serving/serving_wrapper.py,sha256=UL9hhWCfMPcTJO_XrkvNaFvck1U1E7oS8trTZyak0cA,835
|
|
312
313
|
mlrun/serving/states.py,sha256=mSj9n7BT0CWBD02MTXWBzGr4hwj0Zef9dFUkQY5aXWg,91248
|
|
313
|
-
mlrun/serving/system_steps.py,sha256=
|
|
314
|
+
mlrun/serving/system_steps.py,sha256=s3Grs8DPaQ2CI8EY1IB4IOg-8y-6gRIewQZHkFVFNwg,16429
|
|
314
315
|
mlrun/serving/utils.py,sha256=Zbfqm8TKNcTE8zRBezVBzpvR2WKeKeIRN7otNIaiYEc,4170
|
|
315
316
|
mlrun/serving/v1_serving.py,sha256=c6J_MtpE-Tqu00-6r4eJOCO6rUasHDal9W2eBIcrl50,11853
|
|
316
|
-
mlrun/serving/v2_serving.py,sha256=
|
|
317
|
+
mlrun/serving/v2_serving.py,sha256=257LVOvWxV0KjeY0-Kxro6YgKmPu2QzNne2IORlXi5E,25434
|
|
317
318
|
mlrun/track/__init__.py,sha256=yVXbT52fXvGKRlc_ByHqIVt7-9L3DRE634RSeQwgXtU,665
|
|
318
319
|
mlrun/track/tracker.py,sha256=CyTU6Qd3_5GGEJ_hpocOj71wvV65EuFYUjaYEUKAL6Q,3575
|
|
319
320
|
mlrun/track/tracker_manager.py,sha256=IYBl99I62IC6VCCmG1yt6JoHNOQXa53C4DURJ2sWgio,5726
|
|
@@ -325,7 +326,7 @@ mlrun/utils/azure_vault.py,sha256=IEFizrDGDbAaoWwDr1WoA88S_EZ0T--vjYtY-i0cvYQ,34
|
|
|
325
326
|
mlrun/utils/clones.py,sha256=qbAGyEbSvlewn3Tw_DpQZP9z6MGzFhSaZfI1CblX8Fg,7515
|
|
326
327
|
mlrun/utils/condition_evaluator.py,sha256=-nGfRmZzivn01rHTroiGY4rqEv8T1irMyhzxEei-sKc,1897
|
|
327
328
|
mlrun/utils/db.py,sha256=UIYDPHvPxim8tpjeD4S2QbfTx9Bhe-VqUQjqYTRHFuo,2185
|
|
328
|
-
mlrun/utils/helpers.py,sha256=
|
|
329
|
+
mlrun/utils/helpers.py,sha256=DS_SEUupY6KkLO-ejHiVLPdAEKBvanoxifIng2d9qwg,80448
|
|
329
330
|
mlrun/utils/http.py,sha256=5ZU2VpokaUM_DT3HBSqTm8xjUqTPjZN5fKkSIvKlTl0,8704
|
|
330
331
|
mlrun/utils/logger.py,sha256=RG0m1rx6gfkJ-2C1r_p41MMpPiaDYqaYM2lYHDlNZEU,14767
|
|
331
332
|
mlrun/utils/regex.py,sha256=FcRwWD8x9X3HLhCCU2F0AVKTFah784Pr7ZAe3a02jw8,5199
|
|
@@ -344,11 +345,11 @@ mlrun/utils/notifications/notification/mail.py,sha256=ZyJ3eqd8simxffQmXzqd3bgbAq
|
|
|
344
345
|
mlrun/utils/notifications/notification/slack.py,sha256=kfhogR5keR7Zjh0VCjJNK3NR5_yXT7Cv-x9GdOUW4Z8,7294
|
|
345
346
|
mlrun/utils/notifications/notification/webhook.py,sha256=zxh8CAlbPnTazsk6r05X5TKwqUZVOH5KBU2fJbzQlG4,5330
|
|
346
347
|
mlrun/utils/version/__init__.py,sha256=YnzE6tlf24uOQ8y7Z7l96QLAI6-QEii7-77g8ynmzy0,613
|
|
347
|
-
mlrun/utils/version/version.json,sha256=
|
|
348
|
+
mlrun/utils/version/version.json,sha256=hp-Ml2C1P4UaX8zx2xwNmoAElsJkrIFnTkHAlazKnDo,90
|
|
348
349
|
mlrun/utils/version/version.py,sha256=M2hVhRrgkN3SxacZHs3ZqaOsqAA7B6a22ne324IQ1HE,1877
|
|
349
|
-
mlrun-1.10.
|
|
350
|
-
mlrun-1.10.
|
|
351
|
-
mlrun-1.10.
|
|
352
|
-
mlrun-1.10.
|
|
353
|
-
mlrun-1.10.
|
|
354
|
-
mlrun-1.10.
|
|
350
|
+
mlrun-1.10.0rc10.dist-info/licenses/LICENSE,sha256=zTiv1CxWNkOk1q8eJS1G_8oD4gWpWLwWxj_Agcsi8Os,11337
|
|
351
|
+
mlrun-1.10.0rc10.dist-info/METADATA,sha256=CZ-2JeUcsZRPjlGlC4sfYSX76Q-UGkWFXZHsyWT0kfw,26088
|
|
352
|
+
mlrun-1.10.0rc10.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
353
|
+
mlrun-1.10.0rc10.dist-info/entry_points.txt,sha256=1Owd16eAclD5pfRCoJpYC2ZJSyGNTtUr0nCELMioMmU,46
|
|
354
|
+
mlrun-1.10.0rc10.dist-info/top_level.txt,sha256=NObLzw3maSF9wVrgSeYBv-fgnHkAJ1kEkh12DLdd5KM,6
|
|
355
|
+
mlrun-1.10.0rc10.dist-info/RECORD,,
|
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
same "printed page" as the copyright notice for easier
|
|
187
187
|
identification within third-party archives.
|
|
188
188
|
|
|
189
|
-
Copyright
|
|
189
|
+
Copyright 2020 Iguazio
|
|
190
190
|
|
|
191
191
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
192
|
you may not use this file except in compliance with the License.
|
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
|