MindsDB 25.5.4.2__py3-none-any.whl → 25.6.2.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.
- mindsdb/__about__.py +1 -1
- mindsdb/api/a2a/agent.py +28 -25
- mindsdb/api/a2a/common/server/server.py +32 -26
- mindsdb/api/executor/command_executor.py +69 -14
- mindsdb/api/executor/datahub/datanodes/integration_datanode.py +49 -65
- mindsdb/api/executor/datahub/datanodes/project_datanode.py +29 -48
- mindsdb/api/executor/datahub/datanodes/system_tables.py +35 -61
- mindsdb/api/executor/planner/plan_join.py +67 -77
- mindsdb/api/executor/planner/query_planner.py +176 -155
- mindsdb/api/executor/planner/steps.py +37 -12
- mindsdb/api/executor/sql_query/result_set.py +45 -64
- mindsdb/api/executor/sql_query/steps/fetch_dataframe.py +14 -18
- mindsdb/api/executor/sql_query/steps/fetch_dataframe_partition.py +17 -18
- mindsdb/api/executor/sql_query/steps/insert_step.py +13 -33
- mindsdb/api/executor/sql_query/steps/subselect_step.py +43 -35
- mindsdb/api/executor/utilities/sql.py +42 -48
- mindsdb/api/http/namespaces/config.py +1 -1
- mindsdb/api/http/namespaces/file.py +14 -23
- mindsdb/api/mysql/mysql_proxy/data_types/mysql_datum.py +12 -28
- mindsdb/api/mysql/mysql_proxy/data_types/mysql_packets/binary_resultset_row_package.py +59 -50
- mindsdb/api/mysql/mysql_proxy/data_types/mysql_packets/resultset_row_package.py +9 -8
- mindsdb/api/mysql/mysql_proxy/libs/constants/mysql.py +449 -461
- mindsdb/api/mysql/mysql_proxy/utilities/dump.py +87 -36
- mindsdb/integrations/handlers/file_handler/file_handler.py +15 -9
- mindsdb/integrations/handlers/file_handler/tests/test_file_handler.py +43 -24
- mindsdb/integrations/handlers/litellm_handler/litellm_handler.py +10 -3
- mindsdb/integrations/handlers/mysql_handler/mysql_handler.py +26 -33
- mindsdb/integrations/handlers/oracle_handler/oracle_handler.py +74 -51
- mindsdb/integrations/handlers/postgres_handler/postgres_handler.py +305 -98
- mindsdb/integrations/handlers/salesforce_handler/salesforce_handler.py +53 -34
- mindsdb/integrations/handlers/salesforce_handler/salesforce_tables.py +136 -6
- mindsdb/integrations/handlers/snowflake_handler/snowflake_handler.py +334 -83
- mindsdb/integrations/libs/api_handler.py +261 -57
- mindsdb/integrations/libs/base.py +100 -29
- mindsdb/integrations/utilities/files/file_reader.py +99 -73
- mindsdb/integrations/utilities/handler_utils.py +23 -8
- mindsdb/integrations/utilities/sql_utils.py +35 -40
- mindsdb/interfaces/agents/agents_controller.py +196 -192
- mindsdb/interfaces/agents/constants.py +7 -1
- mindsdb/interfaces/agents/langchain_agent.py +42 -11
- mindsdb/interfaces/agents/mcp_client_agent.py +29 -21
- mindsdb/interfaces/data_catalog/__init__.py +0 -0
- mindsdb/interfaces/data_catalog/base_data_catalog.py +54 -0
- mindsdb/interfaces/data_catalog/data_catalog_loader.py +359 -0
- mindsdb/interfaces/data_catalog/data_catalog_reader.py +34 -0
- mindsdb/interfaces/database/database.py +81 -57
- mindsdb/interfaces/database/integrations.py +220 -234
- mindsdb/interfaces/database/log.py +72 -104
- mindsdb/interfaces/database/projects.py +156 -193
- mindsdb/interfaces/file/file_controller.py +21 -65
- mindsdb/interfaces/knowledge_base/controller.py +63 -10
- mindsdb/interfaces/knowledge_base/evaluate.py +519 -0
- mindsdb/interfaces/knowledge_base/llm_client.py +75 -0
- mindsdb/interfaces/skills/custom/text2sql/mindsdb_kb_tools.py +83 -43
- mindsdb/interfaces/skills/skills_controller.py +54 -36
- mindsdb/interfaces/skills/sql_agent.py +109 -86
- mindsdb/interfaces/storage/db.py +223 -79
- mindsdb/migrations/versions/2025-05-28_a44643042fe8_added_data_catalog_tables.py +118 -0
- mindsdb/migrations/versions/2025-06-09_608e376c19a7_updated_data_catalog_data_types.py +58 -0
- mindsdb/utilities/config.py +9 -2
- mindsdb/utilities/log.py +35 -26
- mindsdb/utilities/ml_task_queue/task.py +19 -22
- mindsdb/utilities/render/sqlalchemy_render.py +129 -181
- mindsdb/utilities/starters.py +40 -0
- {mindsdb-25.5.4.2.dist-info → mindsdb-25.6.2.0.dist-info}/METADATA +253 -253
- {mindsdb-25.5.4.2.dist-info → mindsdb-25.6.2.0.dist-info}/RECORD +69 -61
- {mindsdb-25.5.4.2.dist-info → mindsdb-25.6.2.0.dist-info}/WHEEL +0 -0
- {mindsdb-25.5.4.2.dist-info → mindsdb-25.6.2.0.dist-info}/licenses/LICENSE +0 -0
- {mindsdb-25.5.4.2.dist-info → mindsdb-25.6.2.0.dist-info}/top_level.txt +0 -0
mindsdb/utilities/starters.py
CHANGED
|
@@ -1,40 +1,68 @@
|
|
|
1
1
|
def start_http(*args, **kwargs):
|
|
2
|
+
from mindsdb.utilities.log import initialize_logging
|
|
3
|
+
|
|
4
|
+
initialize_logging("http")
|
|
5
|
+
|
|
2
6
|
from mindsdb.api.http.start import start
|
|
3
7
|
|
|
4
8
|
start(*args, **kwargs)
|
|
5
9
|
|
|
6
10
|
|
|
7
11
|
def start_mysql(*args, **kwargs):
|
|
12
|
+
from mindsdb.utilities.log import initialize_logging
|
|
13
|
+
|
|
14
|
+
initialize_logging("mysql")
|
|
15
|
+
|
|
8
16
|
from mindsdb.api.mysql.start import start
|
|
9
17
|
|
|
10
18
|
start(*args, **kwargs)
|
|
11
19
|
|
|
12
20
|
|
|
13
21
|
def start_mongo(*args, **kwargs):
|
|
22
|
+
from mindsdb.utilities.log import initialize_logging
|
|
23
|
+
|
|
24
|
+
initialize_logging("mongo")
|
|
25
|
+
|
|
14
26
|
from mindsdb.api.mongo.start import start
|
|
15
27
|
|
|
16
28
|
start(*args, **kwargs)
|
|
17
29
|
|
|
18
30
|
|
|
19
31
|
def start_postgres(*args, **kwargs):
|
|
32
|
+
from mindsdb.utilities.log import initialize_logging
|
|
33
|
+
|
|
34
|
+
initialize_logging("postgres")
|
|
35
|
+
|
|
20
36
|
from mindsdb.api.postgres.start import start
|
|
21
37
|
|
|
22
38
|
start(*args, **kwargs)
|
|
23
39
|
|
|
24
40
|
|
|
25
41
|
def start_tasks(*args, **kwargs):
|
|
42
|
+
from mindsdb.utilities.log import initialize_logging
|
|
43
|
+
|
|
44
|
+
initialize_logging("tasks")
|
|
45
|
+
|
|
26
46
|
from mindsdb.interfaces.tasks.task_monitor import start
|
|
27
47
|
|
|
28
48
|
start(*args, **kwargs)
|
|
29
49
|
|
|
30
50
|
|
|
31
51
|
def start_ml_task_queue(*args, **kwargs):
|
|
52
|
+
from mindsdb.utilities.log import initialize_logging
|
|
53
|
+
|
|
54
|
+
initialize_logging("ml_task_queue")
|
|
55
|
+
|
|
32
56
|
from mindsdb.utilities.ml_task_queue.consumer import start
|
|
33
57
|
|
|
34
58
|
start(*args, **kwargs)
|
|
35
59
|
|
|
36
60
|
|
|
37
61
|
def start_scheduler(*args, **kwargs):
|
|
62
|
+
from mindsdb.utilities.log import initialize_logging
|
|
63
|
+
|
|
64
|
+
initialize_logging("scheduler")
|
|
65
|
+
|
|
38
66
|
from mindsdb.interfaces.jobs.scheduler import start
|
|
39
67
|
|
|
40
68
|
start(*args, **kwargs)
|
|
@@ -42,6 +70,10 @@ def start_scheduler(*args, **kwargs):
|
|
|
42
70
|
|
|
43
71
|
def start_mcp(*args, **kwargs):
|
|
44
72
|
"""Start the MCP server"""
|
|
73
|
+
from mindsdb.utilities.log import initialize_logging
|
|
74
|
+
|
|
75
|
+
initialize_logging("mcp")
|
|
76
|
+
|
|
45
77
|
from mindsdb.api.mcp.start import start
|
|
46
78
|
|
|
47
79
|
start(*args, **kwargs)
|
|
@@ -49,6 +81,10 @@ def start_mcp(*args, **kwargs):
|
|
|
49
81
|
|
|
50
82
|
def start_litellm(*args, **kwargs):
|
|
51
83
|
"""Start the LiteLLM server"""
|
|
84
|
+
from mindsdb.utilities.log import initialize_logging
|
|
85
|
+
|
|
86
|
+
initialize_logging("litellm")
|
|
87
|
+
|
|
52
88
|
from mindsdb.api.litellm.start import start
|
|
53
89
|
|
|
54
90
|
start(*args, **kwargs)
|
|
@@ -56,6 +92,10 @@ def start_litellm(*args, **kwargs):
|
|
|
56
92
|
|
|
57
93
|
def start_a2a(*args, **kwargs):
|
|
58
94
|
"""Start the A2A server as a subprocess of the main MindsDB process"""
|
|
95
|
+
from mindsdb.utilities.log import initialize_logging
|
|
96
|
+
|
|
97
|
+
initialize_logging("a2a")
|
|
98
|
+
|
|
59
99
|
from mindsdb.api.a2a.run_a2a import main
|
|
60
100
|
|
|
61
101
|
# Extract configuration from the global config
|