MindsDB 25.3.4.0__py3-none-any.whl → 25.3.4.2__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 MindsDB might be problematic. Click here for more details.
- mindsdb/__about__.py +2 -2
- mindsdb/api/executor/datahub/datanodes/integration_datanode.py +5 -2
- mindsdb/api/executor/datahub/datanodes/system_tables.py +131 -138
- mindsdb/api/mysql/mysql_proxy/libs/constants/mysql.py +74 -0
- mindsdb/integrations/handlers/confluence_handler/confluence_api_client.py +176 -0
- mindsdb/integrations/handlers/confluence_handler/confluence_handler.py +54 -59
- mindsdb/integrations/handlers/confluence_handler/confluence_tables.py +753 -0
- mindsdb/integrations/handlers/confluence_handler/connection_args.py +8 -8
- mindsdb/integrations/handlers/langchain_handler/requirements.txt +1 -1
- mindsdb/integrations/handlers/lightwood_handler/requirements.txt +3 -3
- mindsdb/integrations/handlers/litellm_handler/requirements.txt +1 -1
- mindsdb/integrations/handlers/llama_index_handler/requirements.txt +1 -1
- mindsdb/integrations/handlers/ms_teams_handler/ms_graph_api_teams_client.py +278 -55
- mindsdb/integrations/handlers/ms_teams_handler/ms_teams_handler.py +52 -21
- mindsdb/integrations/handlers/ms_teams_handler/ms_teams_tables.py +6 -29
- mindsdb/integrations/handlers/mssql_handler/mssql_handler.py +37 -1
- mindsdb/integrations/handlers/mysql_handler/mysql_handler.py +30 -1
- mindsdb/integrations/handlers/oracle_handler/oracle_handler.py +53 -5
- mindsdb/integrations/handlers/postgres_handler/postgres_handler.py +37 -1
- mindsdb/integrations/handlers/ray_serve_handler/ray_serve_handler.py +18 -16
- mindsdb/integrations/handlers/snowflake_handler/snowflake_handler.py +68 -2
- mindsdb/integrations/utilities/handlers/auth_utilities/__init__.py +1 -1
- mindsdb/integrations/utilities/handlers/auth_utilities/microsoft/__init__.py +1 -1
- mindsdb/integrations/utilities/handlers/auth_utilities/microsoft/ms_graph_api_auth_utilities.py +97 -18
- mindsdb/utilities/render/sqlalchemy_render.py +30 -6
- {mindsdb-25.3.4.0.dist-info → mindsdb-25.3.4.2.dist-info}/METADATA +226 -231
- {mindsdb-25.3.4.0.dist-info → mindsdb-25.3.4.2.dist-info}/RECORD +30 -30
- {mindsdb-25.3.4.0.dist-info → mindsdb-25.3.4.2.dist-info}/WHEEL +1 -1
- mindsdb/integrations/handlers/confluence_handler/confluence_table.py +0 -193
- mindsdb/integrations/handlers/confluence_handler/requirements.txt +0 -1
- {mindsdb-25.3.4.0.dist-info → mindsdb-25.3.4.2.dist-info}/licenses/LICENSE +0 -0
- {mindsdb-25.3.4.0.dist-info → mindsdb-25.3.4.2.dist-info}/top_level.txt +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
mindsdb/__about__.py,sha256=
|
|
1
|
+
mindsdb/__about__.py,sha256=B4JJqsjCqUX9fd3ujOGmkP7hkf9jDr5YUQBQhAmSPbg,456
|
|
2
2
|
mindsdb/__init__.py,sha256=fZopLiAYa9MzMZ0d48JgHc_LddfFKDzh7n_8icsjrVs,54
|
|
3
3
|
mindsdb/__main__.py,sha256=OOvGVNYi17UNn66OFjRNGcgxR9JefTxLZzL3vHq3AEg,21826
|
|
4
4
|
mindsdb/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -18,10 +18,10 @@ mindsdb/api/executor/datahub/classes/tables_row.py,sha256=wT3TzoK3dFNiRc92rh_Hgo
|
|
|
18
18
|
mindsdb/api/executor/datahub/datanodes/__init__.py,sha256=aGoFHBCcl4y-a5rjUYNGpVbZjsh6i__t4u8AY5shPsg,185
|
|
19
19
|
mindsdb/api/executor/datahub/datanodes/datanode.py,sha256=IuWnQvT6SVMoMOELuLoMCAUxZpItGn0Nr0ct44fspr0,373
|
|
20
20
|
mindsdb/api/executor/datahub/datanodes/information_schema_datanode.py,sha256=PTSwy1PFfFWc0tt-Xb4nOU8gaqpq8Y9FVIFZ1SNgjqU,6323
|
|
21
|
-
mindsdb/api/executor/datahub/datanodes/integration_datanode.py,sha256=
|
|
21
|
+
mindsdb/api/executor/datahub/datanodes/integration_datanode.py,sha256=okCAg21_aZ4pLCs6VRj0mJcD3Da2-rzyMhIe4bm048M,9896
|
|
22
22
|
mindsdb/api/executor/datahub/datanodes/mindsdb_tables.py,sha256=xWWe25ZaOhc-c_gjT6n1w4A_g-z7h8W4JUb9sW5Hglo,12567
|
|
23
23
|
mindsdb/api/executor/datahub/datanodes/project_datanode.py,sha256=KAYGMEDY4hVf7hZtyB26ehEwu1SCooql3mtoaN0itHs,6336
|
|
24
|
-
mindsdb/api/executor/datahub/datanodes/system_tables.py,sha256=
|
|
24
|
+
mindsdb/api/executor/datahub/datanodes/system_tables.py,sha256=9Bol0qiDRxBQJ53-EytjxzLnVNsipmrRm0J-BrDJ7eU,15559
|
|
25
25
|
mindsdb/api/executor/planner/__init__.py,sha256=Ysh8feXwejpVhJ9yDbrE_lBA3EsGqyWnrbIPdmtE1Oc,143
|
|
26
26
|
mindsdb/api/executor/planner/exceptions.py,sha256=rvLQoFZgCpVsGWomSBdPeuOyr_6FM-QKmseVvUIw5E8,46
|
|
27
27
|
mindsdb/api/executor/planner/plan_join.py,sha256=rZn21LGxWyRou4iVOpNpt9IY4TytPoIDJy8rfGqfhoE,22506
|
|
@@ -180,7 +180,7 @@ mindsdb/api/mysql/mysql_proxy/external_libs/__init__.py,sha256=47DEQpj8HBSa-_TIm
|
|
|
180
180
|
mindsdb/api/mysql/mysql_proxy/external_libs/mysql_scramble.py,sha256=k5ZmduhQW2E3Mf_jns-dyVLsRxXUAJE1b3Qbr1FkHKo,4116
|
|
181
181
|
mindsdb/api/mysql/mysql_proxy/libs/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
182
182
|
mindsdb/api/mysql/mysql_proxy/libs/constants/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
183
|
-
mindsdb/api/mysql/mysql_proxy/libs/constants/mysql.py,sha256
|
|
183
|
+
mindsdb/api/mysql/mysql_proxy/libs/constants/mysql.py,sha256=DONo51s6ckrShZ_mTJkL6u33AqPeHq5uuWvBzw8d6RA,38007
|
|
184
184
|
mindsdb/api/mysql/mysql_proxy/utilities/__init__.py,sha256=y6AJu3xWHud92ZK_pfU3WzDj8gLIYvXfFNJ-phZmjJo,26
|
|
185
185
|
mindsdb/api/mysql/mysql_proxy/utilities/exceptions.py,sha256=6iKdCaPRytM2uk9F0fXEl7Xl89wU-_28K0CtndChvfU,407
|
|
186
186
|
mindsdb/api/mysql/mysql_proxy/utilities/lightwood_dtype.py,sha256=dPtDWMh2S5ICsSYMsnLia7-R1mwHUGs7aopiRhLamD8,2341
|
|
@@ -412,11 +412,11 @@ mindsdb/integrations/handlers/coinbase_handler/icon.svg,sha256=MWExiK7-0F7OeLSLK
|
|
|
412
412
|
mindsdb/integrations/handlers/coinbase_handler/requirements.txt,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
413
413
|
mindsdb/integrations/handlers/confluence_handler/__about__.py,sha256=0U9j9CfAa3mfGZPk6sq1n5LfCpnHtCgIH1JkaSsPRnQ,356
|
|
414
414
|
mindsdb/integrations/handlers/confluence_handler/__init__.py,sha256=68yvHlrf7xrRjrOqkzYIXfr4mFEQKs2GtCQKBhvuuWU,646
|
|
415
|
-
mindsdb/integrations/handlers/confluence_handler/
|
|
416
|
-
mindsdb/integrations/handlers/confluence_handler/
|
|
417
|
-
mindsdb/integrations/handlers/confluence_handler/
|
|
415
|
+
mindsdb/integrations/handlers/confluence_handler/confluence_api_client.py,sha256=pyMVsQwSB-j03AP5RXgFQxyEE5hK3aIkmiW2pwOZJo8,5512
|
|
416
|
+
mindsdb/integrations/handlers/confluence_handler/confluence_handler.py,sha256=BntGCIyGcZQAe8Uz8TZZsXP3Bs9g4hb6pEtoWNMg4zs,3381
|
|
417
|
+
mindsdb/integrations/handlers/confluence_handler/confluence_tables.py,sha256=m0MEItwvz2Xj7J0NECKvHgKJFphsUrtdOplNABvyDaI,24079
|
|
418
|
+
mindsdb/integrations/handlers/confluence_handler/connection_args.py,sha256=RZOuI3CbJ3VZmWJ5SDQ2vgppFRF42FUhfNAfpHgEdVM,852
|
|
418
419
|
mindsdb/integrations/handlers/confluence_handler/icon.svg,sha256=Piz_ZFABS16FgHfePv3-6yBU2c-h7yeX1bZ5JXFJ_Fk,2500
|
|
419
|
-
mindsdb/integrations/handlers/confluence_handler/requirements.txt,sha256=uGqoPIycab1Q50-NoN8vHp7TdzfHVamy9_t1RvONbog,21
|
|
420
420
|
mindsdb/integrations/handlers/confluence_handler/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
421
421
|
mindsdb/integrations/handlers/confluence_handler/tests/test_confluence_handler.py,sha256=pICgz5DHaXNg8bqL1wtoD_cBWDrgnIHw9vbZoLKciyk,2163
|
|
422
422
|
mindsdb/integrations/handlers/couchbase_handler/__about__.py,sha256=edORh0-jjv2_SYfeqStXH_zhdp_rnsnyPQVhDHUV8Ns,345
|
|
@@ -862,7 +862,7 @@ mindsdb/integrations/handlers/langchain_handler/__about__.py,sha256=rBZQP0fyIkOb
|
|
|
862
862
|
mindsdb/integrations/handlers/langchain_handler/__init__.py,sha256=4POM9M6p9cUDAIeQ4gy4Cj-F1p6RPokk3MC2cR77mSw,504
|
|
863
863
|
mindsdb/integrations/handlers/langchain_handler/icon.svg,sha256=dMV03a2BDQvZTwxDAxRmd-GzmCCVXyYvJqTwdZb5Hbw,73222
|
|
864
864
|
mindsdb/integrations/handlers/langchain_handler/langchain_handler.py,sha256=2MoMZYz4e4f4NCE-hHheJulxFJAkJudrvOn6-EAGv4Y,12816
|
|
865
|
-
mindsdb/integrations/handlers/langchain_handler/requirements.txt,sha256=
|
|
865
|
+
mindsdb/integrations/handlers/langchain_handler/requirements.txt,sha256=X3GMk6YUemVSiVvr0Rd2P2HerVhXFeL84yzrBgAiWHk,238
|
|
866
866
|
mindsdb/integrations/handlers/langchain_handler/tools.py,sha256=lb0zKsVpTafWi5QSVTbQ0hgvVx1Yr1rLg_i6rTHcVsQ,11385
|
|
867
867
|
mindsdb/integrations/handlers/leonardoai_handler/__about__.py,sha256=tohCA4vFctgcIkYTPoEhcNRW9C1YX07Sxe6n57vTl7A,353
|
|
868
868
|
mindsdb/integrations/handlers/leonardoai_handler/__init__.py,sha256=qoDI2PYu2Kw5TapUlHC1QUIfufxvzuJ1RpLBEpd_woE,512
|
|
@@ -896,7 +896,7 @@ mindsdb/integrations/handlers/lightwood_handler/__init__.py,sha256=iW8kT1kCcBjfe
|
|
|
896
896
|
mindsdb/integrations/handlers/lightwood_handler/functions.py,sha256=WkeI0J19WPh_36wZvezpnV2SW6wc9tEkumKil3qTB-4,9139
|
|
897
897
|
mindsdb/integrations/handlers/lightwood_handler/icon.svg,sha256=q8G2Qws-_E79MdxpSDHtNCqLwK0RWauNmRwGszIs_FE,2542
|
|
898
898
|
mindsdb/integrations/handlers/lightwood_handler/lightwood_handler.py,sha256=H-Xq0Zxc3hfGHGmmWSXkAmT79V_8R6DQ00nnPRUl-3M,23643
|
|
899
|
-
mindsdb/integrations/handlers/lightwood_handler/requirements.txt,sha256=
|
|
899
|
+
mindsdb/integrations/handlers/lightwood_handler/requirements.txt,sha256=vB2o7KbynVd_ePEfXGvBZZ-EOsy-KsYOcm82qQ5S8c0,91
|
|
900
900
|
mindsdb/integrations/handlers/lightwood_handler/utils.py,sha256=3dEI41hsgCzt_GeyXQ5k4U-w_NEZ_sLpbChS0wywANw,2242
|
|
901
901
|
mindsdb/integrations/handlers/lightwood_handler/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
902
902
|
mindsdb/integrations/handlers/lightwood_handler/tests/test_lightwood_handler.py,sha256=kQlcLZqpZEgn03-SMGOxHS5Z-2ayOO-wyaU_r4d-754,10985
|
|
@@ -911,13 +911,13 @@ mindsdb/integrations/handlers/litellm_handler/__about__.py,sha256=qKuzAOGHI5gYpk
|
|
|
911
911
|
mindsdb/integrations/handlers/litellm_handler/__init__.py,sha256=phvu1-lcM1HovXh4GHunND_ScTON4Yb3s4VXNVd_epU,550
|
|
912
912
|
mindsdb/integrations/handlers/litellm_handler/icon.png,sha256=mfPLH1-n3D1q3U57hADzl7s2G-W-EDevUHzmvnLTjy8,37122
|
|
913
913
|
mindsdb/integrations/handlers/litellm_handler/litellm_handler.py,sha256=-C82eH--GVPD-4P7_lPk3GbcTGmyqYLjuGZwW9iQ4pk,4911
|
|
914
|
-
mindsdb/integrations/handlers/litellm_handler/requirements.txt,sha256=
|
|
914
|
+
mindsdb/integrations/handlers/litellm_handler/requirements.txt,sha256=dy-zvg7q-XWnmLu6dh1DSphrzDsLZHec2oSRuF-jWmw,18
|
|
915
915
|
mindsdb/integrations/handlers/litellm_handler/settings.py,sha256=LUnndIS2pqpQB84fLe2AhBWzSzpeHbeoeVNz3T6-Rlk,2301
|
|
916
916
|
mindsdb/integrations/handlers/llama_index_handler/__about__.py,sha256=BtxlhE6R27NMF-AQRn5hhTK3cSdkyUDU6f9venjZ0dU,359
|
|
917
917
|
mindsdb/integrations/handlers/llama_index_handler/__init__.py,sha256=xR7fPvGnYIOw4QOUZ88Gs6tUZHbcr-Wp2V-NmVK-Mlw,506
|
|
918
918
|
mindsdb/integrations/handlers/llama_index_handler/icon.svg,sha256=yjhd8lFNW75F5o5ZRC69UMAu2P_Fxjj7SgLADwUQeJc,12609
|
|
919
919
|
mindsdb/integrations/handlers/llama_index_handler/llama_index_handler.py,sha256=GJvKsXkFnrkCg1A6MZJApe9IQDC7g0n_aSSOWPZkG7s,7859
|
|
920
|
-
mindsdb/integrations/handlers/llama_index_handler/requirements.txt,sha256=
|
|
920
|
+
mindsdb/integrations/handlers/llama_index_handler/requirements.txt,sha256=xoOq5UyUuLyAbii-dIMeUoLts_iloEsv6qM9KBe4cvs,101
|
|
921
921
|
mindsdb/integrations/handlers/llama_index_handler/settings.py,sha256=4L4-EJn_D6z_DcVaQ3o22BpPwSsdmyG1ayRIrIaMTsU,2156
|
|
922
922
|
mindsdb/integrations/handlers/ludwig_handler/__about__.py,sha256=5pC8567sj_ZZW70dm7Chkc4He6-F8l5oUKE1W9V98Ck,343
|
|
923
923
|
mindsdb/integrations/handlers/ludwig_handler/__init__.py,sha256=Bz_CZB8XJiMLYb7rK_zPFFAIHGjEsGR_rc2FK8r8HyM,536
|
|
@@ -1035,15 +1035,15 @@ mindsdb/integrations/handlers/ms_one_drive_handler/ms_one_drive_tables.py,sha256
|
|
|
1035
1035
|
mindsdb/integrations/handlers/ms_teams_handler/__about__.py,sha256=CqqxMr2iXyNXzPfcrMnDpK7u7gC6tmYPkOYR3KBXgQM,357
|
|
1036
1036
|
mindsdb/integrations/handlers/ms_teams_handler/__init__.py,sha256=btEl5YvlZMkMn3NR6eChKtfT31OQY1LBEII1qJ4hf7g,518
|
|
1037
1037
|
mindsdb/integrations/handlers/ms_teams_handler/icon.svg,sha256=pso2BBOFF2aiAw28W9lBPnvnVeNib21kvrqfZnO_C0M,3934
|
|
1038
|
-
mindsdb/integrations/handlers/ms_teams_handler/ms_graph_api_teams_client.py,sha256=
|
|
1039
|
-
mindsdb/integrations/handlers/ms_teams_handler/ms_teams_handler.py,sha256=
|
|
1040
|
-
mindsdb/integrations/handlers/ms_teams_handler/ms_teams_tables.py,sha256
|
|
1038
|
+
mindsdb/integrations/handlers/ms_teams_handler/ms_graph_api_teams_client.py,sha256=QBB_0aQKbjTq0Y9nHX9Xk3QTRF4Bp-owHrkpxHj4SAg,15855
|
|
1039
|
+
mindsdb/integrations/handlers/ms_teams_handler/ms_teams_handler.py,sha256=yljq2o0ajFCP_Nnxhe6iG033l_L8VRXKPl_iQIlquLI,9827
|
|
1040
|
+
mindsdb/integrations/handlers/ms_teams_handler/ms_teams_tables.py,sha256=zsrQCrqSKt5JedR2T1q89NvCoZUvD46-3bzWAeXaVs4,13072
|
|
1041
1041
|
mindsdb/integrations/handlers/ms_teams_handler/requirements.txt,sha256=On99gSLUaYbgUGenm0cRwUf-C-pPune9zbcHkRtdoLU,40
|
|
1042
1042
|
mindsdb/integrations/handlers/mssql_handler/__about__.py,sha256=PIWwVwn9iAHApIWRxOrMuktBneTm9JRLeGkZiSSH-EQ,363
|
|
1043
1043
|
mindsdb/integrations/handlers/mssql_handler/__init__.py,sha256=eYkU7VeK9N8vb68pZEJYVNDIH4JslkIiz8HrX9HV2sQ,612
|
|
1044
1044
|
mindsdb/integrations/handlers/mssql_handler/connection_args.py,sha256=gqdCqCfjOvItZ-tAlUsh7QV7rfyjei_nj0rFX1hKEyE,1524
|
|
1045
1045
|
mindsdb/integrations/handlers/mssql_handler/icon.svg,sha256=CMPDc66jCYyao_ui5eRds92raysDIMNuhIs59Tvbk_8,11944
|
|
1046
|
-
mindsdb/integrations/handlers/mssql_handler/mssql_handler.py,sha256
|
|
1046
|
+
mindsdb/integrations/handlers/mssql_handler/mssql_handler.py,sha256=-GnJKbnEkqOVJzjD5sm1MjpfURxK4WWBkMC6XWoXXns,8858
|
|
1047
1047
|
mindsdb/integrations/handlers/mssql_handler/requirements.txt,sha256=U59auV3ZAxBGXdMbyXxdRI3LTfCICvZVZWKWMnLUlwA,17
|
|
1048
1048
|
mindsdb/integrations/handlers/mssql_handler/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1049
1049
|
mindsdb/integrations/handlers/mssql_handler/tests/test_mssql_handler.py,sha256=gh8t3ft5Xy-EZ3Rfk1oopojQTrbc_DDE-uAlWpeH-8E,6010
|
|
@@ -1051,7 +1051,7 @@ mindsdb/integrations/handlers/mysql_handler/__about__.py,sha256=UCFLhlYJ-_DenwFc
|
|
|
1051
1051
|
mindsdb/integrations/handlers/mysql_handler/__init__.py,sha256=ikcK9oIUFjMfyRDAUKKvb8JQ4Fw-P1zLBeEHo2ZMPY8,592
|
|
1052
1052
|
mindsdb/integrations/handlers/mysql_handler/connection_args.py,sha256=--9ZuX6QSTbWPcRQuptMElStU6p_wkYAUGuxVhRi9JU,2288
|
|
1053
1053
|
mindsdb/integrations/handlers/mysql_handler/icon.svg,sha256=yvGRJXlDZ7tyqGSjbgEgG-gDhrKPUVt2ifG6xdjSfAA,4136
|
|
1054
|
-
mindsdb/integrations/handlers/mysql_handler/mysql_handler.py,sha256=
|
|
1054
|
+
mindsdb/integrations/handlers/mysql_handler/mysql_handler.py,sha256=npVR7hvfkG2PogoMwwvn-96TOcUyakef9_dr2zMC6oc,8044
|
|
1055
1055
|
mindsdb/integrations/handlers/mysql_handler/requirements.txt,sha256=uDDh7neCc41qZxjCFB2rpKPTSZvD58RCfa7DjZJykw0,30
|
|
1056
1056
|
mindsdb/integrations/handlers/mysql_handler/settings.py,sha256=3a6VexTd2nD72WiXYG_IGeZ-n59ANggeE3X5OkdxHI8,1692
|
|
1057
1057
|
mindsdb/integrations/handlers/neuralforecast_handler/__about__.py,sha256=qfziv8flt2mMSNCiZMOzXHN7karhW69QZy3rRnCdSY8,377
|
|
@@ -1145,7 +1145,7 @@ mindsdb/integrations/handlers/oracle_handler/__about__.py,sha256=IIt4NVwQ52K79l7
|
|
|
1145
1145
|
mindsdb/integrations/handlers/oracle_handler/__init__.py,sha256=9U8p9zE7yi32hWtWEQTFcVz5CSgAGlu6E9C-hPf_tBE,629
|
|
1146
1146
|
mindsdb/integrations/handlers/oracle_handler/connection_args.py,sha256=6NbwAdFz7OBNIaaWH-uAF8sVcixRuRf6Srna-Mk20kk,1966
|
|
1147
1147
|
mindsdb/integrations/handlers/oracle_handler/icon.svg,sha256=43yVX7g6fI4SLk9h23xsJvzLl9fMOfiKlQ4aNyQ3yxU,537
|
|
1148
|
-
mindsdb/integrations/handlers/oracle_handler/oracle_handler.py,sha256=
|
|
1148
|
+
mindsdb/integrations/handlers/oracle_handler/oracle_handler.py,sha256=7xfNHkbFd5fUTgHrd-_jcYEeW02JCTix4phcpMF4ecA,11131
|
|
1149
1149
|
mindsdb/integrations/handlers/oracle_handler/requirements.txt,sha256=6My_yqlFsKIvJvanjJc8usHiQ5Ax_rKaHrzNYNKC71c,16
|
|
1150
1150
|
mindsdb/integrations/handlers/oracle_handler/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1151
1151
|
mindsdb/integrations/handlers/oracle_handler/tests/test_oracle_handler.py,sha256=TjY4cZHMPUaLyusCTTHCRGC30pXDUqqM2vEjw2UqB1Q,1064
|
|
@@ -1228,7 +1228,7 @@ mindsdb/integrations/handlers/postgres_handler/__about__.py,sha256=5W3AHCv0BuvCa
|
|
|
1228
1228
|
mindsdb/integrations/handlers/postgres_handler/__init__.py,sha256=tszm8ZCcNkHKoPDIB99A4A40dvj-Yk8PY8p35irS0tQ,606
|
|
1229
1229
|
mindsdb/integrations/handlers/postgres_handler/connection_args.py,sha256=Td7_Pj2HJYVi3-yzBe-BpFfl1zAZvtDZaYh77PfdhE8,1911
|
|
1230
1230
|
mindsdb/integrations/handlers/postgres_handler/icon.svg,sha256=pDl9ZZL9cGcrcGVglWMX1L1IncVv5di1b1tly1dfia4,13757
|
|
1231
|
-
mindsdb/integrations/handlers/postgres_handler/postgres_handler.py,sha256=
|
|
1231
|
+
mindsdb/integrations/handlers/postgres_handler/postgres_handler.py,sha256=BGAo4JFcBYhA6u30_0JdTcyjPdgRmcw2otd5Ursq9dg,15597
|
|
1232
1232
|
mindsdb/integrations/handlers/postgres_handler/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1233
1233
|
mindsdb/integrations/handlers/postgres_handler/tests/test_postgres_handler.py,sha256=IwUYXO3aVCsIunHl5cPsf1nndZj3W-wkp5naH_vPb9Q,5825
|
|
1234
1234
|
mindsdb/integrations/handlers/pycaret_handler/__about__.py,sha256=Cbt3qxt8SiIhU2_cgCwQxNjrB-alortHg4VqGFY0VlQ,340
|
|
@@ -1275,7 +1275,7 @@ mindsdb/integrations/handlers/rag_handler/settings.py,sha256=5T4_oZt9dUD67AJXeZr
|
|
|
1275
1275
|
mindsdb/integrations/handlers/ray_serve_handler/__about__.py,sha256=42oqKM1C-nIisvPvAL5fIxBDP-rxEduXnGrUUjrfLIU,345
|
|
1276
1276
|
mindsdb/integrations/handlers/ray_serve_handler/__init__.py,sha256=MYDLydWeimQ74znwnrrgnh9S6YgtE7UnJcYBVlWv6r8,596
|
|
1277
1277
|
mindsdb/integrations/handlers/ray_serve_handler/icon.svg,sha256=spxNMpiGLzxt46VM70-m-z4xButrIQ_dzLTarJKYSOA,1990
|
|
1278
|
-
mindsdb/integrations/handlers/ray_serve_handler/ray_serve_handler.py,sha256=
|
|
1278
|
+
mindsdb/integrations/handlers/ray_serve_handler/ray_serve_handler.py,sha256=TvaOR1rkdjOe2dxvieGkqxSrvNAjtwtd7jDEluB_uQM,4710
|
|
1279
1279
|
mindsdb/integrations/handlers/reddit_handler/__about__.py,sha256=Xp4s3kJp-REycH83S1RLSaPZHpFqbn-MjRuQZ5BpBuQ,336
|
|
1280
1280
|
mindsdb/integrations/handlers/reddit_handler/__init__.py,sha256=n3dhcPIHT_89hQxEXKQbHApOGBGQxtvWxp-fvFL083s,496
|
|
1281
1281
|
mindsdb/integrations/handlers/reddit_handler/icon.svg,sha256=JAhHkvjiEfOz_BSbBVosQs8VXegNanxdnNUNz1bHyRM,3986
|
|
@@ -1402,7 +1402,7 @@ mindsdb/integrations/handlers/snowflake_handler/__init__.py,sha256=tPpKf8KwyX2DI
|
|
|
1402
1402
|
mindsdb/integrations/handlers/snowflake_handler/connection_args.py,sha256=7pnJbHpbXMZwQbAS4U7LJUk8OWLLpPN2_q9IPr7wpec,1778
|
|
1403
1403
|
mindsdb/integrations/handlers/snowflake_handler/icon.svg,sha256=Syi1A_eltgZH6HjPuKi8bi9Pzf8T879RfVAZnNzK0Qo,4088
|
|
1404
1404
|
mindsdb/integrations/handlers/snowflake_handler/requirements.txt,sha256=RC9MdPLYC6oRsCC2k5sLfgxDTEuEPvqe8OpyjMYEECs,63
|
|
1405
|
-
mindsdb/integrations/handlers/snowflake_handler/snowflake_handler.py,sha256=
|
|
1405
|
+
mindsdb/integrations/handlers/snowflake_handler/snowflake_handler.py,sha256=gaRs0bsn_2cOYq4wYY3m9S1JxQewpejl-c6L5gSYJUc,14034
|
|
1406
1406
|
mindsdb/integrations/handlers/snowflake_handler/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1407
1407
|
mindsdb/integrations/handlers/snowflake_handler/tests/test_snowflake_handler.py,sha256=2_zTKNxqbvhzwVhU9JRmv5Chhh9rulGnMfj-GVIPA60,7369
|
|
1408
1408
|
mindsdb/integrations/handlers/solace_handler/__about__.py,sha256=C-y1qVOGsPDdMEjUocH_juhmrpRwN2-U61sJT_lwzE0,354
|
|
@@ -1720,13 +1720,13 @@ mindsdb/integrations/utilities/handlers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5J
|
|
|
1720
1720
|
mindsdb/integrations/utilities/handlers/api_utilities/__init__.py,sha256=zkvVb54zxtn4_NSwqCD-SVQG_5JI9EYRygb6EABQu7g,43
|
|
1721
1721
|
mindsdb/integrations/utilities/handlers/api_utilities/microsoft/__init__.py,sha256=xmcg0gXVY4WUIazM-aCjXXFikFonS6hI05GbdEs5_I8,56
|
|
1722
1722
|
mindsdb/integrations/utilities/handlers/api_utilities/microsoft/ms_graph_api_utilities.py,sha256=JikiOFYkji_7l1ckXn3I8NjrruTjcI7TdpqHxLU-mIE,6292
|
|
1723
|
-
mindsdb/integrations/utilities/handlers/auth_utilities/__init__.py,sha256=
|
|
1723
|
+
mindsdb/integrations/utilities/handlers/auth_utilities/__init__.py,sha256=Q5ssYUpXtyLsG3aCGi90s5EJVnbO0wPTr0bKY64tYWc,180
|
|
1724
1724
|
mindsdb/integrations/utilities/handlers/auth_utilities/exceptions.py,sha256=ZgrImndHmaGkTCcx2W-1SlQTWzv0IKCvQKvCLH5jE4g,259
|
|
1725
1725
|
mindsdb/integrations/utilities/handlers/auth_utilities/google/__init__.py,sha256=badbjE9cfUwgdUzboBXksz8mLHi8pHW5eVr4xdhJYUo,150
|
|
1726
1726
|
mindsdb/integrations/utilities/handlers/auth_utilities/google/google_service_account_oauth_utilities.py,sha256=Nuug_6Zggj5Q4D01sRLpyHrGLvyLL1ONg3SiZH8i4W4,2400
|
|
1727
1727
|
mindsdb/integrations/utilities/handlers/auth_utilities/google/google_user_oauth_utilities.py,sha256=IJnVzD2WYavlKtZMJ5uW51CDUBthYnR0YoA_HBtKXDo,3737
|
|
1728
|
-
mindsdb/integrations/utilities/handlers/auth_utilities/microsoft/__init__.py,sha256=
|
|
1729
|
-
mindsdb/integrations/utilities/handlers/auth_utilities/microsoft/ms_graph_api_auth_utilities.py,sha256=
|
|
1728
|
+
mindsdb/integrations/utilities/handlers/auth_utilities/microsoft/__init__.py,sha256=T90ankGZeTN434zsA1Up6Ga9AQa7wWF_t64nUw25X78,119
|
|
1729
|
+
mindsdb/integrations/utilities/handlers/auth_utilities/microsoft/ms_graph_api_auth_utilities.py,sha256=YACUQ8qy34yexNg6ffnUuYkfNJ5OTcZ7Ejzgx9XEnc0,8217
|
|
1730
1730
|
mindsdb/integrations/utilities/handlers/query_utilities/__init__.py,sha256=Gy3epzeBeKSi5xFMs9Zq2ggAupWJTDWc_3C7X8rnSEU,279
|
|
1731
1731
|
mindsdb/integrations/utilities/handlers/query_utilities/base_query_utilities.py,sha256=XFmXkaDd1y2YwWDpVG6EptdWpT1QnW8cPmC9QEDyorw,1483
|
|
1732
1732
|
mindsdb/integrations/utilities/handlers/query_utilities/delete_query_utilities.py,sha256=tylfQrK9kNAOdCpAKgTyACka1L4AGj-CT1JYpnjyRFc,1543
|
|
@@ -1933,9 +1933,9 @@ mindsdb/utilities/otel/metric_handlers/__init__.py,sha256=3jGsLt5KkdhqaAUUw8ALxE
|
|
|
1933
1933
|
mindsdb/utilities/profiler/__init__.py,sha256=d4VXl80uSm1IotR-WwbBInPmLmACiK0AzxXGBA40I-0,251
|
|
1934
1934
|
mindsdb/utilities/profiler/profiler.py,sha256=KCUtOupkbM_nCoof9MtiuhUzDGezx4a4NsBX6vGWbPA,3936
|
|
1935
1935
|
mindsdb/utilities/render/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1936
|
-
mindsdb/utilities/render/sqlalchemy_render.py,sha256=
|
|
1937
|
-
mindsdb-25.3.4.
|
|
1938
|
-
mindsdb-25.3.4.
|
|
1939
|
-
mindsdb-25.3.4.
|
|
1940
|
-
mindsdb-25.3.4.
|
|
1941
|
-
mindsdb-25.3.4.
|
|
1936
|
+
mindsdb/utilities/render/sqlalchemy_render.py,sha256=6NqOcfz19dhd0PEyNfOtNHsBt1fGjq2E3nFNUad5HOk,31444
|
|
1937
|
+
mindsdb-25.3.4.2.dist-info/licenses/LICENSE,sha256=ziqdjujs6WDn-9g3t0SISjHCBc2pLRht3gnRbQoXmIs,5804
|
|
1938
|
+
mindsdb-25.3.4.2.dist-info/METADATA,sha256=Al4dh_yiaDlyYjmGLp4ryNPtrXH4uBd444rx3T7G1S8,41694
|
|
1939
|
+
mindsdb-25.3.4.2.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
|
1940
|
+
mindsdb-25.3.4.2.dist-info/top_level.txt,sha256=10wPR96JDf3hM8aMP7Fz0lDlmClEP480zgXISJKr5jE,8
|
|
1941
|
+
mindsdb-25.3.4.2.dist-info/RECORD,,
|
|
@@ -1,193 +0,0 @@
|
|
|
1
|
-
from typing import List
|
|
2
|
-
|
|
3
|
-
import pandas as pd
|
|
4
|
-
from mindsdb_sql_parser import ast
|
|
5
|
-
|
|
6
|
-
from mindsdb.integrations.libs.api_handler import APITable
|
|
7
|
-
from mindsdb.integrations.utilities.sql_utils import extract_comparison_conditions
|
|
8
|
-
from mindsdb.utilities import log
|
|
9
|
-
|
|
10
|
-
from mindsdb_sql_parser import ast
|
|
11
|
-
|
|
12
|
-
logger = log.getLogger(__name__)
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
class ConfluencePagesTable(APITable):
|
|
16
|
-
"""Confluence Pages Table implementation"""
|
|
17
|
-
|
|
18
|
-
def select(self, query: ast.Select) -> pd.DataFrame:
|
|
19
|
-
"""Pulls data from the Confluence "get_all_pages_from_space" API endpoint"""
|
|
20
|
-
conditions = extract_comparison_conditions(query.where)
|
|
21
|
-
if query.limit:
|
|
22
|
-
total_results = query.limit.value
|
|
23
|
-
else:
|
|
24
|
-
total_results = 50
|
|
25
|
-
|
|
26
|
-
space_name = None
|
|
27
|
-
page_id = None
|
|
28
|
-
|
|
29
|
-
for a_where in conditions:
|
|
30
|
-
if a_where[1] == "space":
|
|
31
|
-
space_name = a_where[2]
|
|
32
|
-
if a_where[0] != "=":
|
|
33
|
-
raise ValueError("Unsupported where operation for space")
|
|
34
|
-
elif a_where[1] == "id":
|
|
35
|
-
page_id = a_where[2]
|
|
36
|
-
if a_where[0] != "=":
|
|
37
|
-
raise ValueError("Unsupported where operation for id")
|
|
38
|
-
elif a_where[1] not in ["id", "space"]:
|
|
39
|
-
raise ValueError(f"Unsupported where argument {a_where[1]}")
|
|
40
|
-
|
|
41
|
-
if space_name is None:
|
|
42
|
-
raise ValueError("Space name must be provided in the WHERE clause")
|
|
43
|
-
|
|
44
|
-
if page_id is not None:
|
|
45
|
-
try:
|
|
46
|
-
page = self.handler.connect().get_page_by_id(page_id, expand='body.storage,space')
|
|
47
|
-
confluence_pages_records = [page] if page['space']['key'] == space_name else []
|
|
48
|
-
except Exception as e:
|
|
49
|
-
logger.error(f"Error fetching page with ID {page_id}: {str(e)}")
|
|
50
|
-
confluence_pages_records = []
|
|
51
|
-
else:
|
|
52
|
-
confluence_pages_records = self.handler.connect().get_all_pages_from_space(
|
|
53
|
-
space_name, start=0, limit=total_results, expand="body.storage,space"
|
|
54
|
-
)
|
|
55
|
-
|
|
56
|
-
if not confluence_pages_records:
|
|
57
|
-
return pd.DataFrame(columns=self.get_columns())
|
|
58
|
-
|
|
59
|
-
confluence_pages_df = pd.json_normalize(confluence_pages_records)
|
|
60
|
-
|
|
61
|
-
confluence_pages_df.columns = confluence_pages_df.columns.str.replace("body.storage.value", "body")
|
|
62
|
-
confluence_pages_df['space'] = confluence_pages_df['space.key']
|
|
63
|
-
|
|
64
|
-
confluence_pages_df = confluence_pages_df[self.get_columns()]
|
|
65
|
-
|
|
66
|
-
selected_columns = []
|
|
67
|
-
for target in query.targets:
|
|
68
|
-
if isinstance(target, ast.Star):
|
|
69
|
-
selected_columns = self.get_columns()
|
|
70
|
-
break
|
|
71
|
-
elif isinstance(target, ast.Identifier):
|
|
72
|
-
col = target.parts[-1]
|
|
73
|
-
if col in self.get_columns():
|
|
74
|
-
selected_columns.append(col)
|
|
75
|
-
else:
|
|
76
|
-
raise ValueError(f"Unknown column: {col}")
|
|
77
|
-
else:
|
|
78
|
-
raise ValueError(f"Unknown query target {type(target)}")
|
|
79
|
-
|
|
80
|
-
confluence_pages_df = confluence_pages_df[selected_columns]
|
|
81
|
-
|
|
82
|
-
if query.order_by and len(query.order_by) > 0:
|
|
83
|
-
sort_columns = []
|
|
84
|
-
sort_ascending = []
|
|
85
|
-
for an_order in query.order_by:
|
|
86
|
-
if isinstance(an_order.field, ast.Identifier):
|
|
87
|
-
column = an_order.field.parts[-1]
|
|
88
|
-
if column in selected_columns:
|
|
89
|
-
sort_columns.append(column)
|
|
90
|
-
sort_ascending.append(an_order.direction == "ASC")
|
|
91
|
-
else:
|
|
92
|
-
raise ValueError(f"Order by unknown column {column}")
|
|
93
|
-
else:
|
|
94
|
-
raise ValueError(f"Unsupported order by clause: {an_order}")
|
|
95
|
-
|
|
96
|
-
if sort_columns:
|
|
97
|
-
confluence_pages_df = confluence_pages_df.sort_values(
|
|
98
|
-
by=sort_columns,
|
|
99
|
-
ascending=sort_ascending
|
|
100
|
-
)
|
|
101
|
-
|
|
102
|
-
return confluence_pages_df
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
def get_columns(self) -> List[str]:
|
|
106
|
-
"""Gets all columns to be returned in pandas DataFrame responses
|
|
107
|
-
Returns
|
|
108
|
-
-------
|
|
109
|
-
List[str]
|
|
110
|
-
List of columns
|
|
111
|
-
"""
|
|
112
|
-
return [
|
|
113
|
-
"id",
|
|
114
|
-
"type",
|
|
115
|
-
"status",
|
|
116
|
-
"title",
|
|
117
|
-
"space",
|
|
118
|
-
"body",
|
|
119
|
-
"_links.self",
|
|
120
|
-
"_links.webui",
|
|
121
|
-
]
|
|
122
|
-
|
|
123
|
-
def insert(self, query: ast.Insert):
|
|
124
|
-
"""Inserts a new page into the Confluence space
|
|
125
|
-
|
|
126
|
-
Parameters
|
|
127
|
-
----------
|
|
128
|
-
query : ast.Insert
|
|
129
|
-
Given SQL INSERT query
|
|
130
|
-
|
|
131
|
-
Raises
|
|
132
|
-
------
|
|
133
|
-
ValueError
|
|
134
|
-
If the query contains an unsupported condition
|
|
135
|
-
"""
|
|
136
|
-
|
|
137
|
-
columns = [col.name for col in query.columns]
|
|
138
|
-
|
|
139
|
-
for i, val in enumerate(query.values):
|
|
140
|
-
params = dict(zip(columns, val))
|
|
141
|
-
|
|
142
|
-
self.handler.connect().create_page(
|
|
143
|
-
space=params["space"],
|
|
144
|
-
title=params["title"],
|
|
145
|
-
body=params["body"],
|
|
146
|
-
)
|
|
147
|
-
|
|
148
|
-
def update(self, query: ast.Update):
|
|
149
|
-
"""Updates a page in the Confluence space
|
|
150
|
-
|
|
151
|
-
Parameters
|
|
152
|
-
----------
|
|
153
|
-
query : ast.Update
|
|
154
|
-
Given SQL UPDATE query
|
|
155
|
-
|
|
156
|
-
Raises
|
|
157
|
-
------
|
|
158
|
-
ValueError
|
|
159
|
-
If the query contains an unsupported condition
|
|
160
|
-
"""
|
|
161
|
-
params = extract_comparison_conditions(query.where)
|
|
162
|
-
title = query.update_columns["title"].get_string()
|
|
163
|
-
body = query.update_columns["body"].get_string()
|
|
164
|
-
|
|
165
|
-
for param in params:
|
|
166
|
-
if param[1] == "id":
|
|
167
|
-
id = param[2]
|
|
168
|
-
self.handler.connect().update_page(
|
|
169
|
-
page_id=id,
|
|
170
|
-
title=title,
|
|
171
|
-
body=body,
|
|
172
|
-
)
|
|
173
|
-
|
|
174
|
-
def delete(self, query: ast.Delete):
|
|
175
|
-
"""Deletes a page from the Confluence space
|
|
176
|
-
|
|
177
|
-
Parameters
|
|
178
|
-
----------
|
|
179
|
-
query : ast.Delete
|
|
180
|
-
Given SQL DELETE query
|
|
181
|
-
|
|
182
|
-
Raises
|
|
183
|
-
------
|
|
184
|
-
ValueError
|
|
185
|
-
If the query contains an unsupported condition
|
|
186
|
-
"""
|
|
187
|
-
params = extract_comparison_conditions(query.where)
|
|
188
|
-
for param in params:
|
|
189
|
-
if param[1] == "id":
|
|
190
|
-
id = param[2]
|
|
191
|
-
self.handler.connect().remove_page(
|
|
192
|
-
page_id=id,
|
|
193
|
-
)
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
atlassian-python-api
|
|
File without changes
|
|
File without changes
|