Conghao97's picture tcftrees's picture
ProgramGen release
d086025
Raw History Blame Contribute Delete
62.4 kB
{ "passed_ptp": [ "dysql.test.test_annotations::test_from_csv_to_list", "dysql.test.test_annotations::test_from_csv_to_list_invalid", "dysql.test.test_database_initialization::test_nothing_set", "dysql.test.test_database_initialization::test_fields_required", "dysql.test.test_database_initialization::test_minimal_credentials", "dysql.test.test_database_initialization::test_init_hook", "dysql.test.test_database_initialization::test_init_hook_multiple_databases", "dysql.test.test_database_initialization::test_current_database_default", "dysql.test.test_database_initialization::test_different_charset_collation", "dysql.test.test_database_initialization::test_is_set_current_database_supported", "dysql.test.test_database_initialization::test_current_database_set", "dysql.test.test_database_initialization::test_current_database_cached", "dysql.test.test_mappers::TestMappers::test_record_combining", "dysql.test.test_mappers::TestMappers::test_record_combining_no_record_mapper", "dysql.test.test_mappers::TestMappers::test_single_row", "dysql.test.test_mappers::TestMappers::test_single_row_no_record_mapper", "dysql.test.test_mappers::TestMappers::test_single_column", "dysql.test.test_mappers::TestMappers::test_single_column_and_row", "dysql.test.test_mappers::TestMappers::test_key_mapper_key_has_multiple", "dysql.test.test_mappers::TestMappers::test_key_mapper_key_value_same", "dysql.test.test_mariadbmap_tojson::test_raw_json_format", "dysql.test.test_pydantic_mappers::test_field_conversion", "dysql.test.test_pydantic_mappers::test_complex_object_record_combining", "dysql.test.test_pydantic_mappers::test_record_combining_multi_column_id", "dysql.test.test_pydantic_mappers::test_complex_object_with_null_values", "dysql.test.test_pydantic_mappers::test_csv_list_field", "dysql.test.test_pydantic_mappers::test_csv_list_field_single_value", "dysql.test.test_pydantic_mappers::test_csv_list_field_empty_string", "dysql.test.test_pydantic_mappers::test_csv_list_field_extends", "dysql.test.test_pydantic_mappers::test_csv_list_field_multiple_records_duplicates", "dysql.test.test_pydantic_mappers::test_csv_list_field_none_in_first_record", "dysql.test.test_pydantic_mappers::test_csv_list_field_without_mapping_ignored", "dysql.test.test_pydantic_mappers::test_csv_list_field_invalid_type", "dysql.test.test_pydantic_mappers::test_json_field", "dysql.test.test_pydantic_mappers::test_invalid_json", "dysql.test.test_pydantic_mappers::test_json_none", "dysql.test.test_sql_decorator::TestSqlSelectDecorator::test_non_query_data_fails", "dysql.test.test_sql_decorator::TestSqlSelectDecorator::test_map_not_specified", "dysql.test.test_sql_decorator::TestSqlSelectDecorator::test_single", "dysql.test.test_sql_decorator::TestSqlSelectDecorator::test_count", "dysql.test.test_sql_decorator::TestSqlSelectDecorator::test_execute_no_params", "dysql.test.test_sql_decorator::TestSqlSelectDecorator::test_execute_params", "dysql.test.test_sql_decorator::TestSqlSelectDecorator::test_list_results_map", "dysql.test.test_sql_decorator::TestSqlSelectDecorator::test_isolation_default", "dysql.test.test_sql_decorator::TestSqlSelectDecorator::test_isolation_default_read_uncommited", "dysql.test.test_sql_decorator::TestSqlUpdateDecorator::test_isolation_default", "dysql.test.test_sql_decorator::TestSqlUpdateDecorator::test_isolation_default_read_uncommited", "dysql.test.test_sql_decorator::TestSqlUpdateDecorator::test_transaction", "dysql.test.test_sql_decorator::TestSqlUpdateDecorator::test_transaction_fails", "dysql.test.test_sql_decorator::TestSqlUpdateDecorator::test_execute_passes_values", "dysql.test.test_sql_decorator::TestSqlUpdateDecorator::test_execute_query_values_none", "dysql.test.test_sql_decorator::TestSqlUpdateDecorator::test_execute_query_values_not_given", "dysql.test.test_sql_decorator::TestSqlUpdateDecorator::test_execute_multi_yield", "dysql.test.test_sql_decorator::TestSqlUpdateDecorator::test_execute_fails_list_if_multi_false", "dysql.test.test_sql_decorator::TestSqlUpdateDecorator::test_execute_multi_yield_and_lists", "dysql.test.test_sql_decorator::TestSqlUpdateDecorator::test_execute_multi_yield_and_lists_some_no_params", "dysql.test.test_sql_decorator::TestSqlUpdateDecorator::test_set_foreign_key_checks_default", "dysql.test.test_sql_decorator::TestSqlUpdateDecorator::test_set_foreign_key_checks_true", "dysql.test.test_sql_exists_decorator::test_exists_true", "dysql.test.test_sql_exists_decorator::test_exists_false", "dysql.test.test_sql_exists_decorator::test_exists_true_params", "dysql.test.test_sql_exists_decorator::test_exists_false_params", "dysql.test.test_sql_exists_decorator::test_exists_query_contains_with_exists_true", "dysql.test.test_sql_exists_decorator::test_exists_query_contains_with_exists_false", "dysql.test.test_sql_exists_decorator::test_exists_without_where_true", "dysql.test.test_sql_exists_decorator::test_exists_witohut_where_false", "dysql.test.test_sql_exists_decorator::test_exists_query_starts_with_exists_handles_whitespace", "dysql.test.test_sql_in_list_templates::test_list_in_numbers", "dysql.test.test_sql_in_list_templates::test_list_in__strings", "dysql.test.test_sql_in_list_templates::test_list_not_in_numbers", "dysql.test.test_sql_in_list_templates::test_list_not_in_strings", "dysql.test.test_sql_in_list_templates::test_list_in_handles_empty", "dysql.test.test_sql_in_list_templates::test_list_in_handles_no_param", "dysql.test.test_sql_in_list_templates::test_list_in_multiple_lists", "dysql.test.test_sql_in_list_templates::test_list_in_multiple_lists_one_empty", "dysql.test.test_sql_in_list_templates::test_list_in_multiple_lists_one_missing", "dysql.test.test_sql_in_list_templates::test_list_in_multiple_lists_all_missing", "dysql.test.test_sql_in_list_templates::test_list_not_in_handles_empty", "dysql.test.test_sql_in_list_templates::test_list_not_in_handles_no_param", "dysql.test.test_sql_in_list_templates::test_list_gives_template_space_before", "dysql.test.test_sql_in_list_templates::test_list_gives_template_space_after", "dysql.test.test_sql_in_list_templates::test_list_gives_template_space_before_and_after", "dysql.test.test_sql_in_list_templates::test_in_contains_whitespace", "dysql.test.test_sql_in_list_templates::test_template_handles_table_qualifier", "dysql.test.test_sql_in_list_templates::test_template_handles_multiple_table_qualifier", "dysql.test.test_sql_in_list_templates::test_empty_in_contains_whitespace", "dysql.test.test_sql_in_list_templates::test_multiple_templates_same_column_diff_table", "dysql.test.test_sql_insert_templates::test_insert_non_query_data_fails", "dysql.test.test_sql_insert_templates::test_insert_single_column", "dysql.test.test_sql_insert_templates::test_insert_single_column_single_value", "dysql.test.test_sql_insert_templates::test_insert_single_value_empty", "dysql.test.test_sql_insert_templates::test_insert_single_value_no_key", "dysql.test.test_sql_insert_templates::test_insert_multiple_values", "dysql.test.test_sql_insert_templates::test_insert_with_callback", "dysql.test.test_sql_insert_templates::test_insert_with_callack_not_called", "dysql.test.test_sql_insert_templates::test_last_insert_id", "dysql.test.test_sql_insert_templates::test_last_insert_id_removed_before_callback", "dysql.test.test_template_generators::TestTemplatesGenerators::test_query", "dysql.test.test_template_generators::TestTemplatesGenerators::test_params", "dysql.test.test_template_generators::TestTemplatesGenerators::test_insert_none", "dysql.test.test_test_managers::TestMariaDbTestManager::test_create_test_db_without_schema", "dysql.test.test_test_managers::TestMariaDbTestManager::test_create_test_includes_commands", "dysql.test.test_test_managers::TestMariaDbTestManager::test_create_test_db_mysqldump_command_format", "dysql.test.test_test_managers::TestMariaDbTestManager::test_tear_down_test_db" ], "test_files": [ "dysql/test/__init__.py", "dysql/test/conftest.py", "dysql/test/test_annotations.py", "dysql/test/test_database_initialization.py", "dysql/test/test_mappers.py", "dysql/test/test_mariadbmap_tojson.py", "dysql/test/test_pydantic_mappers.py", "dysql/test/test_sql_decorator.py", "dysql/test/test_sql_exists_decorator.py", "dysql/test/test_sql_in_list_templates.py", "dysql/test/test_sql_insert_templates.py", "dysql/test/test_template_generators.py", "dysql/test/test_test_managers.py", "dysql/test_managers.py" ], "test_command": [ "python3", "-m", "pytest", "-vv", "--continue-on-collection-errors", "-o", "addopts=", "dysql/test/test_annotations.py", "dysql/test/test_database_initialization.py", "dysql/test/test_mappers.py", "dysql/test/test_mariadbmap_tojson.py", "dysql/test/test_pydantic_mappers.py", "dysql/test/test_sql_decorator.py", "dysql/test/test_sql_exists_decorator.py", "dysql/test/test_sql_in_list_templates.py", "dysql/test/test_sql_insert_templates.py", "dysql/test/test_template_generators.py", "dysql/test/test_test_managers.py", "dysql/test_managers.py" ], "test_payload_contract": { "schema_version": "programgen.test-payload-contract.v1", "test_files": [ "dysql/test/__init__.py", "dysql/test/conftest.py", "dysql/test/test_annotations.py", "dysql/test/test_database_initialization.py", "dysql/test/test_mappers.py", "dysql/test/test_mariadbmap_tojson.py", "dysql/test/test_pydantic_mappers.py", "dysql/test/test_sql_decorator.py", "dysql/test/test_sql_exists_decorator.py", "dysql/test/test_sql_in_list_templates.py", "dysql/test/test_sql_insert_templates.py", "dysql/test/test_template_generators.py", "dysql/test/test_test_managers.py", "dysql/test_managers.py" ], "test_command": [ "python3", "-m", "pytest", "-vv", "--continue-on-collection-errors", "-o", "addopts=", "dysql/test/test_annotations.py", "dysql/test/test_database_initialization.py", "dysql/test/test_mappers.py", "dysql/test/test_mariadbmap_tojson.py", "dysql/test/test_pydantic_mappers.py", "dysql/test/test_sql_decorator.py", "dysql/test/test_sql_exists_decorator.py", "dysql/test/test_sql_in_list_templates.py", "dysql/test/test_sql_insert_templates.py", "dysql/test/test_template_generators.py", "dysql/test/test_test_managers.py", "dysql/test_managers.py" ], "text_fixtures": [], "binary_fixtures": [], "nonportable_absolute_paths": [], "required_external_commands": [], "declared_console_scripts": [], "unresolved_external_commands": [] }, "unit_test": [ "dysql.test.test_annotations::test_from_csv_to_list", "dysql.test.test_annotations::test_from_csv_to_list_invalid", "dysql.test.test_database_initialization::test_nothing_set", "dysql.test.test_database_initialization::test_fields_required", "dysql.test.test_database_initialization::test_minimal_credentials", "dysql.test.test_database_initialization::test_init_hook", "dysql.test.test_database_initialization::test_init_hook_multiple_databases", "dysql.test.test_database_initialization::test_current_database_default", "dysql.test.test_database_initialization::test_different_charset_collation", "dysql.test.test_database_initialization::test_is_set_current_database_supported", "dysql.test.test_database_initialization::test_current_database_set", "dysql.test.test_database_initialization::test_current_database_cached", "dysql.test.test_mappers::TestMappers::test_record_combining", "dysql.test.test_mappers::TestMappers::test_record_combining_no_record_mapper", "dysql.test.test_mappers::TestMappers::test_single_row", "dysql.test.test_mappers::TestMappers::test_single_row_no_record_mapper", "dysql.test.test_mappers::TestMappers::test_single_column", "dysql.test.test_mappers::TestMappers::test_single_column_and_row", "dysql.test.test_mappers::TestMappers::test_key_mapper_key_has_multiple", "dysql.test.test_mappers::TestMappers::test_key_mapper_key_value_same", "dysql.test.test_mariadbmap_tojson::test_raw_json_format", "dysql.test.test_pydantic_mappers::test_field_conversion", "dysql.test.test_pydantic_mappers::test_complex_object_record_combining", "dysql.test.test_pydantic_mappers::test_record_combining_multi_column_id", "dysql.test.test_pydantic_mappers::test_complex_object_with_null_values", "dysql.test.test_pydantic_mappers::test_csv_list_field", "dysql.test.test_pydantic_mappers::test_csv_list_field_single_value", "dysql.test.test_pydantic_mappers::test_csv_list_field_empty_string", "dysql.test.test_pydantic_mappers::test_csv_list_field_extends", "dysql.test.test_pydantic_mappers::test_csv_list_field_multiple_records_duplicates", "dysql.test.test_pydantic_mappers::test_csv_list_field_none_in_first_record", "dysql.test.test_pydantic_mappers::test_csv_list_field_without_mapping_ignored", "dysql.test.test_pydantic_mappers::test_csv_list_field_invalid_type", "dysql.test.test_pydantic_mappers::test_json_field", "dysql.test.test_pydantic_mappers::test_invalid_json", "dysql.test.test_pydantic_mappers::test_json_none", "dysql.test.test_sql_decorator::TestSqlSelectDecorator::test_non_query_data_fails", "dysql.test.test_sql_decorator::TestSqlSelectDecorator::test_map_not_specified", "dysql.test.test_sql_decorator::TestSqlSelectDecorator::test_single", "dysql.test.test_sql_decorator::TestSqlSelectDecorator::test_count", "dysql.test.test_sql_decorator::TestSqlSelectDecorator::test_execute_no_params", "dysql.test.test_sql_decorator::TestSqlSelectDecorator::test_execute_params", "dysql.test.test_sql_decorator::TestSqlSelectDecorator::test_list_results_map", "dysql.test.test_sql_decorator::TestSqlSelectDecorator::test_isolation_default", "dysql.test.test_sql_decorator::TestSqlSelectDecorator::test_isolation_default_read_uncommited", "dysql.test.test_sql_decorator::TestSqlUpdateDecorator::test_isolation_default", "dysql.test.test_sql_decorator::TestSqlUpdateDecorator::test_isolation_default_read_uncommited", "dysql.test.test_sql_decorator::TestSqlUpdateDecorator::test_transaction", "dysql.test.test_sql_decorator::TestSqlUpdateDecorator::test_transaction_fails", "dysql.test.test_sql_decorator::TestSqlUpdateDecorator::test_execute_passes_values", "dysql.test.test_sql_decorator::TestSqlUpdateDecorator::test_execute_query_values_none", "dysql.test.test_sql_decorator::TestSqlUpdateDecorator::test_execute_query_values_not_given", "dysql.test.test_sql_decorator::TestSqlUpdateDecorator::test_execute_multi_yield", "dysql.test.test_sql_decorator::TestSqlUpdateDecorator::test_execute_fails_list_if_multi_false", "dysql.test.test_sql_decorator::TestSqlUpdateDecorator::test_execute_multi_yield_and_lists", "dysql.test.test_sql_decorator::TestSqlUpdateDecorator::test_execute_multi_yield_and_lists_some_no_params", "dysql.test.test_sql_decorator::TestSqlUpdateDecorator::test_set_foreign_key_checks_default", "dysql.test.test_sql_decorator::TestSqlUpdateDecorator::test_set_foreign_key_checks_true", "dysql.test.test_sql_exists_decorator::test_exists_true", "dysql.test.test_sql_exists_decorator::test_exists_false", "dysql.test.test_sql_exists_decorator::test_exists_true_params", "dysql.test.test_sql_exists_decorator::test_exists_false_params", "dysql.test.test_sql_exists_decorator::test_exists_query_contains_with_exists_true", "dysql.test.test_sql_exists_decorator::test_exists_query_contains_with_exists_false", "dysql.test.test_sql_exists_decorator::test_exists_without_where_true", "dysql.test.test_sql_exists_decorator::test_exists_witohut_where_false", "dysql.test.test_sql_exists_decorator::test_exists_query_starts_with_exists_handles_whitespace", "dysql.test.test_sql_in_list_templates::test_list_in_numbers", "dysql.test.test_sql_in_list_templates::test_list_in__strings", "dysql.test.test_sql_in_list_templates::test_list_not_in_numbers", "dysql.test.test_sql_in_list_templates::test_list_not_in_strings", "dysql.test.test_sql_in_list_templates::test_list_in_handles_empty", "dysql.test.test_sql_in_list_templates::test_list_in_handles_no_param", "dysql.test.test_sql_in_list_templates::test_list_in_multiple_lists", "dysql.test.test_sql_in_list_templates::test_list_in_multiple_lists_one_empty", "dysql.test.test_sql_in_list_templates::test_list_in_multiple_lists_one_missing", "dysql.test.test_sql_in_list_templates::test_list_in_multiple_lists_all_missing", "dysql.test.test_sql_in_list_templates::test_list_not_in_handles_empty", "dysql.test.test_sql_in_list_templates::test_list_not_in_handles_no_param", "dysql.test.test_sql_in_list_templates::test_list_gives_template_space_before", "dysql.test.test_sql_in_list_templates::test_list_gives_template_space_after", "dysql.test.test_sql_in_list_templates::test_list_gives_template_space_before_and_after", "dysql.test.test_sql_in_list_templates::test_in_contains_whitespace", "dysql.test.test_sql_in_list_templates::test_template_handles_table_qualifier", "dysql.test.test_sql_in_list_templates::test_template_handles_multiple_table_qualifier", "dysql.test.test_sql_in_list_templates::test_empty_in_contains_whitespace", "dysql.test.test_sql_in_list_templates::test_multiple_templates_same_column_diff_table", "dysql.test.test_sql_insert_templates::test_insert_non_query_data_fails", "dysql.test.test_sql_insert_templates::test_insert_single_column", "dysql.test.test_sql_insert_templates::test_insert_single_column_single_value", "dysql.test.test_sql_insert_templates::test_insert_single_value_empty", "dysql.test.test_sql_insert_templates::test_insert_single_value_no_key", "dysql.test.test_sql_insert_templates::test_insert_multiple_values", "dysql.test.test_sql_insert_templates::test_insert_with_callback", "dysql.test.test_sql_insert_templates::test_insert_with_callack_not_called", "dysql.test.test_sql_insert_templates::test_last_insert_id", "dysql.test.test_sql_insert_templates::test_last_insert_id_removed_before_callback", "dysql.test.test_template_generators::TestTemplatesGenerators::test_query", "dysql.test.test_template_generators::TestTemplatesGenerators::test_params", "dysql.test.test_template_generators::TestTemplatesGenerators::test_insert_none", "dysql.test.test_test_managers::TestMariaDbTestManager::test_create_test_db_without_schema", "dysql.test.test_test_managers::TestMariaDbTestManager::test_create_test_includes_commands", "dysql.test.test_test_managers::TestMariaDbTestManager::test_create_test_db_mysqldump_command_format", "dysql.test.test_test_managers::TestMariaDbTestManager::test_tear_down_test_db" ], "expected_test_count": 172, "measured_test_count": 172, "enumerated_test_count": 104, "test_count_source": "measured-suite", "python_install_contract": { "strategy": "editable-install", "project_root": ".", "package_roots": [ "." ], "build_backend": "uv_build", "build_system_requires": [ "uv_build" ], "editable": true, "project_dependencies": [ "sqlalchemy<2", "pydantic>=2" ], "editable_requires": [], "runtime_strategy": "editable-install", "runtime_build_inputs": [ "README.rst" ], "build_context_inputs": [], "distribution_name": "dy-sql", "evidence": [ "./pyproject.toml" ], "errors": [], "isolate_build_backend": false, "schema_version": "programgen.python-install-contract.v7" }, "test_binary_files": [], "artifact_contract_version": "programgen.forward-harbor.v6", "renderer_schema_version": "programgen.forward-renderer.v4", "test_import_contract": [ { "test_file": "dysql/test/__init__.py", "source_file": "dysql/databases.py", "import_root": "dysql", "definition_path": "dysql.databases", "required_import_path": "dysql.databases", "import_statement": "from dysql import set_default_connection_parameters, databases", "symbol": null, "kind": "module", "classification": "local-module" }, { "test_file": "dysql/test/__init__.py", "source_file": "dysql/databases.py", "import_root": "dysql", "definition_path": "dysql.databases.DatabaseContainerSingleton", "required_import_path": "dysql.databases.DatabaseContainerSingleton", "import_statement": "from dysql import set_default_connection_parameters, databases", "symbol": "DatabaseContainerSingleton", "kind": "class", "classification": "local-resolved" }, { "test_file": "dysql/test/__init__.py", "source_file": "dysql/databases.py", "import_root": "dysql", "definition_path": "dysql.databases.set_default_connection_parameters", "required_import_path": "dysql.set_default_connection_parameters", "import_statement": "from dysql import set_default_connection_parameters, databases", "symbol": "set_default_connection_parameters", "kind": "function", "classification": "local-resolved" }, { "test_file": "dysql/test/__init__.py", "source_file": null, "import_root": "unittest", "definition_path": null, "required_import_path": "unittest.mock.Mock", "import_statement": "from unittest.mock import Mock", "symbol": "Mock", "kind": "external", "classification": "external" }, { "test_file": "dysql/test/conftest.py", "source_file": null, "import_root": "pytest", "definition_path": null, "required_import_path": "pytest", "import_statement": "import pytest", "symbol": null, "kind": "external", "classification": "external" }, { "test_file": "dysql/test/conftest.py", "source_file": null, "import_root": "unittest", "definition_path": null, "required_import_path": "unittest.mock.patch", "import_statement": "from unittest.mock import patch", "symbol": "patch", "kind": "external", "classification": "external" }, { "test_file": "dysql/test/test_annotations.py", "source_file": "dysql/annotations.py", "import_root": "dysql", "definition_path": "dysql.annotations.FromCSVToList", "required_import_path": "dysql.annotations.FromCSVToList", "import_statement": "from dysql.annotations import FromCSVToList", "symbol": "FromCSVToList", "kind": "constant", "classification": "local-resolved" }, { "test_file": "dysql/test/test_annotations.py", "source_file": null, "import_root": "pydantic", "definition_path": null, "required_import_path": "pydantic.BaseModel", "import_statement": "from pydantic import BaseModel, ValidationError", "symbol": "BaseModel", "kind": "external", "classification": "external" }, { "test_file": "dysql/test/test_annotations.py", "source_file": null, "import_root": "pydantic", "definition_path": null, "required_import_path": "pydantic.ValidationError", "import_statement": "from pydantic import BaseModel, ValidationError", "symbol": "ValidationError", "kind": "external", "classification": "external" }, { "test_file": "dysql/test/test_annotations.py", "source_file": null, "import_root": "pytest", "definition_path": null, "required_import_path": "pytest", "import_statement": "import pytest", "symbol": null, "kind": "external", "classification": "external" }, { "test_file": "dysql/test/test_annotations.py", "source_file": null, "import_root": "typing", "definition_path": null, "required_import_path": "typing.List", "import_statement": "from typing import List, Union", "symbol": "List", "kind": "external", "classification": "external" }, { "test_file": "dysql/test/test_annotations.py", "source_file": null, "import_root": "typing", "definition_path": null, "required_import_path": "typing.Union", "import_statement": "from typing import List, Union", "symbol": "Union", "kind": "external", "classification": "external" }, { "test_file": "dysql/test/test_database_initialization.py", "source_file": "dysql/exceptions.py", "import_root": "dysql", "definition_path": "dysql.exceptions.DBNotPreparedError", "required_import_path": "dysql.DBNotPreparedError", "import_statement": "from dysql import ( sqlquery, DBNotPreparedError, set_default_connection_parameters, QueryData, set_database_init_hook, )", "symbol": "DBNotPreparedError", "kind": "exception", "classification": "local-resolved" }, { "test_file": "dysql/test/test_database_initialization.py", "source_file": "dysql/query_utils.py", "import_root": "dysql", "definition_path": "dysql.query_utils.QueryData", "required_import_path": "dysql.QueryData", "import_statement": "from dysql import ( sqlquery, DBNotPreparedError, set_default_connection_parameters, QueryData, set_database_init_hook, )", "symbol": "QueryData", "kind": "class", "classification": "local-resolved" }, { "test_file": "dysql/test/test_database_initialization.py", "source_file": "dysql/connections.py", "import_root": "dysql", "definition_path": "dysql.connections", "required_import_path": "dysql.connections", "import_statement": "import dysql.connections", "symbol": null, "kind": "module", "classification": "local-module" }, { "test_file": "dysql/test/test_database_initialization.py", "source_file": "dysql/databases.py", "import_root": "dysql", "definition_path": "dysql.databases.Database", "required_import_path": "dysql.databases.Database", "import_statement": "import dysql.connections", "symbol": "Database", "kind": "class", "classification": "local-resolved" }, { "test_file": "dysql/test/test_database_initialization.py", "source_file": "dysql/databases.py", "import_root": "dysql", "definition_path": "dysql.databases.DatabaseContainerSingleton", "required_import_path": "dysql.databases.DatabaseContainerSingleton", "import_statement": "import dysql.connections", "symbol": "DatabaseContainerSingleton", "kind": "class", "classification": "local-resolved" }, { "test_file": "dysql/test/test_database_initialization.py", "source_file": "dysql/databases.py", "import_root": "dysql", "definition_path": "dysql.databases._DEFAULT_CONNECTION_PARAMS_BY_KEY", "required_import_path": "dysql.databases._DEFAULT_CONNECTION_PARAMS_BY_KEY", "import_statement": "import dysql.connections", "symbol": "_DEFAULT_CONNECTION_PARAMS_BY_KEY", "kind": "constant", "classification": "local-resolved" }, { "test_file": "dysql/test/test_database_initialization.py", "source_file": "dysql/databases.py", "import_root": "dysql", "definition_path": "dysql.databases.is_set_current_database_supported", "required_import_path": "dysql.databases.is_set_current_database_supported", "import_statement": "import dysql.connections", "symbol": "is_set_current_database_supported", "kind": "function", "classification": "local-resolved" }, { "test_file": "dysql/test/test_database_initialization.py", "source_file": "dysql/databases.py", "import_root": "dysql", "definition_path": "dysql.databases.reset_current_database", "required_import_path": "dysql.databases.reset_current_database", "import_statement": "import dysql.connections", "symbol": "reset_current_database", "kind": "function", "classification": "local-resolved" }, { "test_file": "dysql/test/test_database_initialization.py", "source_file": "dysql/databases.py", "import_root": "dysql", "definition_path": "dysql.databases.set_current_database", "required_import_path": "dysql.databases.set_current_database", "import_statement": "import dysql.connections", "symbol": "set_current_database", "kind": "function", "classification": "local-resolved" }, { "test_file": "dysql/test/test_database_initialization.py", "source_file": "dysql/databases.py", "import_root": "dysql", "definition_path": "dysql.databases.set_database_init_hook", "required_import_path": "dysql.set_database_init_hook", "import_statement": "from dysql import ( sqlquery, DBNotPreparedError, set_default_connection_parameters, QueryData, set_database_init_hook, )", "symbol": "set_database_init_hook", "kind": "function", "classification": "local-resolved" }, { "test_file": "dysql/test/test_database_initialization.py", "source_file": "dysql/databases.py", "import_root": "dysql", "definition_path": "dysql.databases.set_default_connection_parameters", "required_import_path": "dysql.set_default_connection_parameters", "import_statement": "from dysql import ( sqlquery, DBNotPreparedError, set_default_connection_parameters, QueryData, set_database_init_hook, )", "symbol": "set_default_connection_parameters", "kind": "function", "classification": "local-resolved" }, { "test_file": "dysql/test/test_database_initialization.py", "source_file": "dysql/connections.py", "import_root": "dysql", "definition_path": "dysql.connections.sqlquery", "required_import_path": "dysql.sqlquery", "import_statement": "from dysql import ( sqlquery, DBNotPreparedError, set_default_connection_parameters, QueryData, set_database_init_hook, )", "symbol": "sqlquery", "kind": "function", "classification": "local-resolved" }, { "test_file": "dysql/test/test_database_initialization.py", "source_file": "dysql/test/__init__.py", "import_root": "dysql", "definition_path": "dysql.test.setup_mock_engine", "required_import_path": "dysql.test.setup_mock_engine", "import_statement": "from dysql.test import setup_mock_engine", "symbol": "setup_mock_engine", "kind": "test-support", "classification": "test-support" }, { "test_file": "dysql/test/test_database_initialization.py", "source_file": null, "import_root": "pytest", "definition_path": null, "required_import_path": "pytest", "import_statement": "import pytest", "symbol": null, "kind": "external", "classification": "external" }, { "test_file": "dysql/test/test_database_initialization.py", "source_file": null, "import_root": "unittest", "definition_path": null, "required_import_path": "unittest.mock", "import_statement": "from unittest import mock", "symbol": "mock", "kind": "external", "classification": "external" }, { "test_file": "dysql/test/test_mappers.py", "source_file": "dysql/mappers.py", "import_root": "dysql", "definition_path": "dysql.mappers.CountMapper", "required_import_path": "dysql.CountMapper", "import_statement": "from dysql import ( RecordCombiningMapper, SingleRowMapper, SingleColumnMapper, SingleRowAndColumnMapper, CountMapper, KeyValueMapper, )", "symbol": "CountMapper", "kind": "class", "classification": "local-resolved" }, { "test_file": "dysql/test/test_mappers.py", "source_file": "dysql/mappers.py", "import_root": "dysql", "definition_path": "dysql.mappers.KeyValueMapper", "required_import_path": "dysql.KeyValueMapper", "import_statement": "from dysql import ( RecordCombiningMapper, SingleRowMapper, SingleColumnMapper, SingleRowAndColumnMapper, CountMapper, KeyValueMapper, )", "symbol": "KeyValueMapper", "kind": "class", "classification": "local-resolved" }, { "test_file": "dysql/test/test_mappers.py", "source_file": "dysql/mappers.py", "import_root": "dysql", "definition_path": "dysql.mappers.RecordCombiningMapper", "required_import_path": "dysql.RecordCombiningMapper", "import_statement": "from dysql import ( RecordCombiningMapper, SingleRowMapper, SingleColumnMapper, SingleRowAndColumnMapper, CountMapper, KeyValueMapper, )", "symbol": "RecordCombiningMapper", "kind": "class", "classification": "local-resolved" }, { "test_file": "dysql/test/test_mappers.py", "source_file": "dysql/mappers.py", "import_root": "dysql", "definition_path": "dysql.mappers.SingleColumnMapper", "required_import_path": "dysql.SingleColumnMapper", "import_statement": "from dysql import ( RecordCombiningMapper, SingleRowMapper, SingleColumnMapper, SingleRowAndColumnMapper, CountMapper, KeyValueMapper, )", "symbol": "SingleColumnMapper", "kind": "class", "classification": "local-resolved" }, { "test_file": "dysql/test/test_mappers.py", "source_file": "dysql/mappers.py", "import_root": "dysql", "definition_path": "dysql.mappers.SingleRowAndColumnMapper", "required_import_path": "dysql.SingleRowAndColumnMapper", "import_statement": "from dysql import ( RecordCombiningMapper, SingleRowMapper, SingleColumnMapper, SingleRowAndColumnMapper, CountMapper, KeyValueMapper, )", "symbol": "SingleRowAndColumnMapper", "kind": "class", "classification": "local-resolved" }, { "test_file": "dysql/test/test_mappers.py", "source_file": "dysql/mappers.py", "import_root": "dysql", "definition_path": "dysql.mappers.SingleRowMapper", "required_import_path": "dysql.SingleRowMapper", "import_statement": "from dysql import ( RecordCombiningMapper, SingleRowMapper, SingleColumnMapper, SingleRowAndColumnMapper, CountMapper, KeyValueMapper, )", "symbol": "SingleRowMapper", "kind": "class", "classification": "local-resolved" }, { "test_file": "dysql/test/test_mappers.py", "source_file": "dysql/mappers.py", "import_root": "dysql", "definition_path": "dysql.mappers.MapperError", "required_import_path": "dysql.mappers.MapperError", "import_statement": "from dysql.mappers import MapperError", "symbol": "MapperError", "kind": "exception", "classification": "local-resolved" }, { "test_file": "dysql/test/test_mappers.py", "source_file": null, "import_root": "pytest", "definition_path": null, "required_import_path": "pytest", "import_statement": "import pytest", "symbol": null, "kind": "external", "classification": "external" }, { "test_file": "dysql/test/test_mariadbmap_tojson.py", "source_file": "dysql/mappers.py", "import_root": "dysql", "definition_path": "dysql.mappers.DbMapResult", "required_import_path": "dysql.DbMapResult", "import_statement": "from dysql import DbMapResult", "symbol": "DbMapResult", "kind": "class", "classification": "local-resolved" }, { "test_file": "dysql/test/test_mariadbmap_tojson.py", "source_file": null, "import_root": "json", "definition_path": null, "required_import_path": "json", "import_statement": "import json", "symbol": null, "kind": "external", "classification": "external" }, { "test_file": "dysql/test/test_mariadbmap_tojson.py", "source_file": null, "import_root": "pytest", "definition_path": null, "required_import_path": "pytest", "import_statement": "import pytest", "symbol": null, "kind": "external", "classification": "external" }, { "test_file": "dysql/test/test_pydantic_mappers.py", "source_file": "dysql/mappers.py", "import_root": "dysql", "definition_path": "dysql.mappers.RecordCombiningMapper", "required_import_path": "dysql.RecordCombiningMapper", "import_statement": "from dysql import ( RecordCombiningMapper, SingleRowMapper, )", "symbol": "RecordCombiningMapper", "kind": "class", "classification": "local-resolved" }, { "test_file": "dysql/test/test_pydantic_mappers.py", "source_file": "dysql/mappers.py", "import_root": "dysql", "definition_path": "dysql.mappers.SingleRowMapper", "required_import_path": "dysql.SingleRowMapper", "import_statement": "from dysql import ( RecordCombiningMapper, SingleRowMapper, )", "symbol": "SingleRowMapper", "kind": "class", "classification": "local-resolved" }, { "test_file": "dysql/test/test_pydantic_mappers.py", "source_file": "dysql/pydantic_mappers.py", "import_root": "dysql", "definition_path": "dysql.pydantic_mappers.DbMapResultModel", "required_import_path": "dysql.pydantic_mappers.DbMapResultModel", "import_statement": "from dysql.pydantic_mappers import DbMapResultModel", "symbol": "DbMapResultModel", "kind": "class", "classification": "local-resolved" }, { "test_file": "dysql/test/test_pydantic_mappers.py", "source_file": null, "import_root": "json", "definition_path": null, "required_import_path": "json", "import_statement": "import json", "symbol": null, "kind": "external", "classification": "external" }, { "test_file": "dysql/test/test_pydantic_mappers.py", "source_file": null, "import_root": "pydantic", "definition_path": null, "required_import_path": "pydantic.ValidationError", "import_statement": "from pydantic import ValidationError", "symbol": "ValidationError", "kind": "external", "classification": "external" }, { "test_file": "dysql/test/test_pydantic_mappers.py", "source_file": null, "import_root": "pytest", "definition_path": null, "required_import_path": "pytest", "import_statement": "import pytest", "symbol": null, "kind": "external", "classification": "external" }, { "test_file": "dysql/test/test_pydantic_mappers.py", "source_file": null, "import_root": "typing", "definition_path": null, "required_import_path": "typing.Any", "import_statement": "from typing import Any, Dict, List, Set, Optional", "symbol": "Any", "kind": "external", "classification": "external" }, { "test_file": "dysql/test/test_pydantic_mappers.py", "source_file": null, "import_root": "typing", "definition_path": null, "required_import_path": "typing.Dict", "import_statement": "from typing import Any, Dict, List, Set, Optional", "symbol": "Dict", "kind": "external", "classification": "external" }, { "test_file": "dysql/test/test_pydantic_mappers.py", "source_file": null, "import_root": "typing", "definition_path": null, "required_import_path": "typing.List", "import_statement": "from typing import Any, Dict, List, Set, Optional", "symbol": "List", "kind": "external", "classification": "external" }, { "test_file": "dysql/test/test_pydantic_mappers.py", "source_file": null, "import_root": "typing", "definition_path": null, "required_import_path": "typing.Optional", "import_statement": "from typing import Any, Dict, List, Set, Optional", "symbol": "Optional", "kind": "external", "classification": "external" }, { "test_file": "dysql/test/test_pydantic_mappers.py", "source_file": null, "import_root": "typing", "definition_path": null, "required_import_path": "typing.Set", "import_statement": "from typing import Any, Dict, List, Set, Optional", "symbol": "Set", "kind": "external", "classification": "external" }, { "test_file": "dysql/test/test_sql_decorator.py", "source_file": "dysql/mappers.py", "import_root": "dysql", "definition_path": "dysql.mappers.CountMapper", "required_import_path": "dysql.CountMapper", "import_statement": "from dysql import ( sqlupdate, sqlquery, DbMapResult, CountMapper, SingleRowMapper, QueryData, QueryDataError, )", "symbol": "CountMapper", "kind": "class", "classification": "local-resolved" }, { "test_file": "dysql/test/test_sql_decorator.py", "source_file": "dysql/mappers.py", "import_root": "dysql", "definition_path": "dysql.mappers.DbMapResult", "required_import_path": "dysql.DbMapResult", "import_statement": "from dysql import ( sqlupdate, sqlquery, DbMapResult, CountMapper, SingleRowMapper, QueryData, QueryDataError, )", "symbol": "DbMapResult", "kind": "class", "classification": "local-resolved" }, { "test_file": "dysql/test/test_sql_decorator.py", "source_file": "dysql/query_utils.py", "import_root": "dysql", "definition_path": "dysql.query_utils.QueryData", "required_import_path": "dysql.QueryData", "import_statement": "from dysql import ( sqlupdate, sqlquery, DbMapResult, CountMapper, SingleRowMapper, QueryData, QueryDataError, )", "symbol": "QueryData", "kind": "class", "classification": "local-resolved" }, { "test_file": "dysql/test/test_sql_decorator.py", "source_file": "dysql/query_utils.py", "import_root": "dysql", "definition_path": "dysql.query_utils.QueryDataError", "required_import_path": "dysql.QueryDataError", "import_statement": "from dysql import ( sqlupdate, sqlquery, DbMapResult, CountMapper, SingleRowMapper, QueryData, QueryDataError, )", "symbol": "QueryDataError", "kind": "exception", "classification": "local-resolved" }, { "test_file": "dysql/test/test_sql_decorator.py", "source_file": "dysql/mappers.py", "import_root": "dysql", "definition_path": "dysql.mappers.SingleRowMapper", "required_import_path": "dysql.SingleRowMapper", "import_statement": "from dysql import ( sqlupdate, sqlquery, DbMapResult, CountMapper, SingleRowMapper, QueryData, QueryDataError, )", "symbol": "SingleRowMapper", "kind": "class", "classification": "local-resolved" }, { "test_file": "dysql/test/test_sql_decorator.py", "source_file": "dysql/connections.py", "import_root": "dysql", "definition_path": "dysql.connections.sqlquery", "required_import_path": "dysql.sqlquery", "import_statement": "from dysql import ( sqlupdate, sqlquery, DbMapResult, CountMapper, SingleRowMapper, QueryData, QueryDataError, )", "symbol": "sqlquery", "kind": "function", "classification": "local-resolved" }, { "test_file": "dysql/test/test_sql_decorator.py", "source_file": "dysql/connections.py", "import_root": "dysql", "definition_path": "dysql.connections.sqlupdate", "required_import_path": "dysql.sqlupdate", "import_statement": "from dysql import ( sqlupdate, sqlquery, DbMapResult, CountMapper, SingleRowMapper, QueryData, QueryDataError, )", "symbol": "sqlupdate", "kind": "function", "classification": "local-resolved" }, { "test_file": "dysql/test/test_sql_decorator.py", "source_file": "dysql/test/__init__.py", "import_root": "dysql", "definition_path": "dysql.test.setup_mock_engine", "required_import_path": "dysql.test.setup_mock_engine", "import_statement": "from dysql.test import setup_mock_engine", "symbol": "setup_mock_engine", "kind": "test-support", "classification": "test-support" }, { "test_file": "dysql/test/test_sql_decorator.py", "source_file": null, "import_root": "pytest", "definition_path": null, "required_import_path": "pytest", "import_statement": "import pytest", "symbol": null, "kind": "external", "classification": "external" }, { "test_file": "dysql/test/test_sql_exists_decorator.py", "source_file": "dysql/query_utils.py", "import_root": "dysql", "definition_path": "dysql.query_utils.QueryData", "required_import_path": "dysql.QueryData", "import_statement": "from dysql import sqlexists, QueryData", "symbol": "QueryData", "kind": "class", "classification": "local-resolved" }, { "test_file": "dysql/test/test_sql_exists_decorator.py", "source_file": "dysql/connections.py", "import_root": "dysql", "definition_path": "dysql.connections.sqlexists", "required_import_path": "dysql.sqlexists", "import_statement": "from dysql import sqlexists, QueryData", "symbol": "sqlexists", "kind": "function", "classification": "local-resolved" }, { "test_file": "dysql/test/test_sql_exists_decorator.py", "source_file": "dysql/test/__init__.py", "import_root": "dysql", "definition_path": "dysql.test.setup_mock_engine", "required_import_path": "dysql.test.setup_mock_engine", "import_statement": "from dysql.test import setup_mock_engine", "symbol": "setup_mock_engine", "kind": "test-support", "classification": "test-support" }, { "test_file": "dysql/test/test_sql_exists_decorator.py", "source_file": null, "import_root": "pytest", "definition_path": null, "required_import_path": "pytest", "import_statement": "import pytest", "symbol": null, "kind": "external", "classification": "external" }, { "test_file": "dysql/test/test_sql_exists_decorator.py", "source_file": null, "import_root": "unittest", "definition_path": null, "required_import_path": "unittest.mock.Mock", "import_statement": "from unittest.mock import Mock", "symbol": "Mock", "kind": "external", "classification": "external" }, { "test_file": "dysql/test/test_sql_in_list_templates.py", "source_file": "dysql/__init__.py", "import_root": "dysql", "definition_path": "dysql", "required_import_path": "dysql", "import_statement": "import dysql", "symbol": null, "kind": "module", "classification": "local-module" }, { "test_file": "dysql/test/test_sql_in_list_templates.py", "source_file": "dysql/query_utils.py", "import_root": "dysql", "definition_path": "dysql.query_utils.QueryData", "required_import_path": "dysql.QueryData", "import_statement": "from dysql import QueryData, sqlquery", "symbol": "QueryData", "kind": "class", "classification": "local-resolved" }, { "test_file": "dysql/test/test_sql_in_list_templates.py", "source_file": "dysql/query_utils.py", "import_root": "dysql", "definition_path": "dysql.query_utils.ListTemplateException", "required_import_path": "dysql.query_utils.ListTemplateException", "import_statement": "import dysql", "symbol": "ListTemplateException", "kind": "exception", "classification": "local-resolved" }, { "test_file": "dysql/test/test_sql_in_list_templates.py", "source_file": "dysql/connections.py", "import_root": "dysql", "definition_path": "dysql.connections.sqlquery", "required_import_path": "dysql.sqlquery", "import_statement": "from dysql import QueryData, sqlquery", "symbol": "sqlquery", "kind": "function", "classification": "local-resolved" }, { "test_file": "dysql/test/test_sql_in_list_templates.py", "source_file": "dysql/test/__init__.py", "import_root": "dysql", "definition_path": "dysql.test.setup_mock_engine", "required_import_path": "dysql.test.setup_mock_engine", "import_statement": "from dysql.test import ( verify_query, verify_query_args, verify_query_params, setup_mock_engine, )", "symbol": "setup_mock_engine", "kind": "test-support", "classification": "test-support" }, { "test_file": "dysql/test/test_sql_in_list_templates.py", "source_file": "dysql/test/__init__.py", "import_root": "dysql", "definition_path": "dysql.test.verify_query", "required_import_path": "dysql.test.verify_query", "import_statement": "from dysql.test import ( verify_query, verify_query_args, verify_query_params, setup_mock_engine, )", "symbol": "verify_query", "kind": "test-support", "classification": "test-support" }, { "test_file": "dysql/test/test_sql_in_list_templates.py", "source_file": "dysql/test/__init__.py", "import_root": "dysql", "definition_path": "dysql.test.verify_query_args", "required_import_path": "dysql.test.verify_query_args", "import_statement": "from dysql.test import ( verify_query, verify_query_args, verify_query_params, setup_mock_engine, )", "symbol": "verify_query_args", "kind": "test-support", "classification": "test-support" }, { "test_file": "dysql/test/test_sql_in_list_templates.py", "source_file": "dysql/test/__init__.py", "import_root": "dysql", "definition_path": "dysql.test.verify_query_params", "required_import_path": "dysql.test.verify_query_params", "import_statement": "from dysql.test import ( verify_query, verify_query_args, verify_query_params, setup_mock_engine, )", "symbol": "verify_query_params", "kind": "test-support", "classification": "test-support" }, { "test_file": "dysql/test/test_sql_in_list_templates.py", "source_file": null, "import_root": "pytest", "definition_path": null, "required_import_path": "pytest", "import_statement": "import pytest", "symbol": null, "kind": "external", "classification": "external" }, { "test_file": "dysql/test/test_sql_insert_templates.py", "source_file": "dysql/__init__.py", "import_root": "dysql", "definition_path": "dysql", "required_import_path": "dysql", "import_statement": "import dysql", "symbol": null, "kind": "module", "classification": "local-module" }, { "test_file": "dysql/test/test_sql_insert_templates.py", "source_file": "dysql/query_utils.py", "import_root": "dysql", "definition_path": "dysql.query_utils.QueryData", "required_import_path": "dysql.QueryData", "import_statement": "from dysql import QueryData, sqlupdate, QueryDataError", "symbol": "QueryData", "kind": "class", "classification": "local-resolved" }, { "test_file": "dysql/test/test_sql_insert_templates.py", "source_file": "dysql/query_utils.py", "import_root": "dysql", "definition_path": "dysql.query_utils.QueryDataError", "required_import_path": "dysql.QueryDataError", "import_statement": "from dysql import QueryData, sqlupdate, QueryDataError", "symbol": "QueryDataError", "kind": "exception", "classification": "local-resolved" }, { "test_file": "dysql/test/test_sql_insert_templates.py", "source_file": "dysql/query_utils.py", "import_root": "dysql", "definition_path": "dysql.query_utils.ListTemplateException", "required_import_path": "dysql.query_utils.ListTemplateException", "import_statement": "import dysql", "symbol": "ListTemplateException", "kind": "exception", "classification": "local-resolved" }, { "test_file": "dysql/test/test_sql_insert_templates.py", "source_file": "dysql/connections.py", "import_root": "dysql", "definition_path": "dysql.connections.sqlupdate", "required_import_path": "dysql.sqlupdate", "import_statement": "from dysql import QueryData, sqlupdate, QueryDataError", "symbol": "sqlupdate", "kind": "function", "classification": "local-resolved" }, { "test_file": "dysql/test/test_sql_insert_templates.py", "source_file": "dysql/test/__init__.py", "import_root": "dysql", "definition_path": "dysql.test.setup_mock_engine", "required_import_path": "dysql.test.setup_mock_engine", "import_statement": "from dysql.test import ( verify_query, verify_query_args, setup_mock_engine, )", "symbol": "setup_mock_engine", "kind": "test-support", "classification": "test-support" }, { "test_file": "dysql/test/test_sql_insert_templates.py", "source_file": "dysql/test/__init__.py", "import_root": "dysql", "definition_path": "dysql.test.verify_query", "required_import_path": "dysql.test.verify_query", "import_statement": "from dysql.test import ( verify_query, verify_query_args, setup_mock_engine, )", "symbol": "verify_query", "kind": "test-support", "classification": "test-support" }, { "test_file": "dysql/test/test_sql_insert_templates.py", "source_file": "dysql/test/__init__.py", "import_root": "dysql", "definition_path": "dysql.test.verify_query_args", "required_import_path": "dysql.test.verify_query_args", "import_statement": "from dysql.test import ( verify_query, verify_query_args, setup_mock_engine, )", "symbol": "verify_query_args", "kind": "test-support", "classification": "test-support" }, { "test_file": "dysql/test/test_sql_insert_templates.py", "source_file": null, "import_root": "pytest", "definition_path": null, "required_import_path": "pytest", "import_statement": "import pytest", "symbol": null, "kind": "external", "classification": "external" }, { "test_file": "dysql/test/test_template_generators.py", "source_file": "dysql/query_utils.py", "import_root": "dysql", "definition_path": "dysql.query_utils.ListTemplateException", "required_import_path": "dysql.query_utils.ListTemplateException", "import_statement": "from dysql.query_utils import TemplateGenerators, ListTemplateException", "symbol": "ListTemplateException", "kind": "exception", "classification": "local-resolved" }, { "test_file": "dysql/test/test_template_generators.py", "source_file": "dysql/query_utils.py", "import_root": "dysql", "definition_path": "dysql.query_utils.TemplateGenerators", "required_import_path": "dysql.query_utils.TemplateGenerators", "import_statement": "from dysql.query_utils import TemplateGenerators, ListTemplateException", "symbol": "TemplateGenerators", "kind": "class", "classification": "local-resolved" }, { "test_file": "dysql/test/test_template_generators.py", "source_file": null, "import_root": "pytest", "definition_path": null, "required_import_path": "pytest", "import_statement": "import pytest", "symbol": null, "kind": "external", "classification": "external" }, { "test_file": "dysql/test/test_test_managers.py", "source_file": "dysql/test_managers.py", "import_root": "dysql", "definition_path": "dysql.test_managers.MariaDbTestManager", "required_import_path": "dysql.test_managers.MariaDbTestManager", "import_statement": "from dysql.test_managers import MariaDbTestManager", "symbol": "MariaDbTestManager", "kind": "test-support", "classification": "test-support" }, { "test_file": "dysql/test/test_test_managers.py", "source_file": null, "import_root": "pytest", "definition_path": null, "required_import_path": "pytest", "import_statement": "import pytest", "symbol": null, "kind": "external", "classification": "external" }, { "test_file": "dysql/test/test_test_managers.py", "source_file": null, "import_root": "unittest", "definition_path": null, "required_import_path": "unittest.mock.patch", "import_statement": "from unittest.mock import patch", "symbol": "patch", "kind": "external", "classification": "external" }, { "test_file": "dysql/test_managers.py", "source_file": null, "import_root": "abc", "definition_path": null, "required_import_path": "abc", "import_statement": "import abc", "symbol": null, "kind": "external", "classification": "external" }, { "test_file": "dysql/test_managers.py", "source_file": "dysql/connections.py", "import_root": "dysql", "definition_path": "dysql.connections.sqlquery", "required_import_path": "dysql.connections.sqlquery", "import_statement": "from .connections import sqlquery", "symbol": "sqlquery", "kind": "function", "classification": "local-resolved" }, { "test_file": "dysql/test_managers.py", "source_file": "dysql/databases.py", "import_root": "dysql", "definition_path": "dysql.databases.is_set_current_database_supported", "required_import_path": "dysql.databases.is_set_current_database_supported", "import_statement": "from .databases import ( is_set_current_database_supported, set_current_database, set_default_connection_parameters, )", "symbol": "is_set_current_database_supported", "kind": "function", "classification": "local-resolved" }, { "test_file": "dysql/test_managers.py", "source_file": "dysql/databases.py", "import_root": "dysql", "definition_path": "dysql.databases.set_current_database", "required_import_path": "dysql.databases.set_current_database", "import_statement": "from .databases import ( is_set_current_database_supported, set_current_database, set_default_connection_parameters, )", "symbol": "set_current_database", "kind": "function", "classification": "local-resolved" }, { "test_file": "dysql/test_managers.py", "source_file": "dysql/databases.py", "import_root": "dysql", "definition_path": "dysql.databases.set_default_connection_parameters", "required_import_path": "dysql.databases.set_default_connection_parameters", "import_statement": "from .databases import ( is_set_current_database_supported, set_current_database, set_default_connection_parameters, )", "symbol": "set_default_connection_parameters", "kind": "function", "classification": "local-resolved" }, { "test_file": "dysql/test_managers.py", "source_file": "dysql/mappers.py", "import_root": "dysql", "definition_path": "dysql.mappers.CountMapper", "required_import_path": "dysql.mappers.CountMapper", "import_statement": "from .mappers import CountMapper", "symbol": "CountMapper", "kind": "class", "classification": "local-resolved" }, { "test_file": "dysql/test_managers.py", "source_file": "dysql/query_utils.py", "import_root": "dysql", "definition_path": "dysql.query_utils.QueryData", "required_import_path": "dysql.query_utils.QueryData", "import_statement": "from .query_utils import QueryData", "symbol": "QueryData", "kind": "class", "classification": "local-resolved" }, { "test_file": "dysql/test_managers.py", "source_file": null, "import_root": "logging", "definition_path": null, "required_import_path": "logging", "import_statement": "import logging", "symbol": null, "kind": "external", "classification": "external" }, { "test_file": "dysql/test_managers.py", "source_file": null, "import_root": "os", "definition_path": null, "required_import_path": "os", "import_statement": "import os", "symbol": null, "kind": "external", "classification": "external" }, { "test_file": "dysql/test_managers.py", "source_file": null, "import_root": "subprocess", "definition_path": null, "required_import_path": "subprocess", "import_statement": "import subprocess", "symbol": null, "kind": "external", "classification": "external" }, { "test_file": "dysql/test_managers.py", "source_file": null, "import_root": "time", "definition_path": null, "required_import_path": "time.sleep", "import_statement": "from time import sleep", "symbol": "sleep", "kind": "external", "classification": "external" }, { "test_file": "dysql/test_managers.py", "source_file": null, "import_root": "typing", "definition_path": null, "required_import_path": "typing.Optional", "import_statement": "from typing import Optional", "symbol": "Optional", "kind": "external", "classification": "external" } ], "test_import_contract_digest": "e418f8f800d4141b74510d62280c7f020aac94c0c9014f59bafd7203769d332b" }
{
"passed_ptp": [
"dysql.test.test_annotations::test_from_csv_to_list",
"dysql.test.test_annotations::test_from_csv_to_list_invalid",
"dysql.test.test_database_initialization::test_nothing_set",
"dysql.test.test_database_initialization::test_fields_required",
"dysql.test.test_database_initialization::test_minimal_credentials",
"dysql.test.test_database_initialization::test_init_hook",
"dysql.test.test_database_initialization::test_init_hook_multiple_databases",
"dysql.test.test_database_initialization::test_current_database_default",
"dysql.test.test_database_initialization::test_different_charset_collation",
"dysql.test.test_database_initialization::test_is_set_current_database_supported",
"dysql.test.test_database_initialization::test_current_database_set",
"dysql.test.test_database_initialization::test_current_database_cached",
"dysql.test.test_mappers::TestMappers::test_record_combining",
"dysql.test.test_mappers::TestMappers::test_record_combining_no_record_mapper",
"dysql.test.test_mappers::TestMappers::test_single_row",
"dysql.test.test_mappers::TestMappers::test_single_row_no_record_mapper",
"dysql.test.test_mappers::TestMappers::test_single_column",
"dysql.test.test_mappers::TestMappers::test_single_column_and_row",
"dysql.test.test_mappers::TestMappers::test_key_mapper_key_has_multiple",
"dysql.test.test_mappers::TestMappers::test_key_mapper_key_value_same",
"dysql.test.test_mariadbmap_tojson::test_raw_json_format",
"dysql.test.test_pydantic_mappers::test_field_conversion",
"dysql.test.test_pydantic_mappers::test_complex_object_record_combining",
"dysql.test.test_pydantic_mappers::test_record_combining_multi_column_id",
"dysql.test.test_pydantic_mappers::test_complex_object_with_null_values",
"dysql.test.test_pydantic_mappers::test_csv_list_field",
"dysql.test.test_pydantic_mappers::test_csv_list_field_single_value",
"dysql.test.test_pydantic_mappers::test_csv_list_field_empty_string",
"dysql.test.test_pydantic_mappers::test_csv_list_field_extends",
"dysql.test.test_pydantic_mappers::test_csv_list_field_multiple_records_duplicates",
"dysql.test.test_pydantic_mappers::test_csv_list_field_none_in_first_record",
"dysql.test.test_pydantic_mappers::test_csv_list_field_without_mapping_ignored",
"dysql.test.test_pydantic_mappers::test_csv_list_field_invalid_type",
"dysql.test.test_pydantic_mappers::test_json_field",
"dysql.test.test_pydantic_mappers::test_invalid_json",
"dysql.test.test_pydantic_mappers::test_json_none",
"dysql.test.test_sql_decorator::TestSqlSelectDecorator::test_non_query_data_fails",
"dysql.test.test_sql_decorator::TestSqlSelectDecorator::test_map_not_specified",
"dysql.test.test_sql_decorator::TestSqlSelectDecorator::test_single",
"dysql.test.test_sql_decorator::TestSqlSelectDecorator::test_count",
"dysql.test.test_sql_decorator::TestSqlSelectDecorator::test_execute_no_params",
"dysql.test.test_sql_decorator::TestSqlSelectDecorator::test_execute_params",
"dysql.test.test_sql_decorator::TestSqlSelectDecorator::test_list_results_map",
"dysql.test.test_sql_decorator::TestSqlSelectDecorator::test_isolation_default",
"dysql.test.test_sql_decorator::TestSqlSelectDecorator::test_isolation_default_read_uncommited",
"dysql.test.test_sql_decorator::TestSqlUpdateDecorator::test_isolation_default",
"dysql.test.test_sql_decorator::TestSqlUpdateDecorator::test_isolation_default_read_uncommited",
"dysql.test.test_sql_decorator::TestSqlUpdateDecorator::test_transaction",
"dysql.test.test_sql_decorator::TestSqlUpdateDecorator::test_transaction_fails",
"dysql.test.test_sql_decorator::TestSqlUpdateDecorator::test_execute_passes_values",
"dysql.test.test_sql_decorator::TestSqlUpdateDecorator::test_execute_query_values_none",
"dysql.test.test_sql_decorator::TestSqlUpdateDecorator::test_execute_query_values_not_given",
"dysql.test.test_sql_decorator::TestSqlUpdateDecorator::test_execute_multi_yield",
"dysql.test.test_sql_decorator::TestSqlUpdateDecorator::test_execute_fails_list_if_multi_false",
"dysql.test.test_sql_decorator::TestSqlUpdateDecorator::test_execute_multi_yield_and_lists",
"dysql.test.test_sql_decorator::TestSqlUpdateDecorator::test_execute_multi_yield_and_lists_some_no_params",
"dysql.test.test_sql_decorator::TestSqlUpdateDecorator::test_set_foreign_key_checks_default",
"dysql.test.test_sql_decorator::TestSqlUpdateDecorator::test_set_foreign_key_checks_true",
"dysql.test.test_sql_exists_decorator::test_exists_true",
"dysql.test.test_sql_exists_decorator::test_exists_false",
"dysql.test.test_sql_exists_decorator::test_exists_true_params",
"dysql.test.test_sql_exists_decorator::test_exists_false_params",
"dysql.test.test_sql_exists_decorator::test_exists_query_contains_with_exists_true",
"dysql.test.test_sql_exists_decorator::test_exists_query_contains_with_exists_false",
"dysql.test.test_sql_exists_decorator::test_exists_without_where_true",
"dysql.test.test_sql_exists_decorator::test_exists_witohut_where_false",
"dysql.test.test_sql_exists_decorator::test_exists_query_starts_with_exists_handles_whitespace",
"dysql.test.test_sql_in_list_templates::test_list_in_numbers",
"dysql.test.test_sql_in_list_templates::test_list_in__strings",
"dysql.test.test_sql_in_list_templates::test_list_not_in_numbers",
"dysql.test.test_sql_in_list_templates::test_list_not_in_strings",
"dysql.test.test_sql_in_list_templates::test_list_in_handles_empty",
"dysql.test.test_sql_in_list_templates::test_list_in_handles_no_param",
"dysql.test.test_sql_in_list_templates::test_list_in_multiple_lists",
"dysql.test.test_sql_in_list_templates::test_list_in_multiple_lists_one_empty",
"dysql.test.test_sql_in_list_templates::test_list_in_multiple_lists_one_missing",
"dysql.test.test_sql_in_list_templates::test_list_in_multiple_lists_all_missing",
"dysql.test.test_sql_in_list_templates::test_list_not_in_handles_empty",
"dysql.test.test_sql_in_list_templates::test_list_not_in_handles_no_param",
"dysql.test.test_sql_in_list_templates::test_list_gives_template_space_before",
"dysql.test.test_sql_in_list_templates::test_list_gives_template_space_after",
"dysql.test.test_sql_in_list_templates::test_list_gives_template_space_before_and_after",
"dysql.test.test_sql_in_list_templates::test_in_contains_whitespace",
"dysql.test.test_sql_in_list_templates::test_template_handles_table_qualifier",
"dysql.test.test_sql_in_list_templates::test_template_handles_multiple_table_qualifier",
"dysql.test.test_sql_in_list_templates::test_empty_in_contains_whitespace",
"dysql.test.test_sql_in_list_templates::test_multiple_templates_same_column_diff_table",
"dysql.test.test_sql_insert_templates::test_insert_non_query_data_fails",
"dysql.test.test_sql_insert_templates::test_insert_single_column",
"dysql.test.test_sql_insert_templates::test_insert_single_column_single_value",
"dysql.test.test_sql_insert_templates::test_insert_single_value_empty",
"dysql.test.test_sql_insert_templates::test_insert_single_value_no_key",
"dysql.test.test_sql_insert_templates::test_insert_multiple_values",
"dysql.test.test_sql_insert_templates::test_insert_with_callback",
"dysql.test.test_sql_insert_templates::test_insert_with_callack_not_called",
"dysql.test.test_sql_insert_templates::test_last_insert_id",
"dysql.test.test_sql_insert_templates::test_last_insert_id_removed_before_callback",
"dysql.test.test_template_generators::TestTemplatesGenerators::test_query",