MindsDB 25.8.3.0__py3-none-any.whl → 25.9.1.0__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.

Files changed (94) hide show
  1. mindsdb/__about__.py +1 -1
  2. mindsdb/__main__.py +2 -44
  3. mindsdb/api/a2a/__init__.py +52 -0
  4. mindsdb/api/a2a/agent.py +11 -12
  5. mindsdb/api/a2a/common/server/server.py +17 -36
  6. mindsdb/api/a2a/common/server/task_manager.py +14 -28
  7. mindsdb/api/a2a/task_manager.py +20 -21
  8. mindsdb/api/a2a/utils.py +1 -1
  9. mindsdb/api/common/middleware.py +106 -0
  10. mindsdb/api/http/initialize.py +13 -15
  11. mindsdb/api/http/namespaces/auth.py +6 -14
  12. mindsdb/api/http/namespaces/config.py +0 -2
  13. mindsdb/api/http/namespaces/default.py +74 -106
  14. mindsdb/api/http/start.py +25 -44
  15. mindsdb/api/litellm/start.py +11 -10
  16. mindsdb/api/mcp/__init__.py +165 -0
  17. mindsdb/api/mysql/mysql_proxy/mysql_proxy.py +33 -64
  18. mindsdb/api/postgres/postgres_proxy/postgres_proxy.py +86 -85
  19. mindsdb/integrations/handlers/crate_handler/crate_handler.py +3 -7
  20. mindsdb/integrations/handlers/derby_handler/derby_handler.py +32 -34
  21. mindsdb/integrations/handlers/documentdb_handler/requirements.txt +1 -0
  22. mindsdb/integrations/handlers/dummy_data_handler/dummy_data_handler.py +12 -13
  23. mindsdb/integrations/handlers/google_books_handler/google_books_handler.py +45 -44
  24. mindsdb/integrations/handlers/google_calendar_handler/google_calendar_handler.py +101 -95
  25. mindsdb/integrations/handlers/google_content_shopping_handler/google_content_shopping_handler.py +129 -129
  26. mindsdb/integrations/handlers/google_fit_handler/google_fit_handler.py +59 -43
  27. mindsdb/integrations/handlers/google_search_handler/google_search_handler.py +38 -39
  28. mindsdb/integrations/handlers/informix_handler/informix_handler.py +5 -18
  29. mindsdb/integrations/handlers/maxdb_handler/maxdb_handler.py +22 -28
  30. mindsdb/integrations/handlers/monetdb_handler/monetdb_handler.py +3 -7
  31. mindsdb/integrations/handlers/mongodb_handler/mongodb_handler.py +53 -67
  32. mindsdb/integrations/handlers/mongodb_handler/requirements.txt +1 -0
  33. mindsdb/{api/mongo/utilities → integrations/handlers/mongodb_handler/utils}/mongodb_ast.py +43 -68
  34. mindsdb/{api/mongo/utilities → integrations/handlers/mongodb_handler/utils}/mongodb_parser.py +17 -25
  35. mindsdb/{api/mongo/utilities → integrations/handlers/mongodb_handler/utils}/mongodb_query.py +10 -16
  36. mindsdb/integrations/handlers/mongodb_handler/utils/mongodb_render.py +43 -69
  37. mindsdb/integrations/libs/base.py +1 -1
  38. mindsdb/interfaces/agents/constants.py +1 -0
  39. mindsdb/interfaces/knowledge_base/controller.py +3 -1
  40. mindsdb/utilities/config.py +3 -155
  41. mindsdb/utilities/log.py +0 -25
  42. mindsdb/utilities/starters.py +0 -39
  43. {mindsdb-25.8.3.0.dist-info → mindsdb-25.9.1.0.dist-info}/METADATA +263 -261
  44. {mindsdb-25.8.3.0.dist-info → mindsdb-25.9.1.0.dist-info}/RECORD +47 -91
  45. mindsdb/api/a2a/__main__.py +0 -144
  46. mindsdb/api/a2a/run_a2a.py +0 -86
  47. mindsdb/api/common/check_auth.py +0 -42
  48. mindsdb/api/http/gunicorn_wrapper.py +0 -17
  49. mindsdb/api/mcp/start.py +0 -205
  50. mindsdb/api/mongo/__init__.py +0 -0
  51. mindsdb/api/mongo/classes/__init__.py +0 -5
  52. mindsdb/api/mongo/classes/query_sql.py +0 -19
  53. mindsdb/api/mongo/classes/responder.py +0 -45
  54. mindsdb/api/mongo/classes/responder_collection.py +0 -34
  55. mindsdb/api/mongo/classes/scram.py +0 -86
  56. mindsdb/api/mongo/classes/session.py +0 -23
  57. mindsdb/api/mongo/functions/__init__.py +0 -19
  58. mindsdb/api/mongo/responders/__init__.py +0 -73
  59. mindsdb/api/mongo/responders/add_shard.py +0 -13
  60. mindsdb/api/mongo/responders/aggregate.py +0 -90
  61. mindsdb/api/mongo/responders/buildinfo.py +0 -17
  62. mindsdb/api/mongo/responders/coll_stats.py +0 -63
  63. mindsdb/api/mongo/responders/company_id.py +0 -25
  64. mindsdb/api/mongo/responders/connection_status.py +0 -22
  65. mindsdb/api/mongo/responders/count.py +0 -21
  66. mindsdb/api/mongo/responders/db_stats.py +0 -32
  67. mindsdb/api/mongo/responders/delete.py +0 -105
  68. mindsdb/api/mongo/responders/describe.py +0 -23
  69. mindsdb/api/mongo/responders/end_sessions.py +0 -13
  70. mindsdb/api/mongo/responders/find.py +0 -175
  71. mindsdb/api/mongo/responders/get_cmd_line_opts.py +0 -18
  72. mindsdb/api/mongo/responders/get_free_monitoring_status.py +0 -14
  73. mindsdb/api/mongo/responders/get_parameter.py +0 -23
  74. mindsdb/api/mongo/responders/getlog.py +0 -14
  75. mindsdb/api/mongo/responders/host_info.py +0 -28
  76. mindsdb/api/mongo/responders/insert.py +0 -270
  77. mindsdb/api/mongo/responders/is_master.py +0 -20
  78. mindsdb/api/mongo/responders/is_master_lower.py +0 -13
  79. mindsdb/api/mongo/responders/list_collections.py +0 -55
  80. mindsdb/api/mongo/responders/list_databases.py +0 -37
  81. mindsdb/api/mongo/responders/list_indexes.py +0 -22
  82. mindsdb/api/mongo/responders/ping.py +0 -13
  83. mindsdb/api/mongo/responders/recv_chunk_start.py +0 -13
  84. mindsdb/api/mongo/responders/replsetgetstatus.py +0 -13
  85. mindsdb/api/mongo/responders/sasl_continue.py +0 -34
  86. mindsdb/api/mongo/responders/sasl_start.py +0 -33
  87. mindsdb/api/mongo/responders/update_range_deletions.py +0 -12
  88. mindsdb/api/mongo/responders/whatsmyuri.py +0 -18
  89. mindsdb/api/mongo/server.py +0 -388
  90. mindsdb/api/mongo/start.py +0 -15
  91. mindsdb/api/mongo/utilities/__init__.py +0 -0
  92. {mindsdb-25.8.3.0.dist-info → mindsdb-25.9.1.0.dist-info}/WHEEL +0 -0
  93. {mindsdb-25.8.3.0.dist-info → mindsdb-25.9.1.0.dist-info}/licenses/LICENSE +0 -0
  94. {mindsdb-25.8.3.0.dist-info → mindsdb-25.9.1.0.dist-info}/top_level.txt +0 -0
@@ -1,22 +1,20 @@
1
- mindsdb/__about__.py,sha256=mIYd8CEWFB1986uQjAs0WJITBJgeUHXVDIB2lLiJoWc,456
1
+ mindsdb/__about__.py,sha256=dnikkPD-RBrlQiJ131964XCQSzv9CTqihnsCvKHa23Y,456
2
2
  mindsdb/__init__.py,sha256=fZopLiAYa9MzMZ0d48JgHc_LddfFKDzh7n_8icsjrVs,54
3
- mindsdb/__main__.py,sha256=4xFxP2BMDjXKsnnjyEMSgQLdxhYfIKeLmePpgOY_J-Q,23783
3
+ mindsdb/__main__.py,sha256=zj_54P38qWYRPQVF9BaHaWlcKxF4oTtcLSaKXb3DQig,21843
4
4
  mindsdb/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
- mindsdb/api/a2a/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
- mindsdb/api/a2a/__main__.py,sha256=zrzTzt9zgN38NImInrmxCsdr66urJNS0JOq0xJaKHac,4712
7
- mindsdb/api/a2a/agent.py,sha256=JskQEz6zdzz3rUGa6MLygVyNhWNRFYQxZdQdf-_5rzo,6518
5
+ mindsdb/api/a2a/__init__.py,sha256=JYp8GBtJbMNq6475AwsMzugkrlw3E754qQ8D6uHf7Is,1704
6
+ mindsdb/api/a2a/agent.py,sha256=iVHNP4ZjJKKnKCGYxcX169tzbZAr6gIpYlmZAewthOU,6651
8
7
  mindsdb/api/a2a/constants.py,sha256=1BmvDneWzNG6YJFUc-gZ9CNCO4wq2_12vFe6aw23yX4,2292
9
- mindsdb/api/a2a/run_a2a.py,sha256=7cWNu93DAaSG2jVgVvjoPy0ACaAhbU2qoApYkHYaLGc,2893
10
- mindsdb/api/a2a/task_manager.py,sha256=LyNoO7vgoyoNDuraXr3Cz4ysbenQKSKbk9_ja0Zn1lI,20591
11
- mindsdb/api/a2a/utils.py,sha256=4l14yL2lCvi1FPojEMqhPMvX9pPpidAwG8S-elVNJkA,3160
8
+ mindsdb/api/a2a/task_manager.py,sha256=mGkSt88VTAVCUbXDgjRG9mZ1_dnPD8sh5IYXWtTlJ9E,20542
9
+ mindsdb/api/a2a/utils.py,sha256=UesCEra9n7rVsksayeknmhiynmHlb8zg4BddFQYo6m8,3199
12
10
  mindsdb/api/a2a/common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
13
11
  mindsdb/api/a2a/common/types.py,sha256=uBhFzipgIJ9VYbfYElsYdCWmjftd_QPRt5qnj8RSJ-o,8816
14
12
  mindsdb/api/a2a/common/server/__init__.py,sha256=Bl7Qa3Pk4QWY4yDPRNyHeTzNJpAe9HgUJd8-oTnMPv8,152
15
- mindsdb/api/a2a/common/server/server.py,sha256=OhD_14Gg3Jcbvb3-ciDEdoQr9NwMjkDTq3mrTSscwwE,7345
16
- mindsdb/api/a2a/common/server/task_manager.py,sha256=NnKO2ZcI-KBWiX4wNc8FbLmnVsb5KeIm62B4jdX73IU,10189
13
+ mindsdb/api/a2a/common/server/server.py,sha256=lopajxRF980-7Rm7fq5RBBcgNCwTDyCw5a8nrU_2fCE,6836
14
+ mindsdb/api/a2a/common/server/task_manager.py,sha256=VdD9KqoFslYurFgTDpDcc2PcGWuFHp2c697fgxrRw0A,10092
17
15
  mindsdb/api/a2a/common/server/utils.py,sha256=1k_fBfECT0JQFlFcAJhpNlTYYOruxDlV0S2OTmUOZ4M,854
18
16
  mindsdb/api/common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
19
- mindsdb/api/common/check_auth.py,sha256=cQEZqsnCbrRtUf8j4H6uPF98cDPu79t8TdtwBi5g30w,1345
17
+ mindsdb/api/common/middleware.py,sha256=QlOD2Kv39TyNRRZ3jzgkxv_hirTOa4EE-5wlYijoG5E,3597
20
18
  mindsdb/api/executor/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
21
19
  mindsdb/api/executor/command_executor.py,sha256=vlCy5LRoMmbmpMd3vns63PUIjtP3bVA_g72D1r6loXk,85185
22
20
  mindsdb/api/executor/exceptions.py,sha256=SoxhetIKIVOAwbVP_NatfoKnwt-Xj2yFCiAIqSDxpIE,566
@@ -72,18 +70,17 @@ mindsdb/api/executor/utilities/mysql_to_duckdb_functions.py,sha256=o2oNeB0y4rnXF
72
70
  mindsdb/api/executor/utilities/sql.py,sha256=9YE_7vkIIreUzH3_5jE2hmGCiykZx1-qaTPjYzG3X_w,10354
73
71
  mindsdb/api/http/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
74
72
  mindsdb/api/http/gui.py,sha256=Ph0Yz8G3F2D16VYN61IL6Mxc0j71dOlMn-Wu5r8N2Eg,3137
75
- mindsdb/api/http/gunicorn_wrapper.py,sha256=U11cza-mn71RcLcJZOYwo2Aee3fRIhAYQxby_FF6_Yc,534
76
- mindsdb/api/http/initialize.py,sha256=aKFYr6Mb6FTCl015fXHEG-epy9v-8-on7Y68njERTXo,16567
77
- mindsdb/api/http/start.py,sha256=tD_ImE2kbGAJk3wFX6s5ezCavd2LRJ2qU9U2tOVSQLo,2389
73
+ mindsdb/api/http/initialize.py,sha256=qbVxLhJth-e4LxBb40OYJKDC88RkDp37odD6kRX-G_8,16462
74
+ mindsdb/api/http/start.py,sha256=s8fejFiBb951tlAB_CPtNGqjN-kXjG9_4qkR4C_BdZw,1524
78
75
  mindsdb/api/http/utils.py,sha256=nWP2HxeS0Ami0VSFCyoWyhLsz52mRaYkylQCKzH6d7c,1155
79
76
  mindsdb/api/http/namespaces/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
80
77
  mindsdb/api/http/namespaces/agents.py,sha256=D4fY2w2MYlq1IUt4ksL9kCjkL9EZ64yxjzvF-26xlqQ,17841
81
78
  mindsdb/api/http/namespaces/analysis.py,sha256=maYxI-TP9RswWHgKX3KAZQJK_XSBQfpZMqv0ZH1ZC0k,4295
82
- mindsdb/api/http/namespaces/auth.py,sha256=Qm1ZUBdbv_nTDzSQHdzXEosdpYCRzIa17k1yYErOeuk,5483
79
+ mindsdb/api/http/namespaces/auth.py,sha256=CN1pZc2urwVLiKi82dNcym-xhBQPPkJarwNPQ9Zz-fE,5311
83
80
  mindsdb/api/http/namespaces/chatbots.py,sha256=ArEYtqEII8a8MIN9-9kfpHeR7FwTNmrPqzWsHp5MQDg,11519
84
- mindsdb/api/http/namespaces/config.py,sha256=Ci_kv906hIA9Ye5c8_MwNW7HQV9kC75DXsSB8nk-WH0,8966
81
+ mindsdb/api/http/namespaces/config.py,sha256=5tvE3RKu-jcNMRIWulesB1LKXyHDPxC-DBgHGYxhlbA,8884
85
82
  mindsdb/api/http/namespaces/databases.py,sha256=QuHD5zSIftfb5qRdPJS3UtZEnfQnf1fp0wVKe98h7Rg,18543
86
- mindsdb/api/http/namespaces/default.py,sha256=r8PXn00Um2eyKB5e_Kj7fzk4e4LYH-JCzXCpxgJA2vY,4729
83
+ mindsdb/api/http/namespaces/default.py,sha256=N-ADA862kjdZkj6SIm2CiCuTQwRTp3q90hT6ymxKFGM,4444
87
84
  mindsdb/api/http/namespaces/file.py,sha256=Z8a_qdJ85l-Eh0JXts2GsQLOeg63QFg24-3alC0_PQA,7845
88
85
  mindsdb/api/http/namespaces/handlers.py,sha256=zRWZvPOplwSAbKDKeQz93J38TsCQT89-GSlSug6Mtug,7911
89
86
  mindsdb/api/http/namespaces/jobs.py,sha256=4lYmLQolCjDNCV8HMBLyNbdQTkqI_L_N-SuLdKA3Q4A,2818
@@ -117,58 +114,12 @@ mindsdb/api/http/namespaces/configs/tree.py,sha256=MIVdZLdwQP5DnJMO8lBN7ee1uUiT6
117
114
  mindsdb/api/http/namespaces/configs/util.py,sha256=BY7FtouA0QjxiygxCIrQNfP3z1dbXdbQzeKfsSW7UDE,93
118
115
  mindsdb/api/http/namespaces/configs/webhooks.py,sha256=WTZAN2r6GdR8LbhAyh9osFGaFDtgPDCl7VMSew-NUqs,116
119
116
  mindsdb/api/litellm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
120
- mindsdb/api/litellm/start.py,sha256=U6gBzQrHNmbPCjCnizPz59jnM0GdYmMx84XTIVzCiww,2761
121
- mindsdb/api/mcp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
122
- mindsdb/api/mcp/start.py,sha256=Q8wq3M_4Bab6bZ96y9L1-9qKkQyxIGlYyeZr3Qz36Nw,6580
123
- mindsdb/api/mongo/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
124
- mindsdb/api/mongo/server.py,sha256=BB0qFC5OrSH_nAFvTiLmXEkBWTFQlZzliKSD1NKau7M,13763
125
- mindsdb/api/mongo/start.py,sha256=OdTSoUNsR9YF7Kr_QDFtIEJ8N50IoGbkfHu2K-Ia5_w,420
126
- mindsdb/api/mongo/classes/__init__.py,sha256=djMptbZ7tE2nfdbkIl4JS8--qISMWQ1t-dZCwYsF5X4,177
127
- mindsdb/api/mongo/classes/query_sql.py,sha256=-qxKa9xQtPB0EEEI6_xRwndsp7qLDmRZp1et3yT1xt8,639
128
- mindsdb/api/mongo/classes/responder.py,sha256=f70rusIQLTSfK2p2-Hrew09haP-SWEJaZQwEPM7ISmU,1764
129
- mindsdb/api/mongo/classes/responder_collection.py,sha256=nfqahPNvwqvzNtqQy_Rj1Ml4qWS_igDykvvldqqHOII,769
130
- mindsdb/api/mongo/classes/scram.py,sha256=pTSejWIV-lqu-WrXa8HNJrkWHPeEP0nle4POQXj6QOs,3217
131
- mindsdb/api/mongo/classes/session.py,sha256=PscakqhYijuAjgxrwkJRgFuGtZhf38aKJbW-cQY81uA,812
132
- mindsdb/api/mongo/functions/__init__.py,sha256=4seMQSsLgygeK41jqIBdwymTj0R59XploqLrSsCqSgU,266
133
- mindsdb/api/mongo/responders/__init__.py,sha256=9P4apLtuhBegQBqm75nyliyodbJobxzgPZHxLoea3cA,2733
134
- mindsdb/api/mongo/responders/add_shard.py,sha256=QxtUNTom7utI6LI_qYCbKVJ-6ky4RDqptdJ-zRlUITo,228
135
- mindsdb/api/mongo/responders/aggregate.py,sha256=Xp96EmnR3a8ePEEW6-vm-4lzweQEfVqukDuE10B4qIg,2761
136
- mindsdb/api/mongo/responders/buildinfo.py,sha256=nhZHFAzwbdHW-KlSHWirv9znPnCejxlPi-MO4f6TYNY,317
137
- mindsdb/api/mongo/responders/coll_stats.py,sha256=38UGHKGTKewzW5erYFouQezbQNasyIrNJZRriRgXSdI,1851
138
- mindsdb/api/mongo/responders/company_id.py,sha256=ixY9HpSROzHEQ0CR_vAH2-3Mc0HBJVipSKhD2uxfXEs,689
139
- mindsdb/api/mongo/responders/connection_status.py,sha256=smUfHSg75_s49fxdjUGdpBsVd01bZjUlEhg8vvR3H8E,577
140
- mindsdb/api/mongo/responders/count.py,sha256=U1-r9adlVlkwnjNOheyWTxUg6J9M3o8uR-vApDrrmQY,487
141
- mindsdb/api/mongo/responders/db_stats.py,sha256=3fZtOAD_ydMUEWZ7ljDGLkGi5XNWncWbg3qVhtHu7s0,889
142
- mindsdb/api/mongo/responders/delete.py,sha256=B782oXqPjfaYyXjD9E-0E3l1a8GedzyL5uqQtb7R24Y,3642
143
- mindsdb/api/mongo/responders/describe.py,sha256=FP9Si2eIh_ZEXPHvQzIn3igGVmvKZTH6C4JRYFoey9s,612
144
- mindsdb/api/mongo/responders/end_sessions.py,sha256=nuArjKPdLI_e2ZmL-mSaEypIgYXG2bGqlfF8JyFwHkw,230
145
- mindsdb/api/mongo/responders/find.py,sha256=6zget6S2lN9jR2B5W0GuDabDw4_wzWsmym7D1L12_FU,5705
146
- mindsdb/api/mongo/responders/get_cmd_line_opts.py,sha256=vPEaRqJu0PjIt45mFvjpZJ8Y9p9bDzeiQqVtN3DZhPo,314
147
- mindsdb/api/mongo/responders/get_free_monitoring_status.py,sha256=YwP9gVmtD9KHH_INuZtYqjOlEkOQg7vq4r8kSvAK-vU,272
148
- mindsdb/api/mongo/responders/get_parameter.py,sha256=DcdD9ELIvcA9b3DZZr7WW5ypXYaV7pkVrurI4CCRhFA,602
149
- mindsdb/api/mongo/responders/getlog.py,sha256=X8IWDSO0pvHw2B9x-YWYOvkaOUQoI8iB1frDOtGnSsw,244
150
- mindsdb/api/mongo/responders/host_info.py,sha256=k9y4UkU-_5iIvaDNofOl8GRM0DwkhTfW8pp9idvkYjI,627
151
- mindsdb/api/mongo/responders/insert.py,sha256=dj_3ZnsWwJNQo1-FXXfGQzx2ZvdOJCvHnakye7a3o08,9572
152
- mindsdb/api/mongo/responders/is_master.py,sha256=En4AY_SlXmItUVfxv0_0XoE10zpKe68sAC7UldspyII,446
153
- mindsdb/api/mongo/responders/is_master_lower.py,sha256=w07COvzytNh8QCsDtKIO3yIljkWRoa7ax0yjffhqZ0o,285
154
- mindsdb/api/mongo/responders/list_collections.py,sha256=nNJnjIkFHwj0l23qruu_LQAtumKWD1yt_VoR-U4Dj3o,1536
155
- mindsdb/api/mongo/responders/list_databases.py,sha256=EC5WIxAAhMyWdmFYOT3R-H41bI27koz2Wk8KitaoIh4,920
156
- mindsdb/api/mongo/responders/list_indexes.py,sha256=d66BhuKfiWvMIvO7ATE6h-zwsEu5Y-BNVVf_aPD-BN8,538
157
- mindsdb/api/mongo/responders/ping.py,sha256=oUZKu842eAe7T5Hr9HqLxsPwz4r26IwHrScelreGEOQ,223
158
- mindsdb/api/mongo/responders/recv_chunk_start.py,sha256=eZHnyvgSW58m-8_OjyWCx5aTn16q21Z9J01-zB6gSts,234
159
- mindsdb/api/mongo/responders/replsetgetstatus.py,sha256=K1qrYmE8hkU8gBFB_CmHYdavJnTE_kptStael5qSpWs,235
160
- mindsdb/api/mongo/responders/sasl_continue.py,sha256=V7hUrqBfAd0osdXSkKyUJ-dHH0X2FpIEwPrQ5zUKCCo,890
161
- mindsdb/api/mongo/responders/sasl_start.py,sha256=BaJBgmd14_uugYVAo3fZ0csrAJmw9n2FANZ64Tg_nk4,1004
162
- mindsdb/api/mongo/responders/update_range_deletions.py,sha256=PSguIk7ZH4R6gpi-fXbxTf3tJ2UUpybfMp6tZ70FySU,180
163
- mindsdb/api/mongo/responders/whatsmyuri.py,sha256=VbJJF2s8YlFzQJyqSgRBWk429Q2kdcrYAjZsfMKGQvw,481
164
- mindsdb/api/mongo/utilities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
165
- mindsdb/api/mongo/utilities/mongodb_ast.py,sha256=-4gpCs8y3ibHLQIws--tmnbN5sRIz8SxzD0yR0n7m60,7666
166
- mindsdb/api/mongo/utilities/mongodb_parser.py,sha256=n4EcvqnrRMylJMTDDlCQvJh0L9zlYUbH7V29oNV4K58,4256
167
- mindsdb/api/mongo/utilities/mongodb_query.py,sha256=t6GIriKEGXH0mpaux71kCuVwYVaDvqFRCvf8gIJ-u9s,2147
117
+ mindsdb/api/litellm/start.py,sha256=wzxGbSuJYh6dPDGc5qZHIPX8EhFVotVQ9T_0PJ-35FA,2715
118
+ mindsdb/api/mcp/__init__.py,sha256=zmkVk1GBgxRrfeLsvDg7Aq9vQzj4bC9WJtJDnuA2SUg,5157
168
119
  mindsdb/api/mysql/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
169
120
  mindsdb/api/mysql/start.py,sha256=gxW_29ozucMWxuBlGZHmT4f5WS24YogR4UL93Q0MMAk,377
170
121
  mindsdb/api/mysql/mysql_proxy/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
171
- mindsdb/api/mysql/mysql_proxy/mysql_proxy.py,sha256=4fwVZFMKhI-qAHRlsFmeHnmB6JmcoJ0065D-x5q9xwA,34524
122
+ mindsdb/api/mysql/mysql_proxy/mysql_proxy.py,sha256=FYmGxbMk2ZvLh4V302zFmGdXQZTEcuEKQzZ2iTim3mQ,34090
172
123
  mindsdb/api/mysql/mysql_proxy/classes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
173
124
  mindsdb/api/mysql/mysql_proxy/classes/client_capabilities.py,sha256=cUdIojE7yC8dGdaJtULSzZjkzlkJoP1CrKomwpFn0nI,3358
174
125
  mindsdb/api/mysql/mysql_proxy/classes/server_capabilities.py,sha256=oW1oARAZRSIv20Pkfy6nCTB0w69a6-ajVdo9APHohKg,586
@@ -207,7 +158,7 @@ mindsdb/api/mysql/mysql_proxy/utilities/lightwood_dtype.py,sha256=dPtDWMh2S5ICsS
207
158
  mindsdb/api/postgres/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
208
159
  mindsdb/api/postgres/start.py,sha256=NVUZBkRBpL0j7eaNBrfQHorCOsNRAKdhtpgsdlv61YA,325
209
160
  mindsdb/api/postgres/postgres_proxy/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
210
- mindsdb/api/postgres/postgres_proxy/postgres_proxy.py,sha256=D5B-lpuAggWkq9Aw81ngJGMl7rzMmoT04bw2CIXecv8,19323
161
+ mindsdb/api/postgres/postgres_proxy/postgres_proxy.py,sha256=oZhjbk6NYbjfP-z48jGqOWtNbYIKhcxviBz5DFHmqPU,19102
211
162
  mindsdb/api/postgres/postgres_proxy/executor/__init__.py,sha256=ah4U7Z-XWrTGXwPovYZZLr1JTBbd7VB66CSBFgyNAxg,67
212
163
  mindsdb/api/postgres/postgres_proxy/executor/executor.py,sha256=hm0opUcUNadTIyJl50sZADUU8S-u30hev7r4jXoMq4Q,6441
213
164
  mindsdb/api/postgres/postgres_proxy/postgres_packets/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -447,7 +398,7 @@ mindsdb/integrations/handlers/couchbasevector_handler/requirements.txt,sha256=pw
447
398
  mindsdb/integrations/handlers/couchbasevector_handler/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
448
399
  mindsdb/integrations/handlers/crate_handler/__about__.py,sha256=vxOswVcs0bQMndVPG3Pq1BnU_V7BqTXioNRu4vkcrEw,345
449
400
  mindsdb/integrations/handlers/crate_handler/__init__.py,sha256=lkk_8YKFqIvquEtZwW5CkLslW5h6odPCD8ay7nHAMzQ,505
450
- mindsdb/integrations/handlers/crate_handler/crate_handler.py,sha256=eL-2e521blk16ONDsPfeyi_tKEa77ApdQroabflMbgQ,7413
401
+ mindsdb/integrations/handlers/crate_handler/crate_handler.py,sha256=QsbY-1JP4PpbULSJ7NoTpqolsdgvqezrwkZFMMP88t0,7327
451
402
  mindsdb/integrations/handlers/crate_handler/icon.svg,sha256=HrNCOvUJmYdU8pr_LWcDm_VcWKtMT5c9-BvbjNTXigw,634
452
403
  mindsdb/integrations/handlers/crate_handler/requirements.txt,sha256=_4FlEaScN-rUFJpF46gLMXIcJcRLZy6nmrgzhluwWc4,25
453
404
  mindsdb/integrations/handlers/crate_handler/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -493,7 +444,7 @@ mindsdb/integrations/handlers/db2_handler/tests/test_db2_handler.py,sha256=Ozp6Y
493
444
  mindsdb/integrations/handlers/derby_handler/__about__.py,sha256=TuqZrWJwnJT68J4uDLsQRbr59rDeT2R-ljATO9fh_0I,351
494
445
  mindsdb/integrations/handlers/derby_handler/__init__.py,sha256=EhaDomgWqB_JLo761BIMh0YsvOKP5KUT9Em4zZ9u12o,603
495
446
  mindsdb/integrations/handlers/derby_handler/connection_args.py,sha256=wk4Jq3GERieqr76-b2UMz42aqq7-BEcYxhbGtPW2co4,2047
496
- mindsdb/integrations/handlers/derby_handler/derby_handler.py,sha256=90N1xnWqv7K1WUTLEOV8PjsE7DFCKWLfMpSKCwGCSCI,6813
447
+ mindsdb/integrations/handlers/derby_handler/derby_handler.py,sha256=Y7tvsj0sd1XvkOEHnaFaupdSAJqalEZv4ALK3bA6VcA,6743
497
448
  mindsdb/integrations/handlers/derby_handler/icon.svg,sha256=Q571Chfv-Mo8BM6S1-pNZFBY-FjpZmTAnQ0R0pes7ZM,2278
498
449
  mindsdb/integrations/handlers/derby_handler/requirements.txt,sha256=sG7Cc6gXxY165ysIPFto4erV1oZ10BMBd_rY4GvB5Y4,11
499
450
  mindsdb/integrations/handlers/derby_handler/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -518,6 +469,7 @@ mindsdb/integrations/handlers/documentdb_handler/__init__.py,sha256=i3J0cPOg7Qqk
518
469
  mindsdb/integrations/handlers/documentdb_handler/connection_args.py,sha256=ajm9eMQSeALndWLJ4E8MmriwXSrTDlIJTEJYmoXxFl8,1553
519
470
  mindsdb/integrations/handlers/documentdb_handler/documentdb_handler.py,sha256=oJi8FH59c0jyZ_6Lxj7KygC_koXA110EC3m-k16gbqw,1378
520
471
  mindsdb/integrations/handlers/documentdb_handler/icon.svg,sha256=pKDMFy1Ivlwa6Bp2_SEiCF5HQoGy4c6wtd9XfdOI2Is,3512
472
+ mindsdb/integrations/handlers/documentdb_handler/requirements.txt,sha256=s36FcN7I2LBkNrmAeGyFScc3Pvg5OfTwy2wDxcbqdsc,65
521
473
  mindsdb/integrations/handlers/dremio_handler/__about__.py,sha256=Q_m7a8g1uswUxT09spU-FGLw3c4fIsBKsBlC4iLZFLU,351
522
474
  mindsdb/integrations/handlers/dremio_handler/__init__.py,sha256=kUUd_B8mdKfPSu9dMfqKD-0buVhlZwcc_TgFwdl0iHU,571
523
475
  mindsdb/integrations/handlers/dremio_handler/connection_args.py,sha256=3PIE05Jl7mkF_9KL_Kjx0rwjpZI5U7vpYq2ojd5BgYk,814
@@ -556,7 +508,7 @@ mindsdb/integrations/handlers/duckdb_handler/tests/__init__.py,sha256=47DEQpj8HB
556
508
  mindsdb/integrations/handlers/duckdb_handler/tests/test_duckdb_handler.py,sha256=jkGvXoQEoQnzcj3zuORu7upfcoaGcDmVOe83IqzPQbQ,1479
557
509
  mindsdb/integrations/handlers/dummy_data_handler/__about__.py,sha256=PSYHn55hrQRpnqoXiTNmXNdhCSmWmEhLL7Nb4eKdhkw,228
558
510
  mindsdb/integrations/handlers/dummy_data_handler/__init__.py,sha256=peKZXPxEaMzXOIJCrKalzz8TQwcnZP4YOy3amask-cc,491
559
- mindsdb/integrations/handlers/dummy_data_handler/dummy_data_handler.py,sha256=XQR7WhU_4o0JSqQZsI7BZVbnBOpongUetmf8_AMt8ZQ,3379
511
+ mindsdb/integrations/handlers/dummy_data_handler/dummy_data_handler.py,sha256=UoP5Jy8SjKTaIB76H-93xj42TJsuy48mTw5RbM4ssPc,3361
560
512
  mindsdb/integrations/handlers/dummy_data_handler/icon.svg,sha256=K9XlyM95whoniFSqPOz8tm2hxKJxanwZWoYD0IzDzrg,152
561
513
  mindsdb/integrations/handlers/dynamodb_handler/__about__.py,sha256=C-WnvzjgGPutV61FH6eTAkpnc3Y3DRdoKwaNUXLhWkg,357
562
514
  mindsdb/integrations/handlers/dynamodb_handler/__init__.py,sha256=yTEVxzxm3SCeATwL0lPyASgiowEVH00C7Nciy_31lyU,631
@@ -696,7 +648,7 @@ mindsdb/integrations/handlers/google_analytics_handler/tests/__init__.py,sha256=
696
648
  mindsdb/integrations/handlers/google_analytics_handler/tests/test_google_analytics_handler.py,sha256=cHXwGAuWmuroN-x_b0YKWgGD4ax0Vad3V4xzgHDgqSU,1815
697
649
  mindsdb/integrations/handlers/google_books_handler/__about__.py,sha256=O5UgmDgG_LDRCZi_Jyc4wZLcYsWzPL6BJIkRFxjm2Do,379
698
650
  mindsdb/integrations/handlers/google_books_handler/__init__.py,sha256=6qKoU8qvFL6a-GPqPW_IPa2IYIhQJzOuf2T8AKOKM6A,504
699
- mindsdb/integrations/handlers/google_books_handler/google_books_handler.py,sha256=wQwZ-UsEvSE4SSyxi-0N1TO70ozHgdQyWOCJFRmmr9E,6892
651
+ mindsdb/integrations/handlers/google_books_handler/google_books_handler.py,sha256=HcfhDm6wheI-4XrcJVpP2UTyaIO4LSpwx8NZY3wauxE,6882
700
652
  mindsdb/integrations/handlers/google_books_handler/google_books_tables.py,sha256=wsMwbrbp8pPyB98snrn9fi2np968DEcNxsONctyFNAY,6184
701
653
  mindsdb/integrations/handlers/google_books_handler/icon.svg,sha256=PNUyfFJEaEAgCxmomXG_1SYW9VaSF5zilZi6X9Xuhls,962
702
654
  mindsdb/integrations/handlers/google_books_handler/requirements.txt,sha256=ycVjx_AXPug2REKnXTE39Dg4VzpcWF1yHf2_xtaYbn4,36
@@ -705,7 +657,7 @@ mindsdb/integrations/handlers/google_books_handler/tests/test_google_books_handl
705
657
  mindsdb/integrations/handlers/google_calendar_handler/__about__.py,sha256=ABiiMZz9sTlrSoW5FIUbFZqmW4WD1BNe-66IC1hj6Vs,388
706
658
  mindsdb/integrations/handlers/google_calendar_handler/__init__.py,sha256=ms_QDVhQf3b_jnweJXDVAUFYuyKkPb6JgEfGEzJ9uzA,580
707
659
  mindsdb/integrations/handlers/google_calendar_handler/connection_args.py,sha256=HL1g-EYFULOoR3l874dFRmPGeP5bl0fNwRTftYDeF84,780
708
- mindsdb/integrations/handlers/google_calendar_handler/google_calendar_handler.py,sha256=NV8wWKS8_09flwJmf3X1J2iQ96o-uJ6HKk-e4ODZhCE,10900
660
+ mindsdb/integrations/handlers/google_calendar_handler/google_calendar_handler.py,sha256=0Z__mzYWTw2Rh0ehKNWSVbHpwKdrepFC4d3bEzpjhE4,10864
709
661
  mindsdb/integrations/handlers/google_calendar_handler/google_calendar_tables.py,sha256=MLxKilrCF-vZADfxv_cfmNPYSyTi34YLRJ8kXb6nsv8,8179
710
662
  mindsdb/integrations/handlers/google_calendar_handler/icon.svg,sha256=DQIgxyH7l5C7ONqeAIoofEH4PYDJdRZDFPK7A57XPMg,1915
711
663
  mindsdb/integrations/handlers/google_calendar_handler/requirements.txt,sha256=sGapIrHWuar-fikT8mebJCAXB8BCDcEoPWmyF9MVxz8,106
@@ -714,7 +666,7 @@ mindsdb/integrations/handlers/google_calendar_handler/tests/test_google_calendar
714
666
  mindsdb/integrations/handlers/google_content_shopping_handler/__about__.py,sha256=kUidXzaoLPxNOiywhLPrUFjG4JZl8krOHzS0QMWl7Tg,424
715
667
  mindsdb/integrations/handlers/google_content_shopping_handler/__init__.py,sha256=5WMq9JHkNT9EHmedLyt5wru80V2NxMeNSvemsiTpUEk,662
716
668
  mindsdb/integrations/handlers/google_content_shopping_handler/connection_args.py,sha256=NdwKKW8VAMNiInueKkXoX0QP8Fu9ECXq0tTBdpGc_Zo,563
717
- mindsdb/integrations/handlers/google_content_shopping_handler/google_content_shopping_handler.py,sha256=yGt7F-_-w-wWk-2Ijzsbb0pbvB4S7sOJTseZ8hzGkz8,15650
669
+ mindsdb/integrations/handlers/google_content_shopping_handler/google_content_shopping_handler.py,sha256=cbNVT4ghnOffTRWzqcCKuheKj3-zg2ZYjvRPXY2tmoU,15299
718
670
  mindsdb/integrations/handlers/google_content_shopping_handler/google_content_shopping_tables.py,sha256=1o8yzOgzHx0g4N_lfoNhH_WZfVUfAmsw-LwUOnwZoh4,14195
719
671
  mindsdb/integrations/handlers/google_content_shopping_handler/icon.svg,sha256=q8FcSns7BbYLiMtErVngNMkLGXbjxeeP8IuKIGhKKJA,2651
720
672
  mindsdb/integrations/handlers/google_content_shopping_handler/requirements.txt,sha256=ycVjx_AXPug2REKnXTE39Dg4VzpcWF1yHf2_xtaYbn4,36
@@ -722,7 +674,7 @@ mindsdb/integrations/handlers/google_content_shopping_handler/tests/__init__.py,
722
674
  mindsdb/integrations/handlers/google_content_shopping_handler/tests/test_google_content_shopping_handler.py,sha256=0yOsRSpKCGiHAKpe9m7g7HENYY2vcCPVk6sP1k5wLsI,2436
723
675
  mindsdb/integrations/handlers/google_fit_handler/__about__.py,sha256=f6IFxoETFim29W0z7BPQG57SWBNyy838DTuBY_68I6k,358
724
676
  mindsdb/integrations/handlers/google_fit_handler/__init__.py,sha256=ZzcJSVhfMTx5CqAjRCydCB7Mc2ERPT7GtQ8FOtZkXFQ,495
725
- mindsdb/integrations/handlers/google_fit_handler/google_fit_handler.py,sha256=c5DWijWNdeXxv_tYaz1TdfaTF7j_ArQwixt6-_YDjhY,6572
677
+ mindsdb/integrations/handlers/google_fit_handler/google_fit_handler.py,sha256=xpSYubnztPs30bY-MOEEGUVbUB5aMt12xPhgWbwNBZA,6810
726
678
  mindsdb/integrations/handlers/google_fit_handler/google_fit_tables.py,sha256=RNl_qiPHcyNrtBrkmbTDE2uGUJ0l8mwHX1z9c5T1mrU,2394
727
679
  mindsdb/integrations/handlers/google_fit_handler/icon.svg,sha256=3ZgBVbln5KXnYpVLDTbYDGfQp_hUGW3W0GJGVJUjQ98,1511
728
680
  mindsdb/integrations/handlers/google_fit_handler/requirements.txt,sha256=XAgJL2biwLXpTpn7NBWXVYxtpUTh0zKHFm2bgjhXAWU,80
@@ -734,7 +686,7 @@ mindsdb/integrations/handlers/google_gemini_handler/requirements.txt,sha256=uPpL
734
686
  mindsdb/integrations/handlers/google_search_handler/__about__.py,sha256=EPaDjDJvD7XZjKVF8kcxylyhDldS9MzxcHlkD51hufY,382
735
687
  mindsdb/integrations/handlers/google_search_handler/__init__.py,sha256=w5PUmHFndJkZtMrfrf3ruBtqvE6tNY_SswSBmJowU7s,630
736
688
  mindsdb/integrations/handlers/google_search_handler/connection_args.py,sha256=HShiT9T2GITGncYL8t2PsN8m6PUMQeqjCdn_mizNfY8,408
737
- mindsdb/integrations/handlers/google_search_handler/google_search_handler.py,sha256=E28ekX9d5ra2QdZjfkHJ9UwA746GAkkTPerI9yx6ebc,7673
689
+ mindsdb/integrations/handlers/google_search_handler/google_search_handler.py,sha256=29q3ts04wcEzFojwzEO1md0HQxM_8P6I1GDjHDwHvCU,7601
738
690
  mindsdb/integrations/handlers/google_search_handler/google_search_tables.py,sha256=p53CalNcKaLUb0NWJYXJXTfqlD-M1Q577D74puWBRpo,7291
739
691
  mindsdb/integrations/handlers/google_search_handler/icon.svg,sha256=Dsio_gu-jTENejm6qPAAfAvarnRDUocgqmMtjCuyw6U,3303
740
692
  mindsdb/integrations/handlers/google_search_handler/requirements.txt,sha256=ycVjx_AXPug2REKnXTE39Dg4VzpcWF1yHf2_xtaYbn4,36
@@ -831,7 +783,7 @@ mindsdb/integrations/handlers/influxdb_handler/requirements.txt,sha256=pnabyssMX
831
783
  mindsdb/integrations/handlers/informix_handler/__about__.py,sha256=4n25Q-5vIbtv_KuxRmmruhpc8yq2KzWvuCWUJgmbfrY,354
832
784
  mindsdb/integrations/handlers/informix_handler/__init__.py,sha256=s7fptJ1Z5EpEckg_J4fca4UCM_kNicTKZdfY9M8_hgk,519
833
785
  mindsdb/integrations/handlers/informix_handler/icon.svg,sha256=tDk36rxKSHxTWTgjJMKr2UZArLv52AVO55WwycxMRcw,3200
834
- mindsdb/integrations/handlers/informix_handler/informix_handler.py,sha256=uersEm-4Wbx9ZzVKfQRt4AM39UKeR7G3oPeAhRyoRmc,9474
786
+ mindsdb/integrations/handlers/informix_handler/informix_handler.py,sha256=x_hqdB_XtwLwCMUBEEbeErqBJg1Dyx13sHSsldMXO4I,9216
835
787
  mindsdb/integrations/handlers/informix_handler/requirements.txt,sha256=5FT1SNHRoxRCeEJzbulBeqnF3nwaE3yLbEmzbe07qYM,20
836
788
  mindsdb/integrations/handlers/informix_handler/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
837
789
  mindsdb/integrations/handlers/informix_handler/tests/test_informix_handler.py,sha256=jrSKsgEtrtZWdWsUYF5IeWHp4-5pEdCUM-jG-LX_0po,1693
@@ -980,7 +932,7 @@ mindsdb/integrations/handlers/maxdb_handler/__about__.py,sha256=nDz8qDfeQKaF0HKC
980
932
  mindsdb/integrations/handlers/maxdb_handler/__init__.py,sha256=XCc-TQtkecXdDnYN7_vq_Fy4ZB8SJOJTf0bKpDTjOxY,629
981
933
  mindsdb/integrations/handlers/maxdb_handler/connection_args.py,sha256=EklXmJRXp3dyPLoicbdCLat7jXRZosQBkf0cVMFQON8,1197
982
934
  mindsdb/integrations/handlers/maxdb_handler/icon.svg,sha256=7jODNJNSaNSUNoYan37vYjmlcxW_vKEjihtAlYALfvs,2141
983
- mindsdb/integrations/handlers/maxdb_handler/maxdb_handler.py,sha256=k39A9Doq0bfP1puBRjaNCGmGYaVAKh730uNSN3EBT0M,6274
935
+ mindsdb/integrations/handlers/maxdb_handler/maxdb_handler.py,sha256=GvABgq5S0ays8CIi6QAkOeAcJVBrP-owRSwlVRMA2g0,6090
984
936
  mindsdb/integrations/handlers/maxdb_handler/requirements.txt,sha256=sG7Cc6gXxY165ysIPFto4erV1oZ10BMBd_rY4GvB5Y4,11
985
937
  mindsdb/integrations/handlers/maxdb_handler/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
986
938
  mindsdb/integrations/handlers/maxdb_handler/tests/test_maxdb_handler.py,sha256=SCan0bNQflgAI8TkLaB2fDthVvLD782hfKjk5MBVZe8,1905
@@ -1028,7 +980,7 @@ mindsdb/integrations/handlers/monetdb_handler/__about__.py,sha256=aWjion1UbVN_C-
1028
980
  mindsdb/integrations/handlers/monetdb_handler/__init__.py,sha256=_T-6GpzgzI9bbuqKKtIUcmBfRncPCeKSvHNliPdaNhw,635
1029
981
  mindsdb/integrations/handlers/monetdb_handler/connection_args.py,sha256=tYHHm8FPTQWlRSxArJPGyFLcAzC-u-z3b5LeVjTrois,1171
1030
982
  mindsdb/integrations/handlers/monetdb_handler/icon.svg,sha256=_Yrcx_2YctQ_UYUCha5xUxo8AF2gJhMXSKXajROJbhA,611
1031
- mindsdb/integrations/handlers/monetdb_handler/monetdb_handler.py,sha256=A0BV1xzH2aZYHSMK0hJmIjNb3D5nWKk6N5neAvzIQmA,6872
983
+ mindsdb/integrations/handlers/monetdb_handler/monetdb_handler.py,sha256=ognCXHVqFG1SAu4v8J0-JI6xKnCbwA-W8NBQb23QivQ,6786
1032
984
  mindsdb/integrations/handlers/monetdb_handler/requirements.txt,sha256=3fXn4kTvoUNAZ3Lf65ApFHB4tCgYUVXY_rOEiHKc7sw,28
1033
985
  mindsdb/integrations/handlers/monetdb_handler/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1034
986
  mindsdb/integrations/handlers/monetdb_handler/tests/test_monetdb_handler.py,sha256=SIJY1GlhpkfV8CvPLayuQhRhSeGJAFUKv-9sgztaaFY,1603
@@ -1038,11 +990,15 @@ mindsdb/integrations/handlers/mongodb_handler/__about__.py,sha256=umKxXuUAypdohv
1038
990
  mindsdb/integrations/handlers/mongodb_handler/__init__.py,sha256=iENrcoLHevbky-eZHcnKRqyZbg3DvPmSMlQtf1KyshQ,601
1039
991
  mindsdb/integrations/handlers/mongodb_handler/connection_args.py,sha256=kqrTEM14g291rR0SlgsNyHc-leRuSIw2fi1iLR0oQbI,1347
1040
992
  mindsdb/integrations/handlers/mongodb_handler/icon.svg,sha256=EIOSXCwZTpRPUctO4FbIE28mAK4S5uG-0fps8DLZicY,1050
1041
- mindsdb/integrations/handlers/mongodb_handler/mongodb_handler.py,sha256=UmArj7C_Rn5Tp7OK-Bkm6au52yJODpRJd3BRwqrJbpg,12536
993
+ mindsdb/integrations/handlers/mongodb_handler/mongodb_handler.py,sha256=5l-cGVtjXH_zaGi3QKYYogL4NeUYLvAzbsSZtOHWxuA,12352
994
+ mindsdb/integrations/handlers/mongodb_handler/requirements.txt,sha256=xzYR7tdpsOdnsbTIuMDVrBxQWxeTo91wqOYNYUUB26U,17
1042
995
  mindsdb/integrations/handlers/mongodb_handler/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1043
996
  mindsdb/integrations/handlers/mongodb_handler/tests/test_mongodb_handler.py,sha256=764dX8lCUGjkoZgu8CXvVvg9SuLXiMIuspQV0cxX07Y,3868
1044
997
  mindsdb/integrations/handlers/mongodb_handler/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1045
- mindsdb/integrations/handlers/mongodb_handler/utils/mongodb_render.py,sha256=W1LzgaH60dJr9HWhgIY6P3EttuttOPxcozNQvEY9azk,8923
998
+ mindsdb/integrations/handlers/mongodb_handler/utils/mongodb_ast.py,sha256=5FZBWxv1gDqIS5fh5FGSf_b9UVEU4ADMsnfLWJabpCE,7279
999
+ mindsdb/integrations/handlers/mongodb_handler/utils/mongodb_parser.py,sha256=HUYa_RcLu-KwT1S6vDEIG8GVb1y2iWtd4xrOeyFBJkU,4158
1000
+ mindsdb/integrations/handlers/mongodb_handler/utils/mongodb_query.py,sha256=aKM0j9mbwfpC3NPw_3EPEMn86OCPISkd4gl7SjIIfCE,2064
1001
+ mindsdb/integrations/handlers/mongodb_handler/utils/mongodb_render.py,sha256=TVqYvNo-o1yxyxoAnPOox3mleK8zSg5sE3Nco8uSd4M,8568
1046
1002
  mindsdb/integrations/handlers/monkeylearn_handler/__about__.py,sha256=Hp2Vfuhlac2IketBCHU82XTg1s5svR5PdbeTXX9D9x4,356
1047
1003
  mindsdb/integrations/handlers/monkeylearn_handler/__init__.py,sha256=55jADklA9zLFmTtoBtAPWYegsgluG6WzFomoh5vkKQM,512
1048
1004
  mindsdb/integrations/handlers/monkeylearn_handler/icon.png,sha256=RuKBcb_iTZoldGb3U5GDxemB49E9ALC8uZbIoMY54BI,14734
@@ -1708,7 +1664,7 @@ mindsdb/integrations/libs/__init__.py,sha256=uEz-XQLAwY2nMXc5ilEPP6cWWfo5HpO8o8U
1708
1664
  mindsdb/integrations/libs/api_handler.py,sha256=-Zn0rdVA1gvHms0k2ZDzuifPmKOnlNy8qab3t1lkdho,25359
1709
1665
  mindsdb/integrations/libs/api_handler_exceptions.py,sha256=mw83eTmo9knpVHP1ISnudonZcBMI_Xzr77b1wXN-eu8,236
1710
1666
  mindsdb/integrations/libs/api_handler_generator.py,sha256=qQs12fr31g0XvMjTInopNfKiPj7pKfyuNhqqX0tCgGo,19304
1711
- mindsdb/integrations/libs/base.py,sha256=LaM5XhcGw75Yfg5aUvAzhoEOu7-FrXHnJD-E8zyg1_8,21069
1667
+ mindsdb/integrations/libs/base.py,sha256=S5eELL3VZZx-qUgHVDB6LC4i82EXV2XJlh3-Vnfktnw,21053
1712
1668
  mindsdb/integrations/libs/const.py,sha256=Pbdv7K_SvOWSwANwu4FK2S0jkJYaRnVZpfx4SexxR8c,407
1713
1669
  mindsdb/integrations/libs/keyword_search_base.py,sha256=U-O6AxIj8kZmnmoR3_RxO3RkZsydpsKUHjEy38mU6wk,1205
1714
1670
  mindsdb/integrations/libs/ml_exec_base.py,sha256=lp4LGXZUfTaPfY4V44osJQfz0pq0-l3V4gc1vl4rWoc,17540
@@ -1799,7 +1755,7 @@ mindsdb/interfaces/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVG
1799
1755
  mindsdb/interfaces/agents/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1800
1756
  mindsdb/interfaces/agents/agents_controller.py,sha256=nTV6_RSsuK7WiJjHNHFJ_Wj3olyXJrRA6EXazuUXi-s,32203
1801
1757
  mindsdb/interfaces/agents/callback_handlers.py,sha256=_iOUz-g5Hglf2wtfpx6ENKNCu2Cba-ZbpQtXyR2xElY,6700
1802
- mindsdb/interfaces/agents/constants.py,sha256=184HMdLooeahpsLwDpltQfjfTHmNkieLsgRbq9UZ960,9834
1758
+ mindsdb/interfaces/agents/constants.py,sha256=WKzd_IA9vGXGSe6dQnCbQrDCgG9W8rdzqLEOLn0NxF0,9865
1803
1759
  mindsdb/interfaces/agents/event_dispatch_callback_handler.py,sha256=-76yTtxTHO5AkFTtr_RvYfkdUROJHcKZx6KJDZvj_-M,1331
1804
1760
  mindsdb/interfaces/agents/langchain_agent.py,sha256=gLppz7_O5m_OW0SLqjL4rFbGnHB_CNBMJMI_WaRaNdA,34642
1805
1761
  mindsdb/interfaces/agents/langfuse_callback_handler.py,sha256=-51IWB5U2_m71xx00IwSOAK6gJ2n-HD_CzbtbmEfbBQ,11598
@@ -1836,7 +1792,7 @@ mindsdb/interfaces/jobs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG
1836
1792
  mindsdb/interfaces/jobs/jobs_controller.py,sha256=HfI2d_yPmMYJLrDlAYG7hm03BiAIPQ1Gl9bWAncvLKk,18437
1837
1793
  mindsdb/interfaces/jobs/scheduler.py,sha256=eHBWTpZozI_AC-hKmg4p0qRoGZW8O3gEt5Y9nDhHWpw,3696
1838
1794
  mindsdb/interfaces/knowledge_base/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1839
- mindsdb/interfaces/knowledge_base/controller.py,sha256=AIVmWqburgzLG7IAl5Z5oRPZQ4gHGA8vjpeO432mLCg,57833
1795
+ mindsdb/interfaces/knowledge_base/controller.py,sha256=cE2mD4_6MTHzuNjmGOEXgbaRid9py6aWOhqGUGnZxVU,57987
1840
1796
  mindsdb/interfaces/knowledge_base/evaluate.py,sha256=ZXm_op5-n8beY42ikfgIxx9OKhr7P5Bqr9DkGmHaVtE,21574
1841
1797
  mindsdb/interfaces/knowledge_base/executor.py,sha256=WwMAYHThohojGPm3ANVYRj425UaKo024HL7mIUTzDoo,14037
1842
1798
  mindsdb/interfaces/knowledge_base/llm_client.py,sha256=pZQdoU8TTyMO1b7sa8-Ou4VRFDxR6974cyJkm0IeTIw,2844
@@ -1954,7 +1910,7 @@ mindsdb/migrations/versions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMp
1954
1910
  mindsdb/utilities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1955
1911
  mindsdb/utilities/auth.py,sha256=nfC8oqvaN3GAATc_LeHJ34Kg3PYfyfJ-KI6TN_fOB48,2568
1956
1912
  mindsdb/utilities/cache.py,sha256=nkfEt8Pw5H_8sPNXMaS2SZCC3NrEMi486K8m61zqu-s,7590
1957
- mindsdb/utilities/config.py,sha256=NP1ZjBLzgUBkkpSNx3q4hm02ohjijln2bYo_Gwo911A,28075
1913
+ mindsdb/utilities/config.py,sha256=tr6AQj7SwXDG5V7kUO9-TeaVbmVjJmMtSkKY7kBlrZ4,20818
1958
1914
  mindsdb/utilities/context.py,sha256=IdH0bXIIBHuJ_HzVQIRAZhOs4GD15AwDpXTlNnTBHek,1846
1959
1915
  mindsdb/utilities/context_executor.py,sha256=OcJu-FgHZUmtAa_jOfXtwr7LPH3Vw2FPPJlx_9cWi7w,1945
1960
1916
  mindsdb/utilities/exception.py,sha256=Y0-aO54_EQeebBuvR0105qITJc_Jq6bQ5QszmmKmUpE,2688
@@ -1962,13 +1918,13 @@ mindsdb/utilities/fs.py,sha256=qCf15vAu7SYMKfP2Vw-334U0DDLv_pJEQAO4AeZYHHQ,5735
1962
1918
  mindsdb/utilities/functions.py,sha256=FkLSSge3EYzG-ow6uExQ6GTMfPYeh8NBWRTf6JTuIy8,6366
1963
1919
  mindsdb/utilities/json_encoder.py,sha256=-nWynBlL7AwRyrM8gkiXPvPzk97EBJawryCA-ZO_7-A,1094
1964
1920
  mindsdb/utilities/langfuse.py,sha256=XMNVxllYCKBkWnhnHxQXjIUof7KOctp7da43usQj7SY,9528
1965
- mindsdb/utilities/log.py,sha256=5ZUwh8J_LG9c_EbHghMwV8Xc-tsJTkvf5S_iFsEaHWg,5767
1921
+ mindsdb/utilities/log.py,sha256=MuO-S5eYPep74jwJj1AfmWT0hOeX5vmd5TOtI0E___4,4948
1966
1922
  mindsdb/utilities/partitioning.py,sha256=EnFkEIfPMj2_uH7llOQqzjVrbGO2g0AzH2vQWPALnCA,1828
1967
1923
  mindsdb/utilities/ps.py,sha256=6JqJoAMXqPo7rG0BkImF6szghcANx-Xt_4SRYFZ3rUU,2347
1968
1924
  mindsdb/utilities/security.py,sha256=Jcd6v1UKRr4HY7SRkYdvF9zSjcqeKRO10f295XVZNAA,3017
1969
1925
  mindsdb/utilities/sentry.py,sha256=PMI55LbYvCi8NLmI3QgCNL1M8bymVr8J4JBTywAl1WE,2420
1970
1926
  mindsdb/utilities/sql.py,sha256=y2E1fUDikoRCrura5WRCbe56c0PdqNveK6-GRjblhsA,2475
1971
- mindsdb/utilities/starters.py,sha256=rfwpqJHkPlqh5wv3bSDsyak0Y7LHSjeOUfTJmkNIoYQ,2453
1927
+ mindsdb/utilities/starters.py,sha256=ujkIkwejezlZMfnw545TdQ2a-PidNfVAe2P6SvGzx5c,1517
1972
1928
  mindsdb/utilities/utils.py,sha256=RZcPZtM5o1PPYOQmooHSTDn2yP909LGKm9whjVzTr28,1089
1973
1929
  mindsdb/utilities/wizards.py,sha256=vlWb50BSmBomj4jMGVc-DABx88GGAaWWqZf8RxA6O-0,1708
1974
1930
  mindsdb/utilities/hooks/__init__.py,sha256=HDPLuCxND4GUj5biGVfYeCmMZipMIyTG5WCOU3k654E,796
@@ -1990,8 +1946,8 @@ mindsdb/utilities/profiler/__init__.py,sha256=d4VXl80uSm1IotR-WwbBInPmLmACiK0Azx
1990
1946
  mindsdb/utilities/profiler/profiler.py,sha256=KCUtOupkbM_nCoof9MtiuhUzDGezx4a4NsBX6vGWbPA,3936
1991
1947
  mindsdb/utilities/render/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1992
1948
  mindsdb/utilities/render/sqlalchemy_render.py,sha256=7GYCKCCFIo4UzmPtnRncefZBuUVdcVEo4ICqHxGWPrw,30852
1993
- mindsdb-25.8.3.0.dist-info/licenses/LICENSE,sha256=ziqdjujs6WDn-9g3t0SISjHCBc2pLRht3gnRbQoXmIs,5804
1994
- mindsdb-25.8.3.0.dist-info/METADATA,sha256=r8qW9ZGOo8yEkG0mUOuAIu_cCJtOsiyefWJY1YVbgG0,44326
1995
- mindsdb-25.8.3.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
1996
- mindsdb-25.8.3.0.dist-info/top_level.txt,sha256=10wPR96JDf3hM8aMP7Fz0lDlmClEP480zgXISJKr5jE,8
1997
- mindsdb-25.8.3.0.dist-info/RECORD,,
1949
+ mindsdb-25.9.1.0.dist-info/licenses/LICENSE,sha256=ziqdjujs6WDn-9g3t0SISjHCBc2pLRht3gnRbQoXmIs,5804
1950
+ mindsdb-25.9.1.0.dist-info/METADATA,sha256=66gzDXPRV5aJhGYVQbQ7g1UKX_oH3w62sTnsrbmFR9E,44486
1951
+ mindsdb-25.9.1.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
1952
+ mindsdb-25.9.1.0.dist-info/top_level.txt,sha256=10wPR96JDf3hM8aMP7Fz0lDlmClEP480zgXISJKr5jE,8
1953
+ mindsdb-25.9.1.0.dist-info/RECORD,,
@@ -1,144 +0,0 @@
1
- import sys
2
- import logging
3
- import click
4
- from dotenv import load_dotenv
5
-
6
- # A2A specific imports
7
- from mindsdb.api.a2a.common.types import (
8
- AgentCard,
9
- AgentCapabilities,
10
- AgentSkill,
11
- MissingAPIKeyError,
12
- )
13
- from mindsdb.api.a2a.common.server.server import A2AServer
14
- from mindsdb.api.a2a.task_manager import AgentTaskManager
15
- from mindsdb.api.a2a.agent import MindsDBAgent
16
-
17
- logger = logging.getLogger(__name__)
18
- logging.basicConfig(
19
- level=logging.INFO,
20
- format="%(asctime)s - %(name)s - %(levelname)s - %(message)s",
21
- )
22
-
23
-
24
- @click.command()
25
- @click.option("--host", default="localhost", help="A2A server host")
26
- @click.option("--port", default=10002, help="A2A server port", type=int)
27
- @click.option("--mindsdb-host", default="localhost", help="MindsDB server host")
28
- @click.option("--mindsdb-port", default=47334, help="MindsDB server port", type=int)
29
- @click.option("--project-name", default="mindsdb", help="MindsDB project name")
30
- @click.option(
31
- "--log-level",
32
- default="INFO",
33
- help="Logging level (DEBUG, INFO, WARNING, ERROR)",
34
- )
35
- def main(
36
- host: str,
37
- port: int,
38
- mindsdb_host: str,
39
- mindsdb_port: int,
40
- project_name: str,
41
- log_level: str,
42
- ):
43
- """Entry-point that starts an A2A compliant server which forwards tasks to an existing MindsDB agent."""
44
-
45
- # Configure logging level
46
- logging.getLogger().setLevel(getattr(logging, log_level.upper(), logging.INFO))
47
-
48
- # Load .env if present
49
- load_dotenv()
50
-
51
- try:
52
- logger.info(
53
- "Starting MindsDB A2A connector on http://%s:%s (project=%s)",
54
- host,
55
- port,
56
- project_name,
57
- )
58
-
59
- # --- 1. Prepare A2A artefacts (agent card & task-manager) --------------
60
- capabilities = AgentCapabilities(streaming=True)
61
- skill = AgentSkill(
62
- id="mindsdb_query",
63
- name="MindsDB Query",
64
- description="Executes natural-language queries via MindsDB agents.",
65
- tags=["database", "mindsdb", "query", "analytics"],
66
- examples=[
67
- "What trends exist in my sales data?",
68
- "Generate insights from the support tickets dataset.",
69
- ],
70
- inputModes=MindsDBAgent.SUPPORTED_CONTENT_TYPES,
71
- outputModes=MindsDBAgent.SUPPORTED_CONTENT_TYPES,
72
- )
73
-
74
- agent_card = AgentCard(
75
- name="MindsDB Agent Connector",
76
- description=(f"A2A connector that proxies requests to MindsDB agents in project '{project_name}'."),
77
- url=f"http://{host}:{port}",
78
- version="1.0.0",
79
- defaultInputModes=MindsDBAgent.SUPPORTED_CONTENT_TYPES,
80
- defaultOutputModes=MindsDBAgent.SUPPORTED_CONTENT_TYPES,
81
- capabilities=capabilities,
82
- skills=[skill],
83
- )
84
-
85
- task_manager = AgentTaskManager(
86
- project_name=project_name,
87
- mindsdb_host=mindsdb_host,
88
- mindsdb_port=mindsdb_port,
89
- )
90
-
91
- # --- 2. Start A2A server ----------------------------------------------
92
- logger.info("Starting A2A server…")
93
- server = A2AServer(
94
- agent_card=agent_card,
95
- task_manager=task_manager,
96
- host=host,
97
- port=port,
98
- endpoint="/a2a", # Keep the same route used by the client
99
- )
100
- server.start()
101
-
102
- except MissingAPIKeyError as exc:
103
- logger.error("Authentication error: %s", exc)
104
- sys.exit(1)
105
- except Exception as exc: # noqa: BLE001
106
- logger.exception("Unexpected error: %s", exc)
107
- sys.exit(1)
108
-
109
-
110
- # This function is called by mindsdb/api/a2a/run_a2a.py
111
- def main_with_config(config=None, *args, **kwargs):
112
- """
113
- Alternative entry point that accepts configuration as a dictionary.
114
- This is used when A2A is started as a subprocess of the main MindsDB process.
115
-
116
- Args:
117
- config (dict): Configuration dictionary
118
- args: Additional positional arguments
119
- kwargs: Additional keyword arguments
120
- """
121
- if config is None:
122
- config = {}
123
-
124
- # Extract configuration values with fallbacks to default values
125
- host = config.get("host", "localhost")
126
- port = int(config.get("port", 47338))
127
- mindsdb_host = config.get("mindsdb_host", "localhost")
128
- mindsdb_port = int(config.get("mindsdb_port", 47334))
129
- project_name = config.get("project_name", "mindsdb")
130
- log_level = config.get("log_level", "INFO")
131
-
132
- # Call the main function with the extracted configuration
133
- main.callback(
134
- host=host,
135
- port=port,
136
- mindsdb_host=mindsdb_host,
137
- mindsdb_port=mindsdb_port,
138
- project_name=project_name,
139
- log_level=log_level,
140
- )
141
-
142
-
143
- if __name__ == "__main__":
144
- main()
@@ -1,86 +0,0 @@
1
- #!/usr/bin/env python
2
- import os
3
- import sys
4
- import logging
5
- from dotenv import load_dotenv
6
- from typing import Dict, Any, Optional
7
-
8
- # Configure logging
9
- logging.basicConfig(level=logging.INFO, format="%(asctime)s - %(name)s - %(levelname)s - %(message)s")
10
- logger = logging.getLogger(__name__)
11
-
12
-
13
- def setup_python_path():
14
- """Ensure the repository root directory is on *sys.path* so that the
15
- ``mindsdb`` package (located at <repo>/mindsdb) can be imported when this
16
- helper script is executed from inside *mindsdb/api/a2a*.
17
- """
18
-
19
- # Absolute path to *this* file
20
- this_file_dir = os.path.dirname(os.path.abspath(__file__))
21
-
22
- # Walk three levels up: a2a/ -> api/ -> mindsdb/ -> <repo_root>
23
- repo_root = os.path.abspath(os.path.join(this_file_dir, os.pardir, os.pardir, os.pardir))
24
-
25
- # Prepend to PYTHONPATH if not already present
26
- if repo_root not in sys.path:
27
- sys.path.insert(0, repo_root)
28
-
29
- # Add the a2a directory to the Python path so that 'common' can be imported
30
- if this_file_dir not in sys.path:
31
- sys.path.insert(0, this_file_dir)
32
-
33
- logger.info("Added %s to PYTHONPATH", repo_root)
34
-
35
-
36
- def main(config_override: Optional[Dict[str, Any]] = None, *args, **kwargs):
37
- """
38
- Run the a2a module with the correct Python path.
39
- First set up the Python path, then import and run __main__.py
40
-
41
- Args:
42
- config_override: Optional configuration dictionary to override settings
43
- args: Additional positional arguments
44
- kwargs: Additional keyword arguments
45
- """
46
- # Set up Python path first
47
- setup_python_path()
48
-
49
- # Load environment variables
50
- load_dotenv()
51
-
52
- try:
53
- # Import the main_with_config function from __main__.py
54
- from mindsdb.api.a2a.__main__ import main_with_config
55
- from mindsdb.utilities.config import config
56
-
57
- logger.info("Successfully imported a2a module")
58
-
59
- # Get configuration from config system or use provided override
60
- a2a_config = config_override if config_override is not None else config.get("api", {}).get("a2a", {})
61
-
62
- # Set log level if specified
63
- if a2a_config.get("log_level"):
64
- log_level = getattr(logging, a2a_config["log_level"].upper(), None)
65
- if log_level:
66
- logger.setLevel(log_level)
67
- logger.info(f"Set log level to {a2a_config['log_level'].upper()}")
68
-
69
- logger.info(f"Starting A2A with configuration: {a2a_config}")
70
-
71
- # Call the main_with_config function with the configuration
72
- main_with_config(a2a_config, *args, **kwargs)
73
-
74
- except ImportError as e:
75
- logger.error(f"Error importing a2a module: {e}")
76
- sys.exit(1)
77
- except Exception as e:
78
- logger.error(f"Error running a2a module: {e}")
79
- import traceback
80
-
81
- logger.error(traceback.format_exc())
82
- sys.exit(1)
83
-
84
-
85
- if __name__ == "__main__":
86
- main()
@@ -1,42 +0,0 @@
1
- import traceback
2
-
3
- from mindsdb.utilities import log
4
-
5
- logger = log.getLogger(__name__)
6
-
7
-
8
- def check_auth(username, password, scramble_func, salt, company_id, config):
9
- try:
10
- hardcoded_user = config['auth'].get('username')
11
- hardcoded_password = config['auth'].get('password')
12
- if hardcoded_password is None:
13
- hardcoded_password = ''
14
- hardcoded_password_hash = scramble_func(hardcoded_password, salt)
15
- hardcoded_password = hardcoded_password.encode()
16
-
17
- if password is None:
18
- password = ''
19
- if isinstance(password, str):
20
- password = password.encode()
21
-
22
- if username != hardcoded_user:
23
- logger.warning(f'Check auth, user={username}: user mismatch')
24
- return {
25
- 'success': False
26
- }
27
-
28
- if password != hardcoded_password and password != hardcoded_password_hash:
29
- logger.warning(f'check auth, user={username}: password mismatch')
30
- return {
31
- 'success': False
32
- }
33
-
34
- logger.info(f'Check auth, user={username}: Ok')
35
- return {
36
- 'success': True,
37
- 'username': username
38
- }
39
- except Exception as e:
40
- logger.error(f'Check auth, user={username}: ERROR')
41
- logger.error(e)
42
- logger.error(traceback.format_exc())
@@ -1,17 +0,0 @@
1
- import gunicorn.app.base
2
-
3
-
4
- class StandaloneApplication(gunicorn.app.base.BaseApplication):
5
- def __init__(self, app, options=None):
6
- self.options = options or {}
7
- self.application = app
8
- super().__init__()
9
-
10
- def load_config(self):
11
- config = {key: value for key, value in self.options.items()
12
- if key in self.cfg.settings and value is not None}
13
- for key, value in config.items():
14
- self.cfg.set(key.lower(), value)
15
-
16
- def load(self):
17
- return self.application