Platform dedicated to building an open foundation for applied Artificial Intelligence, designed for people seeking production-ready AI systems they can truly control, extend and deploy anywhere.
2659 matches across 19 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | setup.py | 23 | def expand_requirements_links(requirements: list) -> list: |
| LOW | tests/conftest.py | 12 | def pytest_collection_modifyitems(config, items): |
| LOW | tests/unit/test_passthrough.py | 90 | def test_caller_cannot_override_authorization(self, mock_request): |
| LOW | tests/unit/test_passthrough.py | 100 | def test_proxy_headers_stripped(self, mock_request): |
| LOW | tests/unit/test_passthrough.py | 107 | def test_hop_by_hop_response_headers_stripped(self, mock_request): |
| LOW | tests/unit/test_passthrough.py | 130 | def test_wildcard_allows_any_host(self): |
| LOW | tests/unit/test_passthrough.py | 140 | def test_private_ip_rejected_by_default(self): |
| LOW | tests/unit/test_passthrough.py | 145 | def test_private_ip_allowed_when_explicitly_listed(self): |
| LOW | tests/unit/test_passthrough.py | 172 | def test_missing_bearer_raises(self): |
| LOW | tests/unit/test_passthrough.py | 177 | def test_missing_base_url_raises(self): |
| LOW | tests/unit/test_passthrough.py | 185 | def test_path_must_start_with_slash(self): |
| LOW | tests/unit/test_passthrough.py | 45 | def test_injects_bearer_and_uses_default_base_url(self, mock_request): |
| LOW | tests/unit/test_passthrough.py | 59 | def test_user_base_url_overrides_default(self, mock_request): |
| LOW | tests/unit/test_passthrough.py | 66 | def test_query_params_forwarded(self, mock_request): |
| LOW | tests/unit/test_passthrough.py | 78 | def test_default_headers_merged(self, mock_request): |
| LOW | tests/unit/test_passthrough.py | 118 | def test_rejects_host_outside_allowlist(self): |
| LOW | tests/unit/test_passthrough.py | 159 | def test_loopback_rejected_with_wildcard_when_asterisk_not_used(self): |
| LOW | tests/unit/test_passthrough.py | 198 | def test_token_scrubbed_from_json_body(self, mock_request): |
| LOW | tests/unit/test_passthrough.py | 216 | def test_token_scrubbed_from_headers(self, mock_request): |
| LOW | tests/unit/test_passthrough.py | 227 | def test_long_default_header_values_scrubbed(self, mock_request): |
| LOW | tests/unit/test_passthrough.py | 241 | def test_token_scrubbed_in_nested_json_without_corrupting_structure(self, mock_request): |
| LOW | tests/unit/test_passthrough.py | 279 | def test_returns_not_implemented_when_no_test_request(self): |
| LOW | tests/unit/test_passthrough.py | 291 | def test_rejects_method_not_in_allowed_methods(self, mock_request): |
| LOW | tests/unit/test_passthrough.py | 308 | def test_all_methods_allowed_when_config_absent(self, mock_request): |
| LOW | tests/unit/test_passthrough.py | 319 | def test_string_allowed_methods_raises_config_error(self, mock_request): |
| LOW | tests/unit/test_passthrough.py | 328 | def test_lowercase_allowed_methods_normalized(self, mock_request): |
| LOW | tests/unit/test_passthrough.py | 345 | def test_unknown_verb_in_allowed_methods_raises_config_error(self, mock_request): |
| LOW | tests/unit/test_passthrough.py | 356 | def test_custom_auth_header_name_and_format(self, mock_request): |
| LOW | tests/unit/test_passthrough.py | 375 | def test_non_mixin_class_satisfies_protocol(self): |
| LOW | tests/unit/test_passthrough.py | 388 | def test_class_missing_methods_fails_protocol(self): |
| LOW | tests/unit/planner/test_integration_select.py | 32 | def test_integration_select_plan(self): |
| LOW | tests/unit/planner/test_integration_select.py | 75 | def test_integration_name_is_case_insensitive(self): |
| LOW | tests/unit/planner/test_integration_select.py | 111 | def test_integration_select_limit_offset(self): |
| LOW | tests/unit/planner/test_integration_select.py | 139 | def test_integration_select_order_by(self): |
| LOW | tests/unit/planner/test_integration_select.py | 169 | def test_integration_select_plan_star(self): |
| LOW | tests/unit/planner/test_integration_select.py | 182 | def test_integration_select_plan_complex_path(self): |
| LOW | tests/unit/planner/test_integration_select.py | 203 | def test_integration_select_table_alias(self): |
| LOW | tests/unit/planner/test_integration_select.py | 223 | def test_integration_select_column_alias(self): |
| LOW | tests/unit/planner/test_integration_select.py | 243 | def test_integration_select_table_alias_full_query(self): |
| LOW | tests/unit/planner/test_integration_select.py | 265 | def test_integration_select_plan_group_by(self): |
| LOW | tests/unit/planner/test_integration_select.py | 299 | def test_no_integration_error(self): |
| LOW | tests/unit/planner/test_integration_select.py | 306 | def test_integration_select_subquery_in_target(self): |
| LOW | tests/unit/planner/test_integration_select.py | 344 | def test_integration_select_subquery_in_from(self): |
| LOW | tests/unit/planner/test_integration_select.py | 372 | def test_integration_select_subquery_in_where(self): |
| LOW | tests/unit/planner/test_integration_select.py | 413 | def test_integration_select_default_namespace(self): |
| LOW | tests/unit/planner/test_integration_select.py | 457 | def test_integration_select_default_namespace_subquery_in_from(self): |
| LOW | tests/unit/planner/test_integration_select.py | 511 | def test_native_query_no_sub_select(self): |
| LOW | tests/unit/planner/test_integration_select.py | 564 | def test_select_from_table_subselect(self): |
| LOW | tests/unit/planner/test_integration_select.py | 596 | def test_select_from_table_subselect_api_integration(self): |
| LOW | tests/unit/planner/test_integration_select.py | 641 | def test_select_from_table_subselect_sql_integration(self): |
| LOW | tests/unit/planner/test_integration_select.py | 667 | def test_select_from_single_integration(self): |
| LOW | tests/unit/planner/test_integration_select.py | 714 | def test_delete_from_table_subselect_api_integration(self): |
| LOW | tests/unit/planner/test_integration_select.py | 747 | def test_delete_from_table_subselect_sql_integration(self): |
| LOW | tests/unit/planner/test_integration_select.py | 775 | def test_delete_from_table_subselect_sql_different_integration(self): |
| LOW | tests/unit/planner/test_integration_select.py | 837 | def test_select_with_user_functions(self): |
| LOW | tests/unit/planner/test_integration_select.py | 869 | def test_select_with_mindsdb_functions(self): |
| LOW | tests/unit/planner/test_join_tables.py | 87 | def test_join_tables_where_plan(self): |
| LOW | tests/unit/planner/test_join_tables.py | 204 | def test_join_tables_plan_groupby(self): |
| LOW | tests/unit/planner/test_join_tables.py | 263 | def test_join_tables_plan_limit_offset(self): |
| LOW | tests/unit/planner/test_join_tables.py | 321 | def test_join_tables_plan_order_by(self): |
| 1186 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/unit/executor_test_base.py | 268 | except Exception as e: |
| LOW | tests/unit/executor_test_base.py | 463 | except Exception: |
| LOW | tests/unit/render/test_from_parser.py | 103 | except Exception as e: |
| LOW | tests/unit/dummy_llm_handler/__init__.py | 9 | except Exception as e: |
| LOW | tests/unit/various/test_data_handlers_cache.py | 59 | except Exception: |
| MEDIUM | tests/unit/various/test_data_handlers_cache.py | 56 | def first_key(): |
| LOW | tests/unit/various/test_json_storage.py | 37 | except Exception as e: |
| LOW | tests/unit/executor/test_executor.py | 602 | except Exception as e: |
| LOW | tests/unit/executor/test_knowledge_base.py | 151 | except Exception: |
| LOW | tests/unit/executor/test_knowledge_base.py | 156 | except Exception: |
| MEDIUM | tests/unit/executor/test_knowledge_base.py | 148 | def _drop_storage_db(self, db_name): |
| LOW | tests/unit/dummy_ml_handler/__init__.py | 9 | except Exception as e: |
| LOW | …nit/handlers/community_handlers/test_access_handler.py | 481 | except Exception as e: |
| LOW | tests/integration/conftest.py | 132 | except Exception: |
| LOW | tests/integration/conftest.py | 156 | except Exception: |
| LOW | tests/integration/conftest.py | 163 | except Exception: |
| LOW | tests/integration/flows/test_mysql_api.py | 170 | except Exception: |
| LOW | tests/integration/flows/test_http.py | 240 | except Exception: |
| MEDIUM | tests/integration/flows/test_http.py | 241 | print(f"Error in query: {query}") |
| LOW | tests/integration/flows/test_mysql_api_extended.py | 272 | except Exception: |
| LOW | tests/integration/flows/test_mysql_api_extended.py | 642 | except Exception: |
| LOW | tests/integration/flows/test_mysql_api_extended.py | 649 | except Exception: |
| LOW | tests/integration/flows/test_mysql_api_extended.py | 72 | except Exception: |
| LOW | tests/integration/flows/test_mysql_api_extended.py | 80 | except Exception: |
| LOW | tests/integration/flows/test_mysql_api_extended.py | 128 | except Exception: |
| LOW | tests/integration/flows/test_mysql_api_extended.py | 556 | except Exception: |
| LOW | tests/integration/flows/test_mysql_api_extended.py | 616 | except Exception: |
| LOW | tests/integration/flows/test_mysql_api_extended.py | 628 | except Exception: |
| LOW | tests/integration/flows/test_mysql_api_extended.py | 596 | except Exception: |
| LOW | tests/integration/flows/test_knowledge_base.py | 160 | except Exception: |
| LOW | tests/integration/flows/test_knowledge_base.py | 167 | except Exception: |
| LOW | tests/integration/flows/test_knowledge_base.py | 173 | except Exception: |
| LOW | tests/integration/flows/test_knowledge_base.py | 177 | except Exception: |
| LOW | mindsdb/__main__.py | 51 | except Exception: |
| LOW | mindsdb/__main__.py | 148 | except Exception: |
| LOW | mindsdb/__main__.py | 179 | except Exception as e: |
| LOW | mindsdb/__main__.py | 265 | except Exception: |
| LOW | mindsdb/__main__.py | 330 | except Exception as e: |
| LOW | mindsdb/__main__.py | 406 | except Exception: |
| LOW | mindsdb/__main__.py | 415 | except Exception: |
| LOW | mindsdb/__main__.py | 421 | except Exception: |
| LOW | mindsdb/__main__.py | 448 | except Exception: |
| LOW | mindsdb/metrics/metrics.py | 37 | except Exception as e: |
| LOW | mindsdb/integrations/libs/vectordatabase_handler.py | 260 | except Exception: |
| LOW | mindsdb/integrations/libs/vectordatabase_handler.py | 519 | except Exception as e: |
| LOW | mindsdb/integrations/libs/vectordatabase_handler.py | 655 | except Exception: |
| LOW | mindsdb/integrations/libs/api_handler.py | 709 | except Exception as e: |
| LOW | mindsdb/integrations/libs/api_handler.py | 776 | except Exception: |
| LOW | mindsdb/integrations/libs/api_handler.py | 809 | except Exception: |
| LOW | mindsdb/integrations/libs/api_handler.py | 843 | except Exception: |
| LOW | mindsdb/integrations/libs/api_handler.py | 879 | except Exception: |
| LOW | mindsdb/integrations/libs/api_handler.py | 914 | except Exception: |
| LOW | mindsdb/integrations/libs/process_cache.py | 170 | except Exception as e: |
| LOW | mindsdb/integrations/libs/response.py | 589 | except Exception as e: |
| MEDIUM | mindsdb/integrations/libs/response.py | 584 | def to_json(self): |
| LOW | mindsdb/integrations/libs/ml_exec_base.py | 46 | except Exception: |
| LOW | mindsdb/integrations/libs/ml_exec_base.py | 439 | except Exception as e: |
| LOW | mindsdb/integrations/libs/passthrough.py | 415 | except Exception: |
| LOW | mindsdb/integrations/libs/passthrough.py | 449 | except Exception as e: # noqa: BLE001 |
| LOW | mindsdb/integrations/libs/passthrough.py | 456 | except Exception: |
| 407 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | tests/unit/executor/test_project_structure.py | 0 | select m.* from dummy_data.tasks as t join proj.task_model as m |
| HIGH | tests/unit/executor/test_project_structure.py | 0 | select m.* from dummy_data.tasks as t join proj.task_model as m |
| HIGH | tests/unit/executor/test_handler_metrics.py | 0 | select m.* from dummy_data.tasks as t join proj.task_model as m |
| HIGH | tests/unit/executor/test_base_queires.py | 0 | create model mindsdb.pred predict p using engine='dummy_ml', join_learn_process=true |
| HIGH | tests/unit/executor/test_models.py | 0 | create model mindsdb.pred predict p using engine='dummy_ml', join_learn_process=true |
| HIGH | tests/unit/executor/test_models.py | 0 | create model mindsdb.pred predict p using engine='dummy_ml', join_learn_process=true |
| HIGH | tests/unit/executor/test_executor.py | 0 | select t.t as t0, p.* from pg.tasks t join mindsdb.task_model p where t.t > latest |
| HIGH | tests/unit/executor/test_executor.py | 0 | select t.t as t0, p.* from pg.tasks t join mindsdb.task_model p where t.t > latest |
| HIGH | tests/unit/executor/test_executor.py | 0 | select t.t as t0, p.* from pg.tasks t join mindsdb.task_model p where t.t > latest |
| HIGH | tests/unit/executor/test_knowledge_base.py | 0 | insert into kb_part select id, english from pg.ral using batch_size=20, track_column=id |
| HIGH | tests/unit/executor/test_knowledge_base.py | 0 | insert into kb_part select id, english from pg.ral using batch_size=20, track_column=id |
| HIGH | tests/unit/executor/test_knowledge_base.py | 0 | insert into kb_part select id, english from pg.ral using batch_size=20, track_column=id |
| HIGH | tests/unit/ml_handlers/test_openai.py | 0 | test if model describe returns the expected result. |
| HIGH | tests/unit/ml_handlers/test_openai.py | 0 | test if model describe returns the expected result. |
| HIGH | tests/unit/ml_handlers/test_openai.py | 0 | test if model describe returns the expected result. |
| HIGH | tests/unit/handlers/test_snowflake.py | 0 | select column_name, data_type, ordinal_position, column_default, is_nullable, character_maximum_length, character_octet_ |
| HIGH | tests/unit/handlers/test_timescaledb.py | 0 | select column_name, data_type, ordinal_position, column_default, is_nullable, character_maximum_length, character_octet_ |
| HIGH | tests/unit/handlers/test_postgres.py | 0 | select column_name, data_type, ordinal_position, column_default, is_nullable, character_maximum_length, character_octet_ |
| HIGH | tests/unit/handlers/test_snowflake.py | 0 | tests that connect method raises valueerror when required connection parameters are missing |
| HIGH | tests/unit/handlers/test_oracle.py | 0 | tests that connect method raises valueerror when required connection parameters are missing |
| HIGH | tests/unit/handlers/test_mssql.py | 0 | tests that connect method raises valueerror when required connection parameters are missing |
| HIGH | tests/unit/handlers/test_snowflake.py | 0 | tests the disconnect method to ensure it correctly closes connections |
| HIGH | tests/unit/handlers/test_oracle.py | 0 | tests the disconnect method to ensure it correctly closes connections |
| HIGH | tests/unit/handlers/test_mysql.py | 0 | tests the disconnect method to ensure it correctly closes connections |
| HIGH | tests/unit/handlers/test_mssql.py | 0 | tests the disconnect method to ensure it correctly closes connections |
| HIGH | tests/unit/handlers/test_postgres.py | 0 | tests the disconnect method to ensure it correctly closes connections |
| HIGH | tests/unit/handlers/test_snowflake.py | 0 | tests the `native_query` method to ensure it properly handles and returns database errors |
| HIGH | tests/unit/handlers/test_mysql.py | 0 | tests the `native_query` method to ensure it properly handles and returns database errors |
| HIGH | tests/unit/handlers/test_mssql.py | 0 | tests the `native_query` method to ensure it properly handles and returns database errors |
| HIGH | tests/unit/handlers/test_postgres.py | 0 | tests the `native_query` method to ensure it properly handles and returns database errors |
| HIGH | tests/unit/handlers/test_snowflake.py | 0 | tests the query method to ensure it correctly converts astnode to sql and calls native_query |
| HIGH | tests/unit/handlers/test_mysql.py | 0 | tests the query method to ensure it correctly converts astnode to sql and calls native_query |
| HIGH | tests/unit/handlers/test_mssql.py | 0 | tests the query method to ensure it correctly converts astnode to sql and calls native_query |
| HIGH | tests/unit/handlers/test_mysql.py | 0 | select table_schema as table_schema, table_name as table_name, table_type as table_type from information_schema.tables w |
| HIGH | tests/unit/handlers/test_mariadb.py | 0 | select table_schema as table_schema, table_name as table_name, table_type as table_type from information_schema.tables w |
| HIGH | …b/integrations/handlers/mysql_handler/mysql_handler.py | 0 | select table_schema as table_schema, table_name as table_name, table_type as table_type from information_schema.tables w |
| HIGH | tests/unit/handlers/test_salesforce.py | 0 | test that the `check_connection` method returns a statusresponse object and accurately reflects the connection status on |
| HIGH | …ts/unit/handlers/community_handlers/test_confluence.py | 0 | test that the `check_connection` method returns a statusresponse object and accurately reflects the connection status on |
| HIGH | tests/unit/handlers/community_handlers/test_s3.py | 0 | test that the `check_connection` method returns a statusresponse object and accurately reflects the connection status on |
| HIGH | tests/integration/flows/test_mysql_api_extended.py | 0 | create knowledge_base {kb_name} using embedding_model = {{"provider": "openai", "model_name": "{embedding_model}", "api_ |
| HIGH | tests/integration/flows/test_mysql_api_extended.py | 0 | create knowledge_base {kb_name} using embedding_model = {{"provider": "openai", "model_name": "{embedding_model}", "api_ |
| HIGH | tests/integration/flows/test_mysql_api_extended.py | 0 | create knowledge_base {kb_name} using embedding_model = {{"provider": "openai", "model_name": "{embedding_model}", "api_ |
| HIGH | mindsdb/integrations/libs/api_handler.py | 0 | retrieves column metadata for the specified tables (or all tables if no list is provided). args: table_names (list): a l |
| HIGH | …grations/handlers/netsuite_handler/netsuite_handler.py | 0 | retrieves column metadata for the specified tables (or all tables if no list is provided). args: table_names (list): a l |
| HIGH | …grations/handlers/bigquery_handler/bigquery_handler.py | 0 | retrieves column metadata for the specified tables (or all tables if no list is provided). args: table_names (list): a l |
| HIGH | …ions/handlers/databricks_handler/databricks_handler.py | 0 | retrieves column metadata for the specified tables (or all tables if no list is provided). args: table_names (list): a l |
| HIGH | …b/integrations/handlers/mssql_handler/mssql_handler.py | 0 | retrieves column metadata for the specified tables (or all tables if no list is provided). args: table_names (list): a l |
| HIGH | …b/integrations/handlers/mysql_handler/mysql_handler.py | 0 | retrieves column metadata for the specified tables (or all tables if no list is provided). args: table_names (list): a l |
| HIGH | …grations/handlers/postgres_handler/postgres_handler.py | 0 | retrieves column metadata for the specified tables (or all tables if no list is provided). args: table_names (list): a l |
| HIGH | …integrations/handlers/oracle_handler/oracle_handler.py | 0 | handle query execution errors with appropriate logging and rollback. args: e: the exception that was raised query: the s |
| HIGH | …b/integrations/handlers/mysql_handler/mysql_handler.py | 0 | handle query execution errors with appropriate logging and rollback. args: e: the exception that was raised query: the s |
| HIGH | …grations/handlers/postgres_handler/postgres_handler.py | 0 | handle query execution errors with appropriate logging and rollback. args: e: the exception that was raised query: the s |
| HIGH | …integrations/handlers/oracle_handler/oracle_handler.py | 0 | executes a sql query represented by an astnode and retrieves the data. args: query (astnode): an astnode representing th |
| HIGH | …grations/handlers/bigquery_handler/bigquery_handler.py | 0 | executes a sql query represented by an astnode and retrieves the data. args: query (astnode): an astnode representing th |
| HIGH | …b/integrations/handlers/mssql_handler/mssql_handler.py | 0 | executes a sql query represented by an astnode and retrieves the data. args: query (astnode): an astnode representing th |
| HIGH | …grations/handlers/bigquery_handler/bigquery_handler.py | 0 | retrieves primary key information for the specified tables (or all tables if no list is provided). args: table_names (li |
| HIGH | …b/integrations/handlers/mssql_handler/mssql_handler.py | 0 | retrieves primary key information for the specified tables (or all tables if no list is provided). args: table_names (li |
| HIGH | …b/integrations/handlers/mysql_handler/mysql_handler.py | 0 | retrieves primary key information for the specified tables (or all tables if no list is provided). args: table_names (li |
| HIGH | …grations/handlers/postgres_handler/postgres_handler.py | 0 | retrieves primary key information for the specified tables (or all tables if no list is provided). args: table_names (li |
| HIGH | …grations/handlers/bigquery_handler/bigquery_handler.py | 0 | retrieves foreign key information for the specified tables (or all tables if no list is provided). args: table_names (li |
| 29 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | tests/unit/api/mcp/test_resources.py | 136 | SC.return_value.integration_controller.get_data_handler.return_value.get_columns.assert_called_once_with( |
| CRITICAL | tests/unit/handlers/test_hubspot.py | 715 | mock_hubspot_client.crm.companies.search_api.do_search.assert_called_once_with( |
| CRITICAL | tests/unit/handlers/test_hubspot.py | 882 | mock_hubspot_client.crm.companies.search_api.do_search.assert_called() |
| CRITICAL | tests/unit/handlers/test_hubspot.py | 914 | mock_hubspot_client.crm.contacts.search_api.do_search.assert_called() |
| CRITICAL | tests/unit/handlers/test_hubspot.py | 949 | mock_hubspot_client.crm.deals.search_api.do_search.assert_called() |
| CRITICAL | tests/unit/handlers/test_hubspot.py | 1025 | mock_hubspot_client.crm.companies.search_api.do_search.assert_called() |
| CRITICAL | tests/unit/handlers/test_salesforce.py | 420 | handler.connection.sobjects.Account.describe.assert_called_once() |
| CRITICAL | …tegrations/handlers/hubspot_handler/hubspot_handler.py | 363 | self.connection.crm.objects.basic_api.get_page( |
| CRITICAL | …tegrations/handlers/hubspot_handler/hubspot_handler.py | 701 | result = self.connection.crm.objects.search_api.do_search( |
| CRITICAL | …tegrations/handlers/hubspot_handler/hubspot_handler.py | 735 | page = self.connection.crm.objects.basic_api.get_page( |
| CRITICAL | …ntegrations/handlers/hubspot_handler/hubspot_tables.py | 3250 | created_tasks = hubspot.crm.objects.tasks.batch_api.create( |
| CRITICAL | …ntegrations/handlers/hubspot_handler/hubspot_tables.py | 3266 | updated = hubspot.crm.objects.tasks.batch_api.update( |
| CRITICAL | …ntegrations/handlers/hubspot_handler/hubspot_tables.py | 3278 | hubspot.crm.objects.tasks.batch_api.archive(batch_input_simple_public_object_id=batch_input) |
| CRITICAL | …ntegrations/handlers/hubspot_handler/hubspot_tables.py | 3507 | created_calls = hubspot.crm.objects.calls.batch_api.create( |
| CRITICAL | …ntegrations/handlers/hubspot_handler/hubspot_tables.py | 3523 | updated = hubspot.crm.objects.calls.batch_api.update( |
| CRITICAL | …ntegrations/handlers/hubspot_handler/hubspot_tables.py | 3535 | hubspot.crm.objects.calls.batch_api.archive(batch_input_simple_public_object_id=batch_input) |
| CRITICAL | …ntegrations/handlers/hubspot_handler/hubspot_tables.py | 3764 | created_emails = hubspot.crm.objects.emails.batch_api.create( |
| CRITICAL | …ntegrations/handlers/hubspot_handler/hubspot_tables.py | 3780 | updated = hubspot.crm.objects.emails.batch_api.update( |
| CRITICAL | …ntegrations/handlers/hubspot_handler/hubspot_tables.py | 3792 | hubspot.crm.objects.emails.batch_api.archive(batch_input_simple_public_object_id=batch_input) |
| CRITICAL | …ntegrations/handlers/hubspot_handler/hubspot_tables.py | 4021 | created_meetings = hubspot.crm.objects.meetings.batch_api.create( |
| CRITICAL | …ntegrations/handlers/hubspot_handler/hubspot_tables.py | 4037 | updated = hubspot.crm.objects.meetings.batch_api.update( |
| CRITICAL | …ntegrations/handlers/hubspot_handler/hubspot_tables.py | 4049 | hubspot.crm.objects.meetings.batch_api.archive(batch_input_simple_public_object_id=batch_input) |
| CRITICAL | …ntegrations/handlers/hubspot_handler/hubspot_tables.py | 4273 | created_notes = hubspot.crm.objects.notes.batch_api.create( |
| CRITICAL | …ntegrations/handlers/hubspot_handler/hubspot_tables.py | 4289 | updated = hubspot.crm.objects.notes.batch_api.update( |
| CRITICAL | …ntegrations/handlers/hubspot_handler/hubspot_tables.py | 4301 | hubspot.crm.objects.notes.batch_api.archive(batch_input_simple_public_object_id=batch_input) |
| CRITICAL | …ntegrations/handlers/hubspot_handler/hubspot_tables.py | 4526 | created_leads = hubspot.crm.objects.leads.batch_api.create( |
| CRITICAL | …ntegrations/handlers/hubspot_handler/hubspot_tables.py | 4542 | updated = hubspot.crm.objects.leads.batch_api.update( |
| CRITICAL | …ntegrations/handlers/hubspot_handler/hubspot_tables.py | 4554 | hubspot.crm.objects.leads.batch_api.archive(batch_input_simple_public_object_id=batch_input) |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | mindsdb/integrations/libs/response.py | 136 | Safely concatenates multiple pandas DataFrames while checking available memory. If the estimated memory required for |
| HIGH | …db/integrations/utilities/community_handler_fetcher.py | 101 | Fetch all files in a Git tree recursively, preserving directory structure. Uses the Git Trees API with ?recursive=1 |
| HIGH | …db/integrations/utilities/community_handler_fetcher.py | 161 | Fetch a single community handler directory from GitHub into storage_dir. Downloads the full directory tree for |
| HIGH | …integrations/handlers/oracle_handler/oracle_handler.py | 497 | Retrieves column details for a specified table in the Oracle database. Args: table_name (s |
| HIGH | …/integrations/handlers/web_handler/urlcrawl_helpers.py | 20 | Convert a PDF document to Markdown text. Args: response: the response object containing the PDF data |
| HIGH | …/integrations/handlers/web_handler/urlcrawl_helpers.py | 83 | Fetch all website links from a list of URLs. Args: urls (list): a list of URLs to fetch links from |
| HIGH | …tegrations/handlers/bedrock_handler/bedrock_handler.py | 42 | Creates a model by validating the model configuration and saving it to the storage. Args: |
| HIGH | …tegrations/handlers/bedrock_handler/bedrock_handler.py | 77 | Makes predictions using a model by invoking the Amazon Bedrock API. Args: df (pd.DataFrame |
| HIGH | …grations/handlers/bigquery_handler/bigquery_handler.py | 185 | Retrieves column details for a specified table in the configured dataset of the BigQuery warehouse. Ar |
| HIGH | …ations/handlers/snowflake_handler/snowflake_handler.py | 290 | Execute a SQL query and yield results in batches. Args: query (str): The SQL query to execute. |
| HIGH | …ations/handlers/snowflake_handler/snowflake_handler.py | 403 | Retrieves column details for a specified table in the Snowflake account. Args: table_name |
| HIGH | …ions/handlers/databricks_handler/databricks_handler.py | 136 | Transform INTERVAL literals in the SQL query to be compatible with Databricks SQL syntax. Transformation examples: |
| HIGH | …ions/handlers/databricks_handler/databricks_handler.py | 475 | Retrieves column details for a specified table in the Databricks workspace. Args: table_na |
| HIGH | …b/integrations/handlers/mssql_handler/mssql_handler.py | 460 | Retrieves column details for a specified table in the Microsoft SQL Server database. Args: |
| HIGH | …integrations/handlers/openai_handler/openai_handler.py | 78 | Validate the OpenAI API credentials on engine creation. Args: connection_args (Dict): Para |
| HIGH | …integrations/handlers/openai_handler/openai_handler.py | 107 | Check the OpenAI engine client connection by retrieving a model. Args: client (openai.Open |
| HIGH | …integrations/handlers/openai_handler/openai_handler.py | 130 | Validate the OpenAI API credentials on model creation. Args: target (Text): Target column |
| HIGH | …integrations/handlers/openai_handler/openai_handler.py | 217 | Create a model by connecting to the OpenAI API. Args: target (Text): Target column name. |
| HIGH | …integrations/handlers/openai_handler/openai_handler.py | 264 | Make predictions using a model connected to the OpenAI API. Args: df (pd.DataFrame): Input |
| HIGH | …integrations/handlers/openai_handler/openai_handler.py | 752 | Submit a request to the image generation endpoint of the OpenAI API. This method consists of a |
| HIGH | …integrations/handlers/openai_handler/openai_handler.py | 875 | Fine-tune OpenAI GPT models via a MindsDB model connected to the OpenAI API. Steps are roughly: |
| HIGH | …integrations/handlers/openai_handler/openai_handler.py | 1070 | Submit a fine-tuning job via the OpenAI API. This method handles requests to both the legacy and new en |
| HIGH | …integrations/handlers/openai_handler/openai_handler.py | 1095 | Check the status of a fine-tuning job via the OpenAI API. Args: job_id (Text): |
| HIGH | …sdb/integrations/handlers/groq_handler/groq_handler.py | 30 | Check the Groq engine client connection by listing models. Args: client (OpenAI): OpenAI c |
| HIGH | …sdb/integrations/handlers/groq_handler/groq_handler.py | 52 | Validate the Groq API credentials on engine creation. Args: connection_args (dict): Connec |
| HIGH | …sdb/integrations/handlers/groq_handler/groq_handler.py | 74 | Validate the Groq API credentials on model creation. Args: target (str): Target column, no |
| HIGH | …grations/handlers/postgres_handler/postgres_handler.py | 514 | Retrieves column details for a specified table in the PostgreSQL database. Args: table_nam |
| HIGH | mindsdb/utilities/functions.py | 92 | Splits a model identifier into its database, model name, and version components. The identifier may contain on |
| HIGH | mindsdb/utilities/config.py | 17 | Read an environment variable and return its value as a boolean. Args: env_name (str): name of the environme |
| HIGH | mindsdb/utilities/security.py | 37 | Splits the URL into scheme and netloc. Args: url (str): The URL to split. Returns: tuple[ |
| HIGH | mindsdb/utilities/security.py | 56 | Checks if the provided URL(s) is/are from an allowed host. This function parses the URL(s) and checks the orig |
| HIGH | mindsdb/api/executor/command_executor.py | 160 | Extract a single-part name from an Identifier object, optionally ensuring it is lowercase. Args: identifier |
| HIGH | mindsdb/api/executor/command_executor.py | 187 | Extract a (database, name) tuple from an Identifier object that may have one or two parts. Args: identifier |
| HIGH | mindsdb/api/executor/command_executor.py | 1172 | Handles the `CREATE ML_ENGINE` command, which creates a new ML integration (engine) in the system. Args: |
| HIGH | mindsdb/api/executor/command_executor.py | 1237 | Handles the `DROP ML_ENGINE` command, which removes an ML integration (engine) from the system. Args: |
| HIGH | mindsdb/api/executor/command_executor.py | 1287 | Drop a database (project or integration) by name. Args: statement (DropDatabase | DropDatasource): |
| HIGH | mindsdb/api/executor/command_executor.py | 1390 | Drop one or more views from the specified database/project. Args: statement (DropView): The parsed |
| HIGH | mindsdb/api/executor/command_executor.py | 1986 | Handles the DROP MODEL (or DROP PREDICTOR) command, which removes a model or a specific model version from a pro |
| HIGH | …api/executor/datahub/datanodes/integration_datanode.py | 256 | Execute a query against the integration data source. This method processes SQL queries either as ASTNode object |
| HIGH | mindsdb/api/executor/sql_query/result_set.py | 164 | Create ResultSet from dataframe and dictionary of columns Args: df (pd.DataFrame): dataframe |
| HIGH | …db/api/executor/utilities/mysql_to_duckdb_functions.py | 60 | Replace MySQL's LOCATE (or INSTR) call to DuckDB's STRPOS call Example: LOCATE('bar', 'foobarbar') => STRPO |
| HIGH | …db/api/executor/utilities/mysql_to_duckdb_functions.py | 86 | Check MySQL's UNHEX function call arguments to ensure they are strings, because DuckDB's UNHEX accepts only string a |
| HIGH | …db/api/executor/utilities/mysql_to_duckdb_functions.py | 105 | Adapt MySQL's FORMAT function to DuckDB's FORMAT function Example: FORMAT(1234567.89, 0) => FORMAT('{:,.0f} |
| HIGH | …db/api/executor/utilities/mysql_to_duckdb_functions.py | 143 | Adapt MySQL's SHA2 function to DuckDB's SHA256 function Example: SHA2('test', 256) => SHA256('test') A |
| HIGH | …db/api/executor/utilities/mysql_to_duckdb_functions.py | 180 | Adapt MySQL's REGEXP_SUBSTR function to DuckDB's REGEXP_EXTRACT function Example: REGEXP_SUBSTR('foobarbar' |
| HIGH | …db/api/executor/utilities/mysql_to_duckdb_functions.py | 207 | Adapt MySQL's SUBSTRING_INDEX function to DuckDB's SPLIT_PART function Example: SUBSTRING_INDEX('a.b.c.d', |
| HIGH | mindsdb/api/executor/utilities/sql.py | 58 | Duckdb need to infer column types if column.dtype == object. By default it take 1000 rows, but that may be not suffi |
| HIGH | mindsdb/interfaces/database/database.py | 22 | Delete a database (project or integration) by name. Args: name (str): The name of the database to d |
| HIGH | mindsdb/interfaces/database/projects.py | 105 | Remove a view with the specified name from the current project. Args: name (str): The name of the v |
| HIGH | mindsdb/interfaces/database/projects.py | 596 | Get a project by id or name. Args: id (int | None, optional): The id of the project to retrieve. Ca |
| HIGH | mindsdb/interfaces/database/integrations.py | 162 | Delete an integration by name. Args: name (str): The name of the integration to delete. |
| HIGH | mindsdb/interfaces/database/views.py | 42 | Update the SQL query of an existing view in the specified project. Args: name (str): The name of th |
| HIGH | mindsdb/interfaces/database/views.py | 76 | Remove a view with the specified name from the given project. Args: name (str): The name of the vie |
| HIGH | mindsdb/interfaces/agents/chart_agent.py | 229 | Generate Chart.js configuration, execute data query, and populate datasets. Args: query: SQ |
| HIGH | mindsdb/interfaces/agents/agents_controller.py | 196 | Adds an agent to the database. Parameters: name (str): The name of the new agent |
| HIGH | mindsdb/interfaces/agents/agents_controller.py | 265 | Updates an agent in the database. Parameters: agent_name (str): The name of the new agent, |
| HIGH | mindsdb/interfaces/agents/agents_controller.py | 381 | Queries an agent to get a completion. Parameters: agent (db.Agents): Existing agent to get |
| HIGH | …b/interfaces/agents/utils/pydantic_ai_model_factory.py | 201 | Create and return a Pydantic AI model instance from MindsDB args. This method creates an actual model instance |
| HIGH | mindsdb/interfaces/query_context/context_controller.py | 28 | Get the column name from a list of columns using case-insensitive search Args: columns: list of column name |
| HIGH | mindsdb/interfaces/storage/model_fs.py | 30 | Get model record by id Args: model_id (int): model id check_exists (bool): true if need |
| 1 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | setup.py | 23 | |
| LOW | setup.py | 43 | |
| LOW | tests/unit/executor_test_base.py | 170 | |
| LOW | tests/unit/executor_test_base.py | 377 | |
| LOW | tests/unit/executor_test_base.py | 419 | |
| LOW | tests/unit/planner/test_prepared_statement.py | 129 | |
| LOW | tests/unit/render/test_from_parser.py | 12 | |
| LOW | tests/unit/render/test_from_parser.py | 123 | |
| LOW | tests/unit/render/test_from_parser.py | 68 | |
| LOW | tests/unit/api/a2a/streaming_test_client.py | 12 | |
| LOW | tests/unit/api/a2a/streaming_test_client.py | 53 | |
| LOW | tests/unit/executor/test_handler_metrics.py | 7 | |
| LOW | tests/unit/executor/test_lowercase.py | 49 | |
| LOW | tests/unit/handlers/test_file.py | 405 | |
| LOW | tests/integration/flows/test_mysql_api.py | 48 | |
| LOW | tests/integration/flows/test_mysql_api.py | 115 | |
| LOW | tests/integration/flows/test_mysql_api.py | 209 | |
| LOW | tests/integration/handlers/test_data_sources.py | 26 | |
| LOW | tests/integration/handlers/test_data_sources.py | 73 | |
| LOW | tests/integration/handlers/utils/helpers.py | 48 | |
| LOW | tests/scripts/check_requirements.py | 25 | |
| LOW | tests/scripts/check_requirements.py | 350 | |
| LOW | tests/scripts/check_requirements.py | 368 | |
| LOW | mindsdb/__main__.py | 133 | |
| LOW | mindsdb/__main__.py | 160 | |
| LOW | mindsdb/__main__.py | 581 | |
| LOW | mindsdb/integrations/libs/vectordatabase_handler.py | 103 | |
| LOW | mindsdb/integrations/libs/vectordatabase_handler.py | 148 | |
| LOW | mindsdb/integrations/libs/vectordatabase_handler.py | 108 | |
| LOW | mindsdb/integrations/libs/api_handler.py | 27 | |
| LOW | mindsdb/integrations/libs/api_handler.py | 150 | |
| LOW | mindsdb/integrations/libs/api_handler.py | 454 | |
| LOW | mindsdb/integrations/libs/api_handler.py | 633 | |
| LOW | mindsdb/integrations/libs/api_handler.py | 666 | |
| LOW | mindsdb/integrations/libs/api_handler.py | 758 | |
| LOW | mindsdb/integrations/libs/api_handler.py | 792 | |
| LOW | mindsdb/integrations/libs/api_handler.py | 826 | |
| LOW | mindsdb/integrations/libs/api_handler.py | 862 | |
| LOW | mindsdb/integrations/libs/api_handler.py | 894 | |
| LOW | mindsdb/integrations/libs/process_cache.py | 239 | |
| LOW | mindsdb/integrations/libs/process_cache.py | 363 | |
| LOW | mindsdb/integrations/libs/api_handler_generator.py | 250 | |
| LOW | mindsdb/integrations/libs/api_handler_generator.py | 310 | |
| LOW | mindsdb/integrations/libs/api_handler_generator.py | 494 | |
| LOW | mindsdb/integrations/libs/base.py | 218 | |
| LOW | …/integrations/libs/ml_handler_process/learn_process.py | 28 | |
| LOW | mindsdb/integrations/utilities/pydantic_utils.py | 74 | |
| LOW | mindsdb/integrations/utilities/pydantic_utils.py | 105 | |
| LOW | mindsdb/integrations/utilities/pydantic_utils.py | 127 | |
| LOW | mindsdb/integrations/utilities/pydantic_utils.py | 156 | |
| LOW | mindsdb/integrations/utilities/query_traversal.py | 4 | |
| LOW | mindsdb/integrations/utilities/sql_utils.py | 131 | |
| LOW | mindsdb/integrations/utilities/sql_utils.py | 197 | |
| LOW | mindsdb/integrations/utilities/sql_utils.py | 244 | |
| LOW | mindsdb/integrations/utilities/sql_utils.py | 329 | |
| LOW | mindsdb/integrations/utilities/sql_utils.py | 367 | |
| LOW | mindsdb/integrations/utilities/sql_utils.py | 400 | |
| LOW | mindsdb/integrations/utilities/sql_utils.py | 430 | |
| LOW | mindsdb/integrations/utilities/sql_utils.py | 138 | |
| LOW | mindsdb/integrations/utilities/sql_utils.py | 411 | |
| 214 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | docker-compose.yml | 48 | LANGFUSE_HOST: "http://langfuse:3000" # Define the host for langfuse |
| MEDIUM | docker-compose.yml | 49 | LANGFUSE_PUBLIC_KEY: "pk-lf-1234567890" # Define the public key for langfuse |
| MEDIUM | docker-compose.yml | 50 | LANGFUSE_SECRET_KEY: "sk-lf-1234567890" # Define the secret key for langfuse |
| MEDIUM | docker-compose.yml | 57 | OTEL_EXPORTER_TYPE: "console" # or "console" # Define the exporter type (console/otlp) |
| MEDIUM | docker-compose.yml | 58 | # OTEL_EXPORTER_PROTOCOL: "grpc" # or "http" # Define the protocol for the otlp exporter. |
| MEDIUM | docker-compose.yml | 59 | # OTEL_OTLP_ENDPOINT: "http://otel-collector:4317" # Define the endpoint for the otlp exporter. |
| MEDIUM | docker-compose.yml | 63 | OTEL_SERVICE_NAME: "mindsdb" # Define the service name |
| MEDIUM | docker-compose.yml | 64 | OTEL_SERVICE_INSTANCE_ID: "mindsdb-instance" # Define the service instance id |
| MEDIUM | docker-compose.yml | 65 | OTEL_SERVICE_ENVIRONMENT: "local" # Define the service environment |
| MEDIUM | docker-compose.yml | 66 | OTEL_SERVICE_RELEASE: "local" # Define the service release |
| MEDIUM | docker-compose.yml | 67 | OTEL_TRACE_SAMPLE_RATE: "1.0" # Define the trace sample rate |
| MEDIUM | docker-compose.yml | 68 | OTEL_EXTRA_ATTRIBUTES: "" # Define the extra attributes |
| MEDIUM | tests/unit/various/test_json_chunker.py | 60 | # Create a nested JSON object |
| MEDIUM | tests/unit/various/test_json_chunker.py | 144 | # Create a JSON object |
| MEDIUM | tests/unit/various/test_json_chunker.py | 295 | # Create a nested JSON object |
| MEDIUM | tests/unit/various/test_json_chunker.py | 324 | # Create a nested JSON object |
| MEDIUM | tests/unit/various/test_json_chunker.py | 436 | # Create a document |
| MEDIUM | tests/unit/various/test_json_chunker.py | 446 | # Create the JSON chunker with the config |
| MEDIUM | tests/unit/various/test_json_chunker.py | 468 | # Create a document |
| MEDIUM | tests/unit/various/test_json_chunker.py | 478 | # Create the JSON chunker with the config |
| MEDIUM | tests/unit/various/test_json_chunker.py | 506 | # Create a document |
| MEDIUM | tests/unit/various/test_json_chunker.py | 516 | # Create the JSON chunker with the config |
| MEDIUM | tests/unit/various/test_json_chunker.py | 17 | # Create a simple JSON object |
| MEDIUM | tests/unit/various/test_json_chunker.py | 103 | # Create a JSON object |
| MEDIUM | tests/unit/various/test_json_chunker.py | 181 | # Create a utility bill JSON object based on the provided schema |
| MEDIUM | tests/unit/various/test_json_chunker.py | 279 | # Create an invalid JSON document |
| MEDIUM | tests/unit/various/test_json_chunker.py | 360 | # Create a simple JSON object |
| MEDIUM | tests/unit/various/test_json_chunker.py | 397 | # Create a document with the CV data |
| MEDIUM | tests/unit/various/test_json_chunker.py | 415 | # Create the JSON chunker with the config |
| MEDIUM | tests/unit/various/test_document_preprocessor.py | 558 | # Create a pre-defined chunk with the correct metadata |
| MEDIUM | tests/unit/various/test_document_preprocessor.py | 608 | # Create a mock async LLM |
| MEDIUM | tests/unit/various/test_document_preprocessor.py | 613 | # Create a mock with async support |
| MEDIUM | tests/unit/various/test_document_preprocessor.py | 631 | # Create a mock with async support |
| MEDIUM | tests/unit/api/http/files_test.py | 158 | # Create a zip file in memory |
| MEDIUM | tests/unit/api/http/files_test.py | 181 | # Create a zip file in memory with a symlink |
| MEDIUM | tests/unit/executor/test_agent.py | 188 | # Create an agent with only provider specified - should use default LLM params |
| MEDIUM | tests/unit/executor/test_agent.py | 227 | # Create an agent with minimal syntax - should use all default LLM params |
| MEDIUM | tests/unit/ml_handlers/test_openai.py | 23 | # Define a return value for the `get_connection_args` method of the mock engine storage |
| MEDIUM | tests/unit/ml_handlers/test_openai.py | 163 | # Create a dummy DataFrame |
| MEDIUM | tests/unit/ml_handlers/test_openai.py | 179 | # Create a dummy DataFrame |
| MEDIUM | tests/unit/ml_handlers/test_openai.py | 195 | # Create a dummy DataFrame |
| MEDIUM | tests/unit/ml_handlers/test_openai.py | 209 | # Create a dummy DataFrame |
| MEDIUM | tests/unit/ml_handlers/test_openai.py | 227 | # Create a dummy DataFrame |
| MEDIUM | tests/unit/ml_handlers/test_openai.py | 615 | # Create a mock base model storage and assign it to the handler |
| MEDIUM | tests/unit/handlers/test_snowflake.py | 97 | # Create a temporary file |
| MEDIUM | tests/unit/handlers/test_salesforce.py | 185 | # Create a mock for the Contact object that will be accessed via getattr |
| MEDIUM | tests/unit/handlers/test_salesforce.py | 189 | # Create the main sobjects mock |
| MEDIUM | tests/unit/handlers/test_salesforce.py | 196 | # Create the client mock |
| MEDIUM | tests/unit/handlers/test_file.py | 28 | # Define a table to use as content for all of the file types |
| MEDIUM | tests/unit/handlers/test_file.py | 183 | # Create a temporary file to save the csv file to. |
| MEDIUM | tests/unit/handlers/test_postgres.py | 600 | # Create a fresh handler with different schema |
| MEDIUM | …sts/unused/unit/handler_tests/test_pgvector_handler.py | 37 | # Create the test database |
| MEDIUM | …unused/unit/interfaces/agents/test_api_key_handling.py | 76 | # Create an instance of AgentsController |
| MEDIUM | …unused/unit/interfaces/agents/test_api_key_handling.py | 82 | # Create a mock agent with proper params |
| MEDIUM | mindsdb/integrations/libs/api_handler.py | 681 | # Create a SELECT query to sample data |
| MEDIUM | …db/integrations/utilities/community_handler_fetcher.py | 238 | # Creating the directory, maybe can be done on init? |
| MEDIUM | …/integrations/utilities/rag/rerankers/base_reranker.py | 379 | # Create a map of 'class_1' -> probability, using token combinations |
| MEDIUM | …grations/handlers/chromadb_handler/chromadb_handler.py | 375 | df = df.copy() # Create a copy to avoid modifying the original |
| MEDIUM | …sdb/integrations/handlers/file_handler/file_handler.py | 127 | # Create a temp file to save the table |
| MEDIUM | …sdb/integrations/handlers/file_handler/file_handler.py | 130 | # Create an empty file using with the columns in the query |
| 16 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/unit/dummy_llm_handler/__init__.py | 3 | |
| LOW | tests/unit/dummy_llm_handler/__init__.py | 3 | |
| LOW | tests/unit/executor/test_api_handler.py | 15 | |
| LOW | tests/unit/executor/test_api_handler.py | 22 | |
| LOW | tests/unit/dummy_ml_handler/__init__.py | 3 | |
| LOW | tests/unit/dummy_ml_handler/__init__.py | 3 | |
| LOW | tests/unit/dummy_ml_handler/__init__.py | 4 | |
| LOW | tests/unit/dummy_ml_handler/__init__.py | 5 | |
| LOW | mindsdb/__init__.py | 1 | |
| LOW | mindsdb/__main__.py | 45 | |
| LOW | mindsdb/integrations/libs/process_cache.py | 28 | |
| LOW | mindsdb/integrations/libs/__init__.py | 1 | |
| LOW | mindsdb/integrations/libs/const.py | 34 | |
| LOW | …ndsdb/integrations/libs/ml_handler_process/__init__.py | 1 | |
| LOW | …ndsdb/integrations/libs/ml_handler_process/__init__.py | 2 | |
| LOW | …ndsdb/integrations/libs/ml_handler_process/__init__.py | 3 | |
| LOW | …ndsdb/integrations/libs/ml_handler_process/__init__.py | 4 | |
| LOW | …ndsdb/integrations/libs/ml_handler_process/__init__.py | 5 | |
| LOW | …ndsdb/integrations/libs/ml_handler_process/__init__.py | 6 | |
| LOW | …ndsdb/integrations/libs/ml_handler_process/__init__.py | 7 | |
| LOW | …ndsdb/integrations/libs/ml_handler_process/__init__.py | 8 | |
| LOW | mindsdb/integrations/utilities/time_series_utils.py | 7 | |
| LOW | …/integrations/utilities/rag/rerankers/base_reranker.py | 1 | |
| LOW | …utilities/handlers/api_utilities/microsoft/__init__.py | 1 | |
| LOW | …rations/utilities/handlers/query_utilities/__init__.py | 1 | |
| LOW | …rations/utilities/handlers/query_utilities/__init__.py | 1 | |
| LOW | …rations/utilities/handlers/query_utilities/__init__.py | 2 | |
| LOW | …rations/utilities/handlers/query_utilities/__init__.py | 3 | |
| LOW | …rations/utilities/handlers/query_utilities/__init__.py | 3 | |
| LOW | …rations/utilities/handlers/query_utilities/__init__.py | 4 | |
| LOW | …rations/utilities/handlers/query_utilities/__init__.py | 4 | |
| LOW | …ns/utilities/handlers/validation_utilities/__init__.py | 1 | |
| LOW | …s/utilities/handlers/auth_utilities/google/__init__.py | 1 | |
| LOW | …s/utilities/handlers/auth_utilities/google/__init__.py | 2 | |
| LOW | …tilities/handlers/auth_utilities/microsoft/__init__.py | 1 | |
| LOW | …tilities/handlers/auth_utilities/microsoft/__init__.py | 1 | |
| LOW | …tilities/handlers/auth_utilities/snowflake/__init__.py | 1 | |
| LOW | …ndsdb/integrations/handlers/cohere_handler/__init__.py | 1 | |
| LOW | …ndsdb/integrations/handlers/cohere_handler/__init__.py | 1 | |
| LOW | …ndsdb/integrations/handlers/oracle_handler/__init__.py | 3 | |
| LOW | …ndsdb/integrations/handlers/oracle_handler/__init__.py | 3 | |
| LOW | …ndsdb/integrations/handlers/oracle_handler/__init__.py | 4 | |
| LOW | …ndsdb/integrations/handlers/oracle_handler/__init__.py | 4 | |
| LOW | …sdb/integrations/handlers/chromadb_handler/__init__.py | 3 | |
| LOW | …sdb/integrations/handlers/chromadb_handler/__init__.py | 4 | |
| LOW | …sdb/integrations/handlers/chromadb_handler/__init__.py | 5 | |
| LOW | …sdb/integrations/handlers/chromadb_handler/__init__.py | 5 | |
| LOW | …/integrations/handlers/huggingface_handler/__init__.py | 3 | |
| LOW | …/integrations/handlers/huggingface_handler/__init__.py | 3 | |
| LOW | mindsdb/integrations/handlers/email_handler/__init__.py | 3 | |
| LOW | mindsdb/integrations/handlers/email_handler/__init__.py | 3 | |
| LOW | …ndsdb/integrations/handlers/duckdb_handler/__init__.py | 3 | |
| LOW | …ndsdb/integrations/handlers/duckdb_handler/__init__.py | 3 | |
| LOW | …ndsdb/integrations/handlers/duckdb_handler/__init__.py | 4 | |
| LOW | …ndsdb/integrations/handlers/duckdb_handler/__init__.py | 4 | |
| LOW | …sdb/integrations/handlers/redshift_handler/__init__.py | 3 | |
| LOW | …sdb/integrations/handlers/redshift_handler/__init__.py | 3 | |
| LOW | …sdb/integrations/handlers/redshift_handler/__init__.py | 4 | |
| LOW | …sdb/integrations/handlers/redshift_handler/__init__.py | 4 | |
| LOW | mindsdb/integrations/handlers/file_handler/__init__.py | 3 | |
| 151 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | tests/unit/planner/test_insert_from_select.py | 169 | assert step.from_table.equals(expected_step.from_table) |
| HIGH | tests/unit/executor/test_mongodb_handler.py | 39 | {"e": {"$ne": null}}]}}, |
| HIGH | tests/unit/executor/test_mongodb_handler.py | 93 | {"$group": {"_id": {"a": "$a"}, "total": {"$sum": "$b"}, "cnt": {"$sum": {"$cond": [{"$ne": ["$c", null] |
| HIGH | tests/unit/executor/test_knowledge_base.py | 684 | or (content is null) |
| HIGH | tests/unit/executor/test_knowledge_base.py | 715 | or (chunk_content is null) |
| HIGH | tests/unit/handlers/test_snowflake.py | 1605 | self.assertTrue(response.data_frame.equals(expected_result_df)) |
| HIGH | tests/unit/handlers/test_snowflake.py | 1669 | self.assertTrue(response.data_frame.equals(expected_result_df)) |
| HIGH | tests/unit/handlers/test_file.py | 402 | assert response.data_frame.equals(expected_df) |
| HIGH | tests/unit/handlers/test_postgres.py | 941 | '{1,null,3}', |
| HIGH | tests/unit/handlers/test_postgres.py | 942 | '{{1,2,3},{4,null,6}}', |
| HIGH | tests/unit/handlers/test_postgres.py | 943 | '{"test1", null, "test3"}', |
| HIGH | …/integrations/libs/ml_handler_process/learn_process.py | 95 | modelStorage.fileStorage.push() # FIXME |
| HIGH | …ntegrations/handlers/shopify_handler/shopify_tables.py | 228 | productsCount(limit:null) { |
| HIGH | …ntegrations/handlers/shopify_handler/shopify_tables.py | 303 | productVariantsCount(limit:null) { |
| HIGH | …ntegrations/handlers/shopify_handler/shopify_tables.py | 378 | customersCount(limit:null) { |
| HIGH | …ntegrations/handlers/shopify_handler/shopify_tables.py | 464 | ordersCount(limit:null) { |
| HIGH | …ntegrations/handlers/shopify_handler/shopify_tables.py | 721 | giftCardsCount(limit:null) { |
| HIGH | …tegrations/handlers/shopify_handler/models/products.py | 122 | "COLUMN_DESCRIPTION": "The role of the product in a combined listing. If null, then the product isn't part of an |
| HIGH | …tegrations/handlers/shopify_handler/models/products.py | 290 | "COLUMN_DESCRIPTION": "The product's URL on the online store. If null, then the product isn't published to the o |
| HIGH | …/integrations/handlers/salesforce_handler/constants.py | 63 | - NULL values: Use lowercase null, NOT NULL |
| HIGH | mindsdb/api/executor/command_executor.py | 642 | if query.fetched_data.length() > 0: |
| HIGH | mindsdb/api/executor/sql_query/result_set.py | 118 | return f"{self.__class__.__name__}({self.length()} rows, cols: {col_names})" |
| HIGH | …b/api/executor/sql_query/steps/apply_predictor_step.py | 70 | if rs.length() == 1: |
| HIGH | …b/api/executor/sql_query/steps/apply_predictor_step.py | 124 | values = range(row_id, row_id + data.length()) |
| HIGH | …b/api/executor/sql_query/steps/apply_predictor_step.py | 126 | self.context["row_id"] += data.length() |
| HIGH | mindsdb/interfaces/tabs/tabs_controller.py | 243 | file_storage.push() |
| HIGH | mindsdb/interfaces/tabs/tabs_controller.py | 276 | file_storage.push() |
| HIGH | mindsdb/interfaces/database/integrations.py | 125 | store.push() |
| HIGH | mindsdb/interfaces/agents/chart_agent.py | 144 | # Get sample values (non-null) |
| HIGH | mindsdb/interfaces/storage/fs.py | 452 | self.push(compression_level=compression_level) |
| HIGH | mindsdb/interfaces/model/functions.py | 3 | from sqlalchemy import null, func |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/unit/various/test_document_preprocessor.py | 622 | summarize=True, # Set summarize to True to only return context |
| LOW | tests/unit/various/test_document_preprocessor.py | 648 | summarize=True, # Set summarize to True to only return context |
| LOW | tests/scripts/check_requirements.py | 419 | # Check if the imported handler has a requirements.txt file. |
| LOW | mindsdb/integrations/libs/api_handler.py | 46 | # Check if it looks like a timestamp (ISO format with T and timezone) |
| LOW | mindsdb/integrations/libs/api_handler.py | 49 | # Check if it looks like a date/datetime |
| LOW | mindsdb/integrations/libs/api_handler.py | 310 | # Check if query has aggregation functions (like COUNT, SUM, etc.) |
| LOW | mindsdb/integrations/libs/api_handler.py | 640 | # Check if query has aggregations - if so, don't modify targets |
| LOW | mindsdb/integrations/utilities/date_utils.py | 34 | # Check if the parsed date is earlier than the maximum window allowed |
| LOW | mindsdb/integrations/utilities/sql_utils.py | 139 | # Check if this node is a child of an already-captured node |
| LOW | mindsdb/integrations/utilities/sql_utils.py | 377 | # Check if one side is CURRENT_DATE (function or identifier) |
| LOW | mindsdb/integrations/utilities/sql_utils.py | 384 | # Check if other side is INTERVAL |
| LOW | mindsdb/integrations/utilities/sql_utils.py | 415 | # Check if arg2 is a date expression using the same logic |
| LOW | mindsdb/integrations/utilities/sql_utils.py | 445 | # Check if arg2 is a date string (ISO format) and arg1 might be a date column |
| LOW | mindsdb/integrations/utilities/sql_utils.py | 450 | # Check if the column exists and might be a date column |
| LOW | mindsdb/integrations/utilities/sql_utils.py | 484 | # Check if arg2 is a date expression |
| LOW | …/integrations/utilities/rag/rerankers/base_reranker.py | 158 | # Check if we should stop early |
| LOW | …/integrations/utilities/rag/rerankers/base_reranker.py | 388 | # Assign weights to classes |
| LOW | …/integrations/utilities/rag/rerankers/base_reranker.py | 418 | # Check if first line has content after the fence (e.g., ```json) |
| LOW | …tegrations/utilities/rag/splitters/custom_splitters.py | 226 | # Check if this line matches any header pattern |
| LOW | …integrations/utilities/rag/loaders/document_loaders.py | 84 | # Read file as bytes first |
| LOW | …integrations/utilities/rag/loaders/document_loaders.py | 216 | # Read file as bytes first |
| LOW | …uth_utilities/microsoft/ms_graph_api_auth_utilities.py | 127 | # Check if a valid access token is already in the cache for the signed-in user. |
| LOW | …uth_utilities/microsoft/ms_graph_api_auth_utilities.py | 197 | # Check if a valid access token is already in the cache. |
| LOW | …ns/handlers/huggingface_handler/huggingface_handler.py | 109 | # Check if pipeline has already been downloaded |
| LOW | …ons/handlers/email_handler/tests/test_email_handler.py | 14 | # Check if env variables exist, if not fail the test |
| LOW | …sdb/integrations/handlers/file_handler/file_handler.py | 71 | # Check if it's a multi-part name (e.g., `file_name.sheet_name`) |
| LOW | …sdb/integrations/handlers/file_handler/file_handler.py | 105 | # Check if the table already exists or if the table name contains more than one namespace |
| LOW | …/integrations/handlers/web_handler/urlcrawl_helpers.py | 54 | # Check if there's a large vertical gap between this block and the previous one |
| LOW | …dsdb/integrations/handlers/bedrock_handler/settings.py | 218 | # Check if the model ID is valid and accessible. |
| LOW | …dsdb/integrations/handlers/bedrock_handler/settings.py | 223 | # Check if the model is suitable for the mode provided. |
| LOW | …grations/handlers/bigquery_handler/bigquery_handler.py | 108 | # Check if the dataset exists |
| LOW | …ntegrations/handlers/hubspot_handler/hubspot_tables.py | 849 | # Check if this is an IN/NOT IN operator with AST Tuple |
| LOW | …b/integrations/handlers/mssql_handler/mssql_handler.py | 283 | # Check if it's a driver not found error |
| LOW | …grations/handlers/pgvector_handler/pgvector_handler.py | 447 | # Check if old table exists |
| LOW | …grations/handlers/pgvector_handler/pgvector_handler.py | 456 | # Check if new table already exists |
| LOW | …grations/handlers/pgvector_handler/pgvector_handler.py | 649 | # Check if the index type is supported |
| LOW | …ions/handlers/salesforce_handler/salesforce_handler.py | 147 | # Check if the result contains any of the other Salesforce resources. |
| LOW | mindsdb/utilities/langfuse.py | 89 | # Check if Langfuse is disabled. |
| LOW | mindsdb/utilities/sentry.py | 35 | # Set traces_sample_rate to 1.0 to capture 100% |
| LOW | mindsdb/utilities/sentry.py | 38 | # Set profiles_sample_rate to 1.0 to profile 100% |
| LOW | mindsdb/api/a2a/task_manager.py | 112 | # Check if we have structured data |
| LOW | mindsdb/api/a2a/task_manager.py | 331 | # Check if the request has the required parameters |
| LOW | mindsdb/api/a2a/task_manager.py | 338 | # Check if the request has a message |
| LOW | mindsdb/api/a2a/task_manager.py | 345 | # Check if the message has metadata |
| LOW | mindsdb/api/a2a/task_manager.py | 352 | # Check if the agent name is provided in the metadata |
| LOW | mindsdb/api/executor/sql_query/steps/subselect_step.py | 71 | # Check if query has aggregations and result is already aggregated (single row) |
| LOW | mindsdb/interfaces/agents/pydantic_ai_agent.py | 130 | # Check if DataFrame has 'role' and 'content' columns (API format) |
| LOW | mindsdb/interfaces/agents/pydantic_ai_agent.py | 234 | # Check if DataFrame has 'role' and 'content' columns (API format) |
| LOW | mindsdb/interfaces/agents/chart_agent.py | 326 | # Check if we should retry |
| LOW | …b/interfaces/agents/utils/pydantic_ai_model_factory.py | 82 | # Check if LLM provider is vLLM |
| LOW | mindsdb/interfaces/agents/utils/data_catalog_builder.py | 62 | # Check if result is array-like (would cause ambiguity error in if statement) |
| LOW | mindsdb/interfaces/agents/utils/sql_toolkit.py | 156 | # Check if input table matches to tables in collection |
| LOW | mindsdb/interfaces/knowledge_base/controller.py | 426 | # Check if we have a rerank_model configured in KB params |
| LOW | mindsdb/interfaces/knowledge_base/controller.py | 728 | # Check if we should skip existing items (before calculating embeddings) |
| LOW | mindsdb/interfaces/knowledge_base/controller.py | 1031 | # Check if vector_size is provided when using sparse vectors |
| LOW | …/knowledge_base/preprocessing/document_preprocessor.py | 170 | # Check if LLM supports async |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | docker-compose.yml | 141 | - POSTGRES_PASSWORD=postgres |
| LOW | tests/unit/planner/test_join_tables.py | 461 | # ), |
| LOW | tests/unit/planner/test_join_predictor.py | 141 | # LIMIT 5; |
| LOW | tests/unit/api/http/agents_test.py | 201 | # At the moment creation via PUT is not allowed |
| LOW | tests/unit/api/http/agents_test.py | 221 | # 'name': 'test_put_agent_create', |
| LOW | tests/unit/api/http/agents_test.py | 341 | |
| LOW | tests/unit/executor/test_knowledge_base.py | 561 | # switched off for faiss |
| LOW | tests/integration/flows/test_knowledge_base.py | 41 | # TODO: block for enabling bedrock llm provider (after defining AWS_ACCESS_KEY and AWS_SECRET_KEY) |
| LOW | tests/scripts/check_requirements.py | 61 | |
| LOW | scripts/run_integration_tests.sh | 1 | #!/usr/bin/env bash |
| LOW | scripts/run_unit_tests.sh | 1 | #!/usr/bin/env bash |
| LOW | mindsdb/integrations/libs/passthrough.py | 101 | |
| LOW | …grations/handlers/shopify_handler/models/gift_cards.py | 101 | }, |
| LOW | …tegrations/handlers/shopify_handler/models/products.py | 161 | "TABLE_NAME": "products", |
| LOW | …tegrations/handlers/shopify_handler/models/products.py | 261 | "DATA_TYPE": "JSON", |
| LOW | …tegrations/handlers/shopify_handler/models/products.py | 341 | }, |
| LOW | …tegrations/handlers/shopify_handler/models/products.py | 361 | # "IS_NULLABLE": False |
| LOW | …tegrations/handlers/shopify_handler/models/products.py | 381 | # "COLUMN_DESCRIPTION": "The list of resources that are published to a publication.", |
| LOW | …tegrations/handlers/shopify_handler/models/products.py | 401 | # "DATA_TYPE": "JSON", |
| LOW | …tegrations/handlers/shopify_handler/models/products.py | 461 | { |
| LOW | …integrations/handlers/shopify_handler/models/orders.py | 361 | # "IS_NULLABLE": False |
| LOW | …integrations/handlers/shopify_handler/models/orders.py | 441 | # "TABLE_NAME": "orders", |
| LOW | …integrations/handlers/shopify_handler/models/orders.py | 581 | # "TABLE_NAME": "orders", |
| LOW | …integrations/handlers/shopify_handler/models/orders.py | 641 | "IS_NULLABLE": False, |
| LOW | …integrations/handlers/shopify_handler/models/orders.py | 701 | # "COLUMN_NAME": "events", |
| LOW | …integrations/handlers/shopify_handler/models/orders.py | 761 | # }, |
| LOW | …integrations/handlers/shopify_handler/models/orders.py | 801 | # "COLUMN_DESCRIPTION": "The application acting as the Merchant of Record for the order. The Merchant of Record |
| LOW | …integrations/handlers/shopify_handler/models/orders.py | 921 | "IS_NULLABLE": False, |
| LOW | …integrations/handlers/shopify_handler/models/orders.py | 981 | "COLUMN_NAME": "restockable", |
| LOW | …integrations/handlers/shopify_handler/models/orders.py | 1021 | # { |
| LOW | …ons/handlers/shopify_handler/models/inventory_items.py | 81 | }, |
| LOW | …ons/handlers/shopify_handler/models/inventory_items.py | 101 | "IS_NULLABLE": False, |
| LOW | …tions/handlers/shopify_handler/models/staff_members.py | 121 | # "DATA_TYPE": "JSON", |
| LOW | …egrations/handlers/shopify_handler/models/customers.py | 121 | # "COLUMN_NAME": "defaultEmailAddress", |
| LOW | …egrations/handlers/shopify_handler/models/customers.py | 181 | # "COLUMN_DESCRIPTION": "The image associated with the customer.", |
| LOW | …egrations/handlers/shopify_handler/models/customers.py | 221 | # "COLUMN_NAME": "mergeable", |
| LOW | …egrations/handlers/shopify_handler/models/customers.py | 261 | # { |
| LOW | …egrations/handlers/shopify_handler/models/customers.py | 281 | }, |
| LOW | …ns/handlers/shopify_handler/models/product_variants.py | 21 | # deliveryProfile = "deliveryProfile" |
| LOW | …ns/handlers/shopify_handler/models/product_variants.py | 81 | # }, |
| LOW | …ns/handlers/shopify_handler/models/product_variants.py | 121 | "COLUMN_DESCRIPTION": "A globally-unique ID.", |
| LOW | …ns/handlers/shopify_handler/models/product_variants.py | 141 | "DATA_TYPE": "INT", |
| LOW | …ns/handlers/shopify_handler/models/product_variants.py | 161 | # "COLUMN_NAME": "metafield", |
| LOW | …ns/handlers/shopify_handler/models/product_variants.py | 201 | }, |
| LOW | …ns/handlers/shopify_handler/models/product_variants.py | 221 | "IS_NULLABLE": False, |
| LOW | …ns/handlers/shopify_handler/models/product_variants.py | 281 | # "COLUMN_NAME": "translations", |
| LOW | …s/handlers/openai_handler/tests/test_openai_handler.py | 421 | # TODO: Fix this test for fine-tuning |
| LOW | …s/handlers/openai_handler/tests/test_openai_handler.py | 441 | # ... |
| LOW | …s/handlers/openai_handler/tests/test_openai_handler.py | 461 | # PREDICT rental_price; |
| LOW | …s/handlers/openai_handler/tests/test_openai_handler.py | 481 | # prompt_template = 'Return a valid SQL string for the following question about MindsDB in-database mach |
| LOW | …mysql_proxy/data_types/mysql_packets/command_packet.py | 121 | # num_params = len(prepared_stmt['statement'].parameters) |
| LOW | mindsdb/api/executor/planner/query_planner.py | 361 | return node2 |
| LOW | mindsdb/api/executor/planner/query_planner.py | 481 | return self.plan_sub_select(query, prev_step, skip_for_aggregation=True) |
| LOW | mindsdb/api/executor/planner/query_planner.py | 641 | row_dict=row_dict, |
| LOW | mindsdb/api/executor/planner/query_planner.py | 661 | # query.having is not None |
| LOW | mindsdb/api/executor/utilities/functions.py | 1 | import urllib |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/unit/various/test_json_chunker.py | 63 | "name": "John Doe", |
| LOW | tests/unit/various/test_json_chunker.py | 66 | "address": {"street": "123 Main St", "city": "Anytown", "zip": "12345"}, |
| LOW | tests/unit/various/test_json_chunker.py | 138 | assert chunk.metadata.get("field_name") == "John Doe" |
| LOW | tests/unit/various/test_json_chunker.py | 147 | "name": "John Doe", |
| LOW | tests/unit/various/test_json_chunker.py | 298 | "name": "John Doe", |
| LOW | tests/unit/various/test_json_chunker.py | 316 | assert chunks[0].metadata["field_name"] == "John Doe" |
| LOW | tests/unit/various/test_json_chunker.py | 327 | "name": "John Doe", |
| LOW | tests/unit/various/test_json_chunker.py | 426 | assert chunk.metadata.get("field_contact_information.name") == "John Doe" |
| LOW | tests/unit/various/test_json_chunker.py | 434 | data = {"name": "John Doe", "age": 30, "is_active": True, "nested": {"key1": "value1", "key2": 42}} |
| LOW | tests/unit/various/test_json_chunker.py | 457 | assert chunk.metadata.get("field_name") == "John Doe" |
| LOW | tests/unit/various/test_json_chunker.py | 466 | data = {"name": "John Doe", "age": 30, "is_active": True, "nested": {"key1": "value1", "key2": 42}} |
| LOW | tests/unit/various/test_json_chunker.py | 489 | assert chunk.metadata.get("field_name") == "John Doe" |
| LOW | tests/unit/various/test_json_chunker.py | 501 | "contact_information": {"name": "John Doe", "email": "john@example.com", "phone": "123-456-7890"}, |
| LOW | tests/unit/various/test_json_chunker.py | 21 | "name": "John Doe", |
| LOW | tests/unit/various/test_json_chunker.py | 47 | assert "John Doe" in chunks[0].content |
| LOW | tests/unit/various/test_json_chunker.py | 106 | "name": "John Doe", |
| LOW | tests/unit/various/test_json_chunker.py | 348 | assert chunks[0].metadata["field_name"] == "John Doe" |
| LOW | tests/unit/various/test_json_chunker.py | 361 | json_data = {"id": 1, "name": "John Doe"} |
| LOW | tests/unit/various/test_json_chunker.py | 394 | "contact_information": {"name": "John Doe", "email": "john@example.com"}, |
| LOW | tests/unit/various/test_json_chunker.py | 527 | assert chunk.metadata.get("field_contact_information.name") == "John Doe" |
| LOW | tests/unit/handlers/test_netsuite.py | 93 | FilterCondition("email", FilterOperator.EQUAL, "user@example.com"), |
| LOW | tests/unit/handlers/test_netsuite.py | 101 | where_sql=" WHERE email = 'user@example.com' AND foo IS NULL", |
| LOW | …nit/handlers/community_handlers/test_access_handler.py | 194 | rows = [(1, "John Doe", "john@example.com"), (2, "Jane Smith", "jane@example.com")] |
| LOW | …/unit/handlers/community_handlers/test_jira_handler.py | 61 | "creator": {"displayName": "John Doe"}, |
| LOW | …/unit/handlers/community_handlers/test_jira_handler.py | 73 | "creator": {"displayName": "John Doe"}, |
| LOW | …/unit/handlers/community_handlers/test_jira_handler.py | 83 | "creator": {"displayName": "John Doe"}, |
| LOW | tests/unit/handlers/community_handlers/test_jira.py | 159 | "creator": {"displayName": "John Doe"}, |
| LOW | tests/unit/handlers/community_handlers/test_jira.py | 171 | "creator": {"displayName": "John Doe"}, |
| LOW | tests/unit/handlers/community_handlers/test_jira.py | 181 | "creator": {"displayName": "John Doe"}, |
| LOW | mindsdb/integrations/utilities/pydantic_utils.py | 51 | - Dummy text strings are represented as "lorem ipsum." |
| LOW | mindsdb/integrations/utilities/pydantic_utils.py | 61 | "string": "lorem ipsum", |
| LOW | mindsdb/integrations/utilities/pydantic_utils.py | 65 | "object": {"lorem ipsum": "lorem_ipsum"}, |
| LOW | mindsdb/integrations/handlers/hubspot_handler/README.md | 157 | VALUES ('Acme Corp', 'acme.com', 'COMPUTER_SOFTWARE', 'New York', 'NY'); |
| LOW | mindsdb/integrations/handlers/hubspot_handler/README.md | 170 | WHERE name = 'Acme Corp'; |
| LOW | …/integrations/handlers/salesforce_handler/constants.py | 70 | CORRECT: WHERE Name = 'Acme Corp' |
| LOW | …/integrations/handlers/salesforce_handler/constants.py | 168 | CORRECT: WHERE Phone = '555-1234' |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tests/unit/api/mcp/test_completions.py | 13 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/unit/api/mcp/test_completions.py | 15 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/unit/api/mcp/test_completions.py | 21 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/unit/api/mcp/test_completions.py | 23 | # --------------------------------------------------------------------------- |
| MEDIUM | tests/unit/executor/test_project_structure.py | 183 | # ---------------- |
| MEDIUM | tests/unit/executor/test_project_structure.py | 223 | # ---------------------------------------------------- |
| MEDIUM | tests/unit/executor/test_project_structure.py | 233 | # ---------------------------------------------------- |
| MEDIUM | mindsdb/integrations/libs/api_handler.py | 195 | # ----------------------------- |
| MEDIUM | mindsdb/integrations/libs/passthrough.py | 276 | # ------------------------------------------------------------------ |
| MEDIUM | mindsdb/integrations/libs/passthrough.py | 278 | # ------------------------------------------------------------------ |
| MEDIUM | …db/api/executor/utilities/mysql_to_duckdb_functions.py | 27 | # ------------------------------ |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tests/unit/handlers/test_hubspot.py | 193 | # Check for comprehensive column metadata |
| MEDIUM | tests/unit/handlers/test_hubspot.py | 584 | """Test comprehensive error handling in various scenarios.""" |
| MEDIUM | tests/unit/handlers/test_hubspot.py | 600 | """Test comprehensive column statistics calculation.""" |
| MEDIUM | …tegrations/handlers/hubspot_handler/hubspot_handler.py | 747 | """Calculate comprehensive statistics for a column.""" |
| LOW | mindsdb/api/a2a/common/server/server.py | 98 | # Don't await the async generator, just pass it to _create_response |
| MEDIUM | mindsdb/api/a2a/common/server/server.py | 148 | # Add robust SSE headers for compatibility |
| MEDIUM | mindsdb/api/mysql/mysql_proxy/mysql_proxy.py | 298 | # for big responses leverage pandas map function to convert data to packages |
| LOW | mindsdb/api/executor/sql_query/steps/subselect_step.py | 85 | # The result is already aggregated, so just return it as-is |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | mindsdb/integrations/utilities/handler_utils.py | 117 | f" Example: CREATE AGENT my_agent USING model='gpt-4', provider='{api_name}', {api_key_arg}='your-api-key' |
| HIGH | mindsdb/integrations/utilities/handler_utils.py | 118 | f" Or: CREATE AGENT my_agent USING model='gpt-4', provider='{api_name}', api_key='your-api-key';\n" |
| HIGH | …/huggingface_api_handler/tests/test_huggingface_api.py | 32 | api_key = '<YOUR_API_KEY>', |
| HIGH | …/huggingface_api_handler/tests/test_huggingface_api.py | 32 | api_key = '<YOUR_API_KEY>', |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | scripts/run_integration_tests.sh | 6 | # Usage: |
| LOW | scripts/run_unit_tests.sh | 6 | # Usage: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | tests/unit/handlers/test_web.py | 187 | # with limit: as requested |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | mindsdb/api/a2a/common/server/server.py | 133 | # Step 2: Yield actual serialized event as JSON, with timing logs |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | mindsdb/interfaces/jobs/scheduler.py | 83 | def execute_task(self, record_id, exec_method): |