datacontract-cli 1.2.2__tar.gz → 1.2.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {datacontract_cli-1.2.2/datacontract_cli.egg-info → datacontract_cli-1.2.3}/PKG-INFO +54 -40
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/README.md +40 -34
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/api.py +2 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/command_edit.py +1 -1
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/command_export.py +18 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/command_import.py +110 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/config/settings.py +74 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/data_contract.py +2 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/engines/checks/create_checks.py +40 -12
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/engines/checks/physical_type_match.py +33 -1
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/engines/checks/sql_guard.py +2 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/engines/data_contract_test.py +23 -10
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/engines/fastjsonschema/check_jsonschema.py +77 -50
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/engines/fastjsonschema/s3/s3_read_files.py +6 -8
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/engines/ibis/connections/aws_credentials.py +12 -3
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/engines/ibis/connections/connect.py +57 -3
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/engines/ibis/connections/duckdb_connection.py +174 -71
- datacontract_cli-1.2.3/datacontract/engines/ibis/connections/hive_patch.py +53 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/engines/ibis/ibis_check_execute.py +42 -6
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/engines/ibis/native_type.py +32 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/export/dbt_exporter.py +14 -5
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/export/exporter.py +1 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/export/exporter_factory.py +4 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/export/jsonschema_exporter.py +10 -4
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/export/pydantic_exporter.py +37 -1
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/export/sodacl_check_builder.py +77 -14
- datacontract_cli-1.2.3/datacontract/export/xsd_exporter.py +337 -0
- datacontract_cli-1.2.3/datacontract/imports/clickhouse_importer.py +262 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/imports/dbt_importer.py +12 -0
- datacontract_cli-1.2.3/datacontract/imports/hive_importer.py +196 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/imports/importer.py +4 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/imports/importer_factory.py +20 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/imports/jsonschema_importer.py +184 -20
- datacontract_cli-1.2.3/datacontract/imports/openapi_importer.py +187 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/imports/sql_importer.py +20 -2
- datacontract_cli-1.2.3/datacontract/imports/xsd_importer.py +432 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/integration/dbt_sync.py +24 -5
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/integration/dbt_test_mapping.py +23 -13
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/integration/entropy_data.py +11 -9
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/lint/resolve.py +109 -26
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/model/run.py +3 -1
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/model/server.py +3 -2
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/output/ci_output.py +11 -7
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/output/test_results_writer.py +11 -5
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/templates/macros/schema.html +12 -13
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/templates/partials_odcs/schema.html +7 -8
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3/datacontract_cli.egg-info}/PKG-INFO +54 -40
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract_cli.egg-info/SOURCES.txt +22 -1
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract_cli.egg-info/requires.txt +16 -5
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/pyproject.toml +27 -6
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_api.py +140 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_ci_output.py +36 -7
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_config_threading.py +5 -5
- datacontract_cli-1.2.3/tests/test_connect_clickhouse.py +112 -0
- datacontract_cli-1.2.3/tests/test_connect_hive.py +117 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_connect_s3_credentials.py +38 -4
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_dbt_sync.py +63 -12
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_dbt_test_mapping.py +24 -14
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_export_dbt_models.py +89 -36
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_export_dbt_sources.py +39 -28
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_export_html.py +56 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_export_jsonschema.py +26 -0
- datacontract_cli-1.2.3/tests/test_export_pydantic.py +361 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_export_sodacl.py +40 -0
- datacontract_cli-1.2.3/tests/test_export_xsd.py +594 -0
- datacontract_cli-1.2.3/tests/test_import_clickhouse.py +184 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_import_dbt.py +68 -0
- datacontract_cli-1.2.3/tests/test_import_hive.py +172 -0
- datacontract_cli-1.2.3/tests/test_import_jsonschema.py +340 -0
- datacontract_cli-1.2.3/tests/test_import_openapi.py +138 -0
- datacontract_cli-1.2.3/tests/test_import_sql_clickhouse.py +42 -0
- datacontract_cli-1.2.3/tests/test_import_sql_hive.py +61 -0
- datacontract_cli-1.2.3/tests/test_import_sql_struct.py +20 -0
- datacontract_cli-1.2.3/tests/test_import_xsd.py +583 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_install_extras.py +2 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_lint.py +1 -1
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_nested_path_checks.py +32 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_physical_type_match.py +103 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_resolve_definitions.py +40 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_roundtrip_pydantic_model.py +6 -3
- datacontract_cli-1.2.3/tests/test_roundtrip_xsd.py +256 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_servers_3_2_0.py +52 -0
- datacontract_cli-1.2.3/tests/test_test_api_openapi_import.py +151 -0
- datacontract_cli-1.2.3/tests/test_test_array_items.py +193 -0
- datacontract_cli-1.2.3/tests/test_test_clickhouse.py +147 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_diagnostics.py +72 -0
- datacontract_cli-1.2.3/tests/test_test_hive.py +156 -0
- datacontract_cli-1.2.3/tests/test_test_local_json.py +159 -0
- datacontract_cli-1.2.3/tests/test_test_local_xml.py +463 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_metadata_only.py +2 -2
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_oracle.py +22 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_postgres.py +19 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_quality_id_and_tag_filter.py +16 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_redshift.py +19 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_results_writer.py +27 -0
- datacontract_cli-1.2.3/tests/test_test_s3_json_multiple_files.py +84 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_schema_evolution.py +3 -9
- datacontract_cli-1.2.2/tests/test_export_pydantic.py +0 -188
- datacontract_cli-1.2.2/tests/test_import_jsonschema.py +0 -151
- datacontract_cli-1.2.2/tests/test_test_array_items.py +0 -109
- datacontract_cli-1.2.2/tests/test_test_local_json.py +0 -21
- datacontract_cli-1.2.2/tests/test_test_s3_json_remote.py +0 -23
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/LICENSE +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/MANIFEST.in +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/__init__.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/breaking/__init__.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/breaking/detector.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/breaking/rules.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/catalog/catalog.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/changelog/__init__.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/changelog/changelog.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/changelog/normalize.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/cli.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/command_api.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/command_breaking.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/command_catalog.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/command_changelog.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/command_ci.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/command_dbt.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/command_init.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/command_lint.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/command_publish.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/command_test.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/config/__init__.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/config/cli_context.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/config/variables.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/editor_assets/VERSION +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/editor_assets/assets/editor.worker-4.7.0.js +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/editor_assets/assets/yaml.worker-4.7.0.js +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/editor_assets/datacontract-editor.css +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/editor_assets/datacontract-editor.es.js +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/editor_assets/index.html +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/editor_assets/logo_fuchsia_v2.svg +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/editor_assets/monaco-4.7.0.js +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/editor_assets/odcs.svg +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/editor_assets/robots.txt +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/editor_assets/rolldown-runtime-DY7j01NX.js +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/editor_assets/sitemap.xml +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/engines/__init__.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/engines/checks/__init__.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/engines/checks/check_filter.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/engines/checks/check_spec.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/engines/checks/dimensions.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/engines/checks/severity.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/engines/checks/type_normalize.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/engines/datacontract/check_azure_blob_file.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/engines/datacontract/check_that_datacontract_contains_valid_servers_configuration.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/engines/datacontract/check_that_datacontract_file_exists.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/engines/hana/__init__.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/engines/hana/check_hana_execute.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/engines/hana/hana_check_selection.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/engines/hana/hana_connection.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/engines/hana/hana_quality_check.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/engines/hana/hana_schema_check.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/engines/hana/hana_type_mapping.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/engines/ibis/__init__.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/engines/ibis/connections/__init__.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/engines/ibis/connections/databricks_patch.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/engines/ibis/connections/exasol_patch.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/engines/ibis/connections/iceberg.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/engines/ibis/connections/kafka.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/engines/ibis/connections/oracle_patch.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/engines/ibis/connections/redshift_credentials.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/engines/ibis/connections/redshift_patch.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/engines/ibis/dtype_category.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/engines/ibis/snowflake_structured_types.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/export/__init__.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/export/avro_exporter.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/export/avro_idl_exporter.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/export/bigquery_exporter.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/export/custom_exporter.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/export/data_caterer_exporter.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/export/dbml_exporter.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/export/dcs_exporter.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/export/dqx_exporter.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/export/duckdb_type_converter.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/export/excel_exporter.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/export/go_exporter.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/export/great_expectations_exporter.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/export/html_exporter.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/export/iceberg_exporter.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/export/markdown_exporter.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/export/mermaid_exporter.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/export/odcs_v3_exporter.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/export/pandas_type_converter.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/export/protobuf_exporter.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/export/rdf_exporter.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/export/sodacl_exporter.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/export/spark_exporter.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/export/sql_exporter.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/export/sql_type_converter.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/export/sqlalchemy_exporter.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/imports/athena_importer.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/imports/avro_importer.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/imports/bigquery_importer.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/imports/csv_importer.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/imports/dbml_importer.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/imports/dcs_importer.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/imports/excel_importer.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/imports/glue_importer.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/imports/iceberg_importer.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/imports/json_importer.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/imports/mysql_importer.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/imports/object_storage_importer.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/imports/odata_importer.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/imports/odcs_helper.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/imports/odcs_importer.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/imports/oracle_importer.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/imports/parquet_importer.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/imports/postgres_importer.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/imports/powerbi_importer.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/imports/protobuf_importer.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/imports/pydantic_importer.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/imports/redshift_importer.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/imports/snowflake_importer.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/imports/spark_importer.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/imports/spark_type_json.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/imports/sqlserver_importer.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/imports/trino_importer.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/imports/unity_importer.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/init/init_template.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/lint/constraints.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/lint/files.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/lint/resources.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/lint/s3.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/lint/schema.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/lint/urls.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/model/breaking.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/model/changelog.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/model/enum_values.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/model/exceptions.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/model/map_type.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/model/natural_keys.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/model/odcs.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/model/vector_type.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/model/workbook.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/output/__init__.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/output/json_test_results.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/output/junit_test_results.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/output/output_format.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/output/text_breaking_results.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/output/text_changelog_results.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/py.typed +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/schemas/datacontract-1.1.0.init.yaml +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/schemas/datacontract-1.1.0.schema.json +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/schemas/datacontract-1.2.0.init.yaml +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/schemas/datacontract-1.2.0.schema.json +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/schemas/datacontract-1.2.1.init.yaml +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/schemas/datacontract-1.2.1.schema.json +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/schemas/odcs-3.0.2.schema.json +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/schemas/odcs-3.1.0.schema.json +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/schemas/odcs-3.2.0.init.yaml +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/schemas/odcs-3.2.0.schema.json +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/templates/datacontract.html +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/templates/datacontract_odcs.html +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/templates/excel/odcs-template-v3.0.xlsx +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/templates/excel/odcs-template-v3.1.xlsx +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/templates/excel/odcs-template-v3.2.xlsx +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/templates/index.html +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/templates/macros/authoritative_definitions.html +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/templates/macros/context.html +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/templates/macros/server.html +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/templates/macros/support.html +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/templates/partials/datacontract_information.html +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/templates/partials/datacontract_servicelevels.html +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/templates/partials/datacontract_terms.html +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/templates/partials/definition.html +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/templates/partials/example.html +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/templates/partials/model_field.html +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/templates/partials/quality.html +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/templates/partials/server.html +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/templates/partials_odcs/context.html +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/templates/partials_odcs/custom_properties.html +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/templates/partials_odcs/diagram.html +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/templates/partials_odcs/dialog_yaml.html +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/templates/partials_odcs/footer.html +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/templates/partials_odcs/fundamentals.html +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/templates/partials_odcs/header.html +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/templates/partials_odcs/pricing.html +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/templates/partials_odcs/roles.html +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/templates/partials_odcs/servers.html +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/templates/partials_odcs/sla.html +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/templates/partials_odcs/support.html +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/templates/partials_odcs/team.html +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/templates/partials_odcs/term_of_use.html +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/templates/partials_odcs/title.html +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract/templates/style/output.css +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract_cli.egg-info/dependency_links.txt +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract_cli.egg-info/entry_points.txt +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/datacontract_cli.egg-info/top_level.txt +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/setup.cfg +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_api_openapi.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_breaking.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_breaking_odcs_3_2.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_catalog.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_changelog.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_changelog_engine.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_changelog_normalize.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_changelog_output_text.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_check_quality_provenance.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_cli.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_command_api.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_command_api_options.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_config.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_config_file.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_config_require.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_connect_athena.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_connect_bigquery.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_connect_databricks.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_connect_exasol.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_connect_impala.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_connect_mysql.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_connect_oracle.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_connect_postgres.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_connect_redshift.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_connect_snowflake.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_connect_sqlserver.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_connect_trino.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_create_checks_array_items.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_create_checks_nested.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_create_checks_nested_type.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_create_checks_physical_type.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_create_checks_primary_key.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_create_checks_retention_period.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_create_checks_servicelevel.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_create_checks_sql_placeholders.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_data_contract.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_data_contract_checks.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_data_contract_specification.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_description_linter.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_docs_commands.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_docs_config_options.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_docs_ordering.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_download_datacontract_file.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_dtype_category.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_duckdb_json.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_edit.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_enum_values.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_export_avro.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_export_avro_idl.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_export_bigquery.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_export_complex_data_contract.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_export_custom.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_export_custom_exporter.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_export_custom_model.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_export_data_caterer.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_export_dbml.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_export_dbt_staging_sql.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_export_dcs.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_export_dqx.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_export_excel.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_export_go.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_export_great_expectations.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_export_iceberg.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_export_large_contract.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_export_markdown.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_export_mermaid.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_export_odcs_v3.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_export_protobuf.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_export_rdf.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_export_spark.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_export_sql.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_export_sql_clickhouse.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_export_sql_query.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_export_sqlalchemy.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_hana_connection.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_hana_quality_check.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_hana_schema_check.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_hana_type_mapping.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_ibis_check_execute.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_ibis_mssql_pattern.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_ibis_mssql_schema.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_ibis_oracle_schema.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_import_athena.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_import_avro.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_import_bigquery.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_import_csv.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_import_dbml.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_import_excel.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_import_glue.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_import_iceberg.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_import_json.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_import_mysql.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_import_object_storage.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_import_odata.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_import_odcs_v3.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_import_oracle.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_import_parquet.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_import_postgres.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_import_powerbi.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_import_protobuf.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_import_pydantic_model.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_import_redshift.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_import_snowflake.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_import_spark_type_json.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_import_sql_oracle.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_import_sql_postgres.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_import_sql_snowflake.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_import_sql_sqlserver.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_import_sqlserver.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_import_trino.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_import_unity_file.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_import_unmapped_types.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_integration_entropydata.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_lint_files.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_lint_odcs_3_2_constraints.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_lint_schema.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_lint_urls.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_map_type.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_metadata_fields.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_native_type_schema_scope.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_oracle_patch.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_publish_test_results.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_publish_test_results_payload.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_quality_sql_dialects.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_quality_unrunnable_rules.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_redshift_credentials.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_redshift_patch.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_resolve.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_resolve_local_definitions.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_roundtrip_jsonschema.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_row_filter_duplicate_count.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_run_check_deprecated_fields.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_run_check_engine.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_server_overrides.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_server_type_mssql.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_server_type_synonyms.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_snowflake_structured_types.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_sql_type_converter_physicaltype.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_api.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_athena_iceberg.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_azure_blob_file.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_azure_remote.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_bigquery.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_checks_filter.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_databricks.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_delta.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_dimension_filter.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_dry_run.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_duckdb.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_failed_samples.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_gcs_csv_remote.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_gcs_json_remote.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_hana.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_iceberg.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_iceberg_rest.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_iceberg_s3tables.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_kafka.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_kafka_decoding.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_kafka_remote.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_local_json_nd.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_mysql.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_nested_checks.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_oracle_xe.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_output_json.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_output_junit.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_parquet.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_quality.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_quality_local_fallback.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_quality_percent_severity.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_row_filter.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_s3_csv.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_s3_delta.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_s3_json.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_s3_json_complex.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_s3_json_multiple_models.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_server_not_found.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_snowflake.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_soda_connection_error.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_sqlserver.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_trino.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_test_variables.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_type_normalize.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_untrusted_contract.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_untrusted_contract_variables.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_variables.py +0 -0
- {datacontract_cli-1.2.2 → datacontract_cli-1.2.3}/tests/test_vector_type.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: datacontract-cli
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.3
|
|
4
4
|
Summary: The datacontract CLI is an open source command-line tool for working with Data Contracts. It uses data contract YAML files to lint the data contract, connect to data sources and execute schema and quality tests, detect breaking changes, and export to different formats. The tool is written in Python. It can be used as a standalone CLI tool, in a CI/CD pipeline, or directly as a Python library.
|
|
5
5
|
Author-email: Jochen Christ <jochen.christ@entropy-data.com>, Stefan Negele <stefan.negele@innoq.com>, Simon Harrer <simon.harrer@entropy-data.com>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -52,6 +52,9 @@ Provides-Extra: avro
|
|
|
52
52
|
Requires-Dist: avro==1.12.2; extra == "avro"
|
|
53
53
|
Provides-Extra: bigquery
|
|
54
54
|
Requires-Dist: ibis-framework[bigquery]<13.0.0,>=10.0.0; extra == "bigquery"
|
|
55
|
+
Provides-Extra: clickhouse
|
|
56
|
+
Requires-Dist: ibis-framework[clickhouse]<13.0.0,>=10.0.0; extra == "clickhouse"
|
|
57
|
+
Requires-Dist: packaging<27.0,>=21.3; extra == "clickhouse"
|
|
55
58
|
Provides-Extra: csv
|
|
56
59
|
Requires-Dist: datacontract-cli[duckdb]; extra == "csv"
|
|
57
60
|
Provides-Extra: excel
|
|
@@ -66,8 +69,8 @@ Requires-Dist: pyarrow-hotfix>=0.4; extra == "dataframe"
|
|
|
66
69
|
Requires-Dist: rich>=12.4.4; extra == "dataframe"
|
|
67
70
|
Provides-Extra: databricks
|
|
68
71
|
Requires-Dist: ibis-framework[databricks]<13.0.0,>=10.0.0; extra == "databricks"
|
|
69
|
-
Requires-Dist: databricks-sql-connector<4.
|
|
70
|
-
Requires-Dist: databricks-sdk<0.
|
|
72
|
+
Requires-Dist: databricks-sql-connector<4.7.0,>=3.7.0; extra == "databricks"
|
|
73
|
+
Requires-Dist: databricks-sdk<0.143.0; extra == "databricks"
|
|
71
74
|
Requires-Dist: packaging<27.0,>=21.3; extra == "databricks"
|
|
72
75
|
Provides-Extra: databricks-runtime
|
|
73
76
|
Requires-Dist: datacontract-cli[databricks]; extra == "databricks-runtime"
|
|
@@ -125,6 +128,9 @@ Requires-Dist: packaging<27.0,>=21.3; extra == "trino"
|
|
|
125
128
|
Provides-Extra: impala
|
|
126
129
|
Requires-Dist: ibis-framework[impala]<13.0.0,>=10.0.0; extra == "impala"
|
|
127
130
|
Requires-Dist: packaging<27.0,>=21.3; extra == "impala"
|
|
131
|
+
Provides-Extra: hive
|
|
132
|
+
Requires-Dist: ibis-framework[impala]<13.0.0,>=10.0.0; extra == "hive"
|
|
133
|
+
Requires-Dist: packaging<27.0,>=21.3; extra == "hive"
|
|
128
134
|
Provides-Extra: dbml
|
|
129
135
|
Requires-Dist: pydbml>=1.1.1; extra == "dbml"
|
|
130
136
|
Provides-Extra: duckdb
|
|
@@ -136,11 +142,13 @@ Provides-Extra: rdf
|
|
|
136
142
|
Requires-Dist: rdflib==7.6.0; extra == "rdf"
|
|
137
143
|
Provides-Extra: api
|
|
138
144
|
Requires-Dist: fastapi<0.142.0,>=0.115.0; extra == "api"
|
|
139
|
-
Requires-Dist: uvicorn<0.
|
|
145
|
+
Requires-Dist: uvicorn<0.55.0,>=0.44.0; extra == "api"
|
|
140
146
|
Provides-Extra: protobuf
|
|
141
147
|
Requires-Dist: proto-schema-parser<3.0,>=1.0; extra == "protobuf"
|
|
148
|
+
Provides-Extra: xml
|
|
149
|
+
Requires-Dist: xmlschema<5.0,>=4.0; extra == "xml"
|
|
142
150
|
Provides-Extra: all
|
|
143
|
-
Requires-Dist: datacontract-cli[api,athena,avro,azure,bigquery,csv,databricks,dataframe,dbml,duckdb,exasol,excel,gcs,iceberg,impala,kafka,mysql,oracle,parquet,postgres,protobuf,rdf,redshift,s3,snowflake,sqlserver,trino]; extra == "all"
|
|
151
|
+
Requires-Dist: datacontract-cli[api,athena,avro,azure,bigquery,clickhouse,csv,databricks,dataframe,dbml,duckdb,exasol,excel,gcs,hive,iceberg,impala,kafka,mysql,oracle,parquet,postgres,protobuf,rdf,redshift,s3,snowflake,sqlserver,trino,xml]; extra == "all"
|
|
144
152
|
Provides-Extra: dev
|
|
145
153
|
Requires-Dist: datacontract-cli[all]; extra == "dev"
|
|
146
154
|
Requires-Dist: httpx==0.28.1; extra == "dev"
|
|
@@ -156,7 +164,7 @@ Requires-Dist: pytest-xdist; extra == "dev"
|
|
|
156
164
|
Requires-Dist: pymssql==2.4.1; extra == "dev"
|
|
157
165
|
Requires-Dist: psycopg2-binary<3.0,>=2.9; extra == "dev"
|
|
158
166
|
Requires-Dist: mysql-connector-python<26.8.0,>=8.0.30; extra == "dev"
|
|
159
|
-
Requires-Dist: ruff==0.16.
|
|
167
|
+
Requires-Dist: ruff==0.16.9; extra == "dev"
|
|
160
168
|
Requires-Dist: testcontainers[kafka,minio,mssql,mysql,postgres]==4.15.0; extra == "dev"
|
|
161
169
|
Requires-Dist: trino==0.339.0; extra == "dev"
|
|
162
170
|
Dynamic: license-file
|
|
@@ -186,7 +194,7 @@ It can be used as a standalone CLI tool, in a CI/CD pipeline, or directly as a P
|
|
|
186
194
|
>
|
|
187
195
|
> Quick links: [Quickstart](https://docs.datacontract.com/quickstart) · [Commands](https://docs.datacontract.com/commands) · [Best Practices](https://docs.datacontract.com/best-practices) · [Custom Export and Import](https://docs.datacontract.com/extending) · [Release Notes](https://docs.datacontract.com/release-notes) · [Development Setup](#development-setup)
|
|
188
196
|
>
|
|
189
|
-
> For LLMs: [
|
|
197
|
+
> For LLMs: [docs.datacontract.com/llms.txt](https://docs.datacontract.com/llms.txt) · [docs.datacontract.com/llms-full.txt](https://docs.datacontract.com/llms-full.txt)
|
|
190
198
|
|
|
191
199
|
## Getting started
|
|
192
200
|
|
|
@@ -214,36 +222,41 @@ $ datacontract test https://datacontract.com/orders-v1.odcs.yaml
|
|
|
214
222
|
# returns:
|
|
215
223
|
Testing https://datacontract.com/orders-v1.odcs.yaml
|
|
216
224
|
Server: production (type=postgres, host=aws-1-eu-central-2.pooler.supabase.com, port=6543, database=postgres, schema=dp_orders_v1)
|
|
217
|
-
|
|
218
|
-
│ Result │ Check
|
|
219
|
-
|
|
220
|
-
│ passed │ Check that field 'line_item_id' is present
|
|
221
|
-
│ passed │ Check that field line_item_id has type UUID │ line_items.line_item_id │ │
|
|
222
|
-
│ passed │ Check that field line_item_id has no missing values
|
|
223
|
-
│ passed │ Check that field
|
|
224
|
-
│ passed │ Check that field order_id
|
|
225
|
-
│ passed │ Check that field
|
|
226
|
-
│ passed │ Check that field price
|
|
227
|
-
│ passed │ Check that field price has
|
|
228
|
-
│ passed │ Check that field
|
|
229
|
-
│ passed │ Check that field sku
|
|
230
|
-
│ passed │ Check that field sku has
|
|
231
|
-
│ passed │ Check that field
|
|
232
|
-
│ passed │ Check that
|
|
233
|
-
│ passed │ Check that field customer_id
|
|
234
|
-
│ passed │ Check that field
|
|
235
|
-
│ passed │ Check that field
|
|
236
|
-
│ passed │ Check that field
|
|
237
|
-
│ passed │ Check that
|
|
238
|
-
│ passed │ Check that field '
|
|
239
|
-
│ passed │ Check that field
|
|
240
|
-
│ passed │ Check that field
|
|
241
|
-
│ passed │ Check that field
|
|
242
|
-
│ passed │ Check that field '
|
|
243
|
-
│ passed │ Check that field
|
|
244
|
-
│ passed │ Check that field
|
|
245
|
-
|
|
246
|
-
|
|
225
|
+
╭────────┬───────────────────────────────────────────────────────────────────┬─────────────────────────┬─────────╮
|
|
226
|
+
│ Result │ Check │ Field │ Details │
|
|
227
|
+
├────────┼───────────────────────────────────────────────────────────────────┼─────────────────────────┼─────────┤
|
|
228
|
+
│ passed │ Check that field 'line_item_id' is present │ line_items.line_item_id │ │
|
|
229
|
+
│ passed │ Check that field line_item_id has physical type UUID │ line_items.line_item_id │ │
|
|
230
|
+
│ passed │ Check that field line_item_id has no missing values │ line_items.line_item_id │ │
|
|
231
|
+
│ passed │ Check that primary key field line_item_id has no duplicate values │ line_items.line_item_id │ │
|
|
232
|
+
│ passed │ Check that field 'order_id' is present │ line_items.order_id │ │
|
|
233
|
+
│ passed │ Check that field order_id has physical type UUID │ line_items.order_id │ │
|
|
234
|
+
│ passed │ Check that field 'price' is present │ line_items.price │ │
|
|
235
|
+
│ passed │ Check that field price has physical type INTEGER │ line_items.price │ │
|
|
236
|
+
│ passed │ Check that field price has no missing values │ line_items.price │ │
|
|
237
|
+
│ passed │ Check that field 'sku' is present │ line_items.sku │ │
|
|
238
|
+
│ passed │ Check that field sku has physical type TEXT │ line_items.sku │ │
|
|
239
|
+
│ passed │ Check that field sku has no missing values │ line_items.sku │ │
|
|
240
|
+
│ passed │ Check that model orders has row_count > 100000 │ orders │ │
|
|
241
|
+
│ passed │ Check that field 'customer_id' is present │ orders.customer_id │ │
|
|
242
|
+
│ passed │ Check that field customer_id has physical type TEXT │ orders.customer_id │ │
|
|
243
|
+
│ passed │ Check that field customer_id has no missing values │ orders.customer_id │ │
|
|
244
|
+
│ passed │ Check that field customer_id has a min length of 10 │ orders.customer_id │ │
|
|
245
|
+
│ passed │ Check that field customer_id has a max length of 10 │ orders.customer_id │ │
|
|
246
|
+
│ passed │ Check that field 'order_id' is present │ orders.order_id │ │
|
|
247
|
+
│ passed │ Check that field order_id has physical type UUID │ orders.order_id │ │
|
|
248
|
+
│ passed │ Check that field order_id has no missing values │ orders.order_id │ │
|
|
249
|
+
│ passed │ Check that unique field order_id has no duplicate values │ orders.order_id │ │
|
|
250
|
+
│ passed │ Check that field 'order_status' is present │ orders.order_status │ │
|
|
251
|
+
│ passed │ Check that field order_status has physical type TEXT │ orders.order_status │ │
|
|
252
|
+
│ passed │ Check that field order_status has invalid_count = 0 │ orders.order_status │ │
|
|
253
|
+
│ passed │ Check that field 'order_timestamp' is present │ orders.order_timestamp │ │
|
|
254
|
+
│ passed │ Check that field order_timestamp has physical type TIMESTAMPTZ │ orders.order_timestamp │ │
|
|
255
|
+
│ passed │ Check that field 'order_total' is present │ orders.order_total │ │
|
|
256
|
+
│ passed │ Check that field order_total has physical type INTEGER │ orders.order_total │ │
|
|
257
|
+
│ passed │ Check that field order_total has no missing values │ orders.order_total │ │
|
|
258
|
+
╰────────┴───────────────────────────────────────────────────────────────────┴─────────────────────────┴─────────╯
|
|
259
|
+
🟢 Data contract is valid. Run 30 checks. Took 2.504495 seconds.
|
|
247
260
|
```
|
|
248
261
|
|
|
249
262
|
Voilà, the CLI tested that the YAML itself is valid, all records comply with the schema, and all quality attributes are met.
|
|
@@ -342,7 +355,7 @@ if not run.has_passed():
|
|
|
342
355
|
## How to
|
|
343
356
|
|
|
344
357
|
- [How to integrate Data Contract CLI in your CI/CD pipeline as a GitHub Action](https://github.com/datacontract/datacontract-action/)
|
|
345
|
-
- [How to run the Data Contract CLI API to test data contracts with POST requests](https://
|
|
358
|
+
- [How to run the Data Contract CLI API to test data contracts with POST requests](https://docs.datacontract.com/api)
|
|
346
359
|
- [How to run Data Contract CLI in a Databricks pipeline](https://www.datamesh-architecture.com/howto/build-a-dataproduct-with-databricks#test-the-data-product)
|
|
347
360
|
|
|
348
361
|
|
|
@@ -363,11 +376,11 @@ uv tool install --python python3.11 --upgrade 'datacontract-cli[all]'
|
|
|
363
376
|
If you have [uv](https://docs.astral.sh/uv/) installed, you can run datacontract-cli directly without installing:
|
|
364
377
|
|
|
365
378
|
```
|
|
366
|
-
|
|
379
|
+
uvx --from 'datacontract-cli[all]' datacontract --version
|
|
367
380
|
```
|
|
368
381
|
|
|
369
382
|
### pip
|
|
370
|
-
Python 3.10
|
|
383
|
+
Python 3.10–3.14 are supported. We recommend using Python 3.11.
|
|
371
384
|
|
|
372
385
|
```bash
|
|
373
386
|
python3 -m pip install 'datacontract-cli[all]'
|
|
@@ -456,6 +469,7 @@ A list of available extras:
|
|
|
456
469
|
| Snowflake | `pip install datacontract-cli[snowflake]` |
|
|
457
470
|
| Microsoft SQL Server | `pip install datacontract-cli[sqlserver]` |
|
|
458
471
|
| Trino | `pip install datacontract-cli[trino]` |
|
|
472
|
+
| XML Schema (import) | `pip install datacontract-cli[xml]` |
|
|
459
473
|
|
|
460
474
|
|
|
461
475
|
## Documentation
|
|
@@ -23,7 +23,7 @@ It can be used as a standalone CLI tool, in a CI/CD pipeline, or directly as a P
|
|
|
23
23
|
>
|
|
24
24
|
> Quick links: [Quickstart](https://docs.datacontract.com/quickstart) · [Commands](https://docs.datacontract.com/commands) · [Best Practices](https://docs.datacontract.com/best-practices) · [Custom Export and Import](https://docs.datacontract.com/extending) · [Release Notes](https://docs.datacontract.com/release-notes) · [Development Setup](#development-setup)
|
|
25
25
|
>
|
|
26
|
-
> For LLMs: [
|
|
26
|
+
> For LLMs: [docs.datacontract.com/llms.txt](https://docs.datacontract.com/llms.txt) · [docs.datacontract.com/llms-full.txt](https://docs.datacontract.com/llms-full.txt)
|
|
27
27
|
|
|
28
28
|
## Getting started
|
|
29
29
|
|
|
@@ -51,36 +51,41 @@ $ datacontract test https://datacontract.com/orders-v1.odcs.yaml
|
|
|
51
51
|
# returns:
|
|
52
52
|
Testing https://datacontract.com/orders-v1.odcs.yaml
|
|
53
53
|
Server: production (type=postgres, host=aws-1-eu-central-2.pooler.supabase.com, port=6543, database=postgres, schema=dp_orders_v1)
|
|
54
|
-
|
|
55
|
-
│ Result │ Check
|
|
56
|
-
|
|
57
|
-
│ passed │ Check that field 'line_item_id' is present
|
|
58
|
-
│ passed │ Check that field line_item_id has type UUID │ line_items.line_item_id │ │
|
|
59
|
-
│ passed │ Check that field line_item_id has no missing values
|
|
60
|
-
│ passed │ Check that field
|
|
61
|
-
│ passed │ Check that field order_id
|
|
62
|
-
│ passed │ Check that field
|
|
63
|
-
│ passed │ Check that field price
|
|
64
|
-
│ passed │ Check that field price has
|
|
65
|
-
│ passed │ Check that field
|
|
66
|
-
│ passed │ Check that field sku
|
|
67
|
-
│ passed │ Check that field sku has
|
|
68
|
-
│ passed │ Check that field
|
|
69
|
-
│ passed │ Check that
|
|
70
|
-
│ passed │ Check that field customer_id
|
|
71
|
-
│ passed │ Check that field
|
|
72
|
-
│ passed │ Check that field
|
|
73
|
-
│ passed │ Check that field
|
|
74
|
-
│ passed │ Check that
|
|
75
|
-
│ passed │ Check that field '
|
|
76
|
-
│ passed │ Check that field
|
|
77
|
-
│ passed │ Check that field
|
|
78
|
-
│ passed │ Check that field
|
|
79
|
-
│ passed │ Check that field '
|
|
80
|
-
│ passed │ Check that field
|
|
81
|
-
│ passed │ Check that field
|
|
82
|
-
|
|
83
|
-
|
|
54
|
+
╭────────┬───────────────────────────────────────────────────────────────────┬─────────────────────────┬─────────╮
|
|
55
|
+
│ Result │ Check │ Field │ Details │
|
|
56
|
+
├────────┼───────────────────────────────────────────────────────────────────┼─────────────────────────┼─────────┤
|
|
57
|
+
│ passed │ Check that field 'line_item_id' is present │ line_items.line_item_id │ │
|
|
58
|
+
│ passed │ Check that field line_item_id has physical type UUID │ line_items.line_item_id │ │
|
|
59
|
+
│ passed │ Check that field line_item_id has no missing values │ line_items.line_item_id │ │
|
|
60
|
+
│ passed │ Check that primary key field line_item_id has no duplicate values │ line_items.line_item_id │ │
|
|
61
|
+
│ passed │ Check that field 'order_id' is present │ line_items.order_id │ │
|
|
62
|
+
│ passed │ Check that field order_id has physical type UUID │ line_items.order_id │ │
|
|
63
|
+
│ passed │ Check that field 'price' is present │ line_items.price │ │
|
|
64
|
+
│ passed │ Check that field price has physical type INTEGER │ line_items.price │ │
|
|
65
|
+
│ passed │ Check that field price has no missing values │ line_items.price │ │
|
|
66
|
+
│ passed │ Check that field 'sku' is present │ line_items.sku │ │
|
|
67
|
+
│ passed │ Check that field sku has physical type TEXT │ line_items.sku │ │
|
|
68
|
+
│ passed │ Check that field sku has no missing values │ line_items.sku │ │
|
|
69
|
+
│ passed │ Check that model orders has row_count > 100000 │ orders │ │
|
|
70
|
+
│ passed │ Check that field 'customer_id' is present │ orders.customer_id │ │
|
|
71
|
+
│ passed │ Check that field customer_id has physical type TEXT │ orders.customer_id │ │
|
|
72
|
+
│ passed │ Check that field customer_id has no missing values │ orders.customer_id │ │
|
|
73
|
+
│ passed │ Check that field customer_id has a min length of 10 │ orders.customer_id │ │
|
|
74
|
+
│ passed │ Check that field customer_id has a max length of 10 │ orders.customer_id │ │
|
|
75
|
+
│ passed │ Check that field 'order_id' is present │ orders.order_id │ │
|
|
76
|
+
│ passed │ Check that field order_id has physical type UUID │ orders.order_id │ │
|
|
77
|
+
│ passed │ Check that field order_id has no missing values │ orders.order_id │ │
|
|
78
|
+
│ passed │ Check that unique field order_id has no duplicate values │ orders.order_id │ │
|
|
79
|
+
│ passed │ Check that field 'order_status' is present │ orders.order_status │ │
|
|
80
|
+
│ passed │ Check that field order_status has physical type TEXT │ orders.order_status │ │
|
|
81
|
+
│ passed │ Check that field order_status has invalid_count = 0 │ orders.order_status │ │
|
|
82
|
+
│ passed │ Check that field 'order_timestamp' is present │ orders.order_timestamp │ │
|
|
83
|
+
│ passed │ Check that field order_timestamp has physical type TIMESTAMPTZ │ orders.order_timestamp │ │
|
|
84
|
+
│ passed │ Check that field 'order_total' is present │ orders.order_total │ │
|
|
85
|
+
│ passed │ Check that field order_total has physical type INTEGER │ orders.order_total │ │
|
|
86
|
+
│ passed │ Check that field order_total has no missing values │ orders.order_total │ │
|
|
87
|
+
╰────────┴───────────────────────────────────────────────────────────────────┴─────────────────────────┴─────────╯
|
|
88
|
+
🟢 Data contract is valid. Run 30 checks. Took 2.504495 seconds.
|
|
84
89
|
```
|
|
85
90
|
|
|
86
91
|
Voilà, the CLI tested that the YAML itself is valid, all records comply with the schema, and all quality attributes are met.
|
|
@@ -179,7 +184,7 @@ if not run.has_passed():
|
|
|
179
184
|
## How to
|
|
180
185
|
|
|
181
186
|
- [How to integrate Data Contract CLI in your CI/CD pipeline as a GitHub Action](https://github.com/datacontract/datacontract-action/)
|
|
182
|
-
- [How to run the Data Contract CLI API to test data contracts with POST requests](https://
|
|
187
|
+
- [How to run the Data Contract CLI API to test data contracts with POST requests](https://docs.datacontract.com/api)
|
|
183
188
|
- [How to run Data Contract CLI in a Databricks pipeline](https://www.datamesh-architecture.com/howto/build-a-dataproduct-with-databricks#test-the-data-product)
|
|
184
189
|
|
|
185
190
|
|
|
@@ -200,11 +205,11 @@ uv tool install --python python3.11 --upgrade 'datacontract-cli[all]'
|
|
|
200
205
|
If you have [uv](https://docs.astral.sh/uv/) installed, you can run datacontract-cli directly without installing:
|
|
201
206
|
|
|
202
207
|
```
|
|
203
|
-
|
|
208
|
+
uvx --from 'datacontract-cli[all]' datacontract --version
|
|
204
209
|
```
|
|
205
210
|
|
|
206
211
|
### pip
|
|
207
|
-
Python 3.10
|
|
212
|
+
Python 3.10–3.14 are supported. We recommend using Python 3.11.
|
|
208
213
|
|
|
209
214
|
```bash
|
|
210
215
|
python3 -m pip install 'datacontract-cli[all]'
|
|
@@ -293,6 +298,7 @@ A list of available extras:
|
|
|
293
298
|
| Snowflake | `pip install datacontract-cli[snowflake]` |
|
|
294
299
|
| Microsoft SQL Server | `pip install datacontract-cli[sqlserver]` |
|
|
295
300
|
| Trino | `pip install datacontract-cli[trino]` |
|
|
301
|
+
| XML Schema (import) | `pip install datacontract-cli[xml]` |
|
|
296
302
|
|
|
297
303
|
|
|
298
304
|
## Documentation
|
|
@@ -502,6 +502,8 @@ _ENVIRONMENT_CREDENTIAL_TARGETS: dict[str, tuple[str, str | None, tuple[str, ...
|
|
|
502
502
|
"impala": ("host", "impala_host", ("impala_password",)),
|
|
503
503
|
"trino": ("host", "trino_host", ("trino_password",)),
|
|
504
504
|
"exasol": ("host", "exasol_host", ("exasol_password",)),
|
|
505
|
+
"clickhouse": ("host", "clickhouse_host", ("clickhouse_password",)),
|
|
506
|
+
"hive": ("host", "hive_host", ("hive_password",)),
|
|
505
507
|
"redshift": ("host", "redshift_host", ("redshift_password",)),
|
|
506
508
|
"sqlserver": ("host", "sqlserver_host", ("sqlserver_password",)),
|
|
507
509
|
"snowflake": (
|
|
@@ -336,7 +336,7 @@ def edit(
|
|
|
336
336
|
The server also acts as the editor's test runner: "Run test" in the editor executes
|
|
337
337
|
the data contract tests locally against the servers defined in the data contract.
|
|
338
338
|
Credentials for the data sources must be provided as environment variables, see
|
|
339
|
-
https://
|
|
339
|
+
https://docs.datacontract.com/testing
|
|
340
340
|
"""
|
|
341
341
|
enable_debug_logging(debug)
|
|
342
342
|
|
|
@@ -306,6 +306,24 @@ def export_jsonschema(
|
|
|
306
306
|
_export(ExportFormat.jsonschema, location, output, server, schema_name, schema, inline_references=inline_references)
|
|
307
307
|
|
|
308
308
|
|
|
309
|
+
@export_app.command(
|
|
310
|
+
name="xsd",
|
|
311
|
+
epilog="Example: datacontract export xsd datacontract.yaml --output schema.xsd",
|
|
312
|
+
)
|
|
313
|
+
def export_xsd(
|
|
314
|
+
location: location_arg = "datacontract.yaml",
|
|
315
|
+
output: output_option = None,
|
|
316
|
+
server: server_option = None,
|
|
317
|
+
schema_name: schema_name_option = "all",
|
|
318
|
+
schema: schema_option = None,
|
|
319
|
+
inline_references: inline_references_option = True,
|
|
320
|
+
debug: debug_option = None,
|
|
321
|
+
):
|
|
322
|
+
"""Export a data contract to an XML Schema (XSD)."""
|
|
323
|
+
enable_debug_logging(debug)
|
|
324
|
+
_export(ExportFormat.xsd, location, output, server, schema_name, schema, inline_references=inline_references)
|
|
325
|
+
|
|
326
|
+
|
|
309
327
|
@export_app.command(
|
|
310
328
|
name="pydantic-model",
|
|
311
329
|
epilog="Example: datacontract export pydantic-model datacontract.yaml --output models.py",
|
|
@@ -316,6 +316,26 @@ def import_jsonschema(
|
|
|
316
316
|
_write_result(result, output)
|
|
317
317
|
|
|
318
318
|
|
|
319
|
+
@import_app.command(
|
|
320
|
+
name="xsd",
|
|
321
|
+
epilog="Example: datacontract import xsd --source schema.xsd --output datacontract.yaml",
|
|
322
|
+
)
|
|
323
|
+
def import_xsd(
|
|
324
|
+
source: Annotated[Optional[str], typer.Option(help="Path to the XML Schema (XSD) file.")] = None,
|
|
325
|
+
output: output_option = None,
|
|
326
|
+
schema: schema_option = None,
|
|
327
|
+
owner: owner_option = None,
|
|
328
|
+
id: id_option = None,
|
|
329
|
+
debug: debug_option = None,
|
|
330
|
+
):
|
|
331
|
+
"""Import a data contract from an XML Schema (XSD) file."""
|
|
332
|
+
enable_debug_logging(debug)
|
|
333
|
+
result = DataContract.import_from_source(
|
|
334
|
+
config=cli_config(), format="xsd", source=source, schema=schema, owner=owner, id=id
|
|
335
|
+
)
|
|
336
|
+
_write_result(result, output)
|
|
337
|
+
|
|
338
|
+
|
|
319
339
|
@import_app.command(
|
|
320
340
|
name="json",
|
|
321
341
|
epilog="Example: datacontract import json --source data.json --output datacontract.yaml",
|
|
@@ -835,6 +855,70 @@ def import_mysql(
|
|
|
835
855
|
_write_result(result, output)
|
|
836
856
|
|
|
837
857
|
|
|
858
|
+
@import_app.command(
|
|
859
|
+
name="clickhouse",
|
|
860
|
+
epilog="Example: datacontract import clickhouse --source localhost --database default --output datacontract.yaml",
|
|
861
|
+
)
|
|
862
|
+
def import_clickhouse(
|
|
863
|
+
source: Annotated[Optional[str], typer.Option(help="The host of the ClickHouse server.")] = None,
|
|
864
|
+
port: Annotated[Optional[int], typer.Option(help="The ClickHouse HTTP port (default 8123).")] = None,
|
|
865
|
+
database: database_option = None,
|
|
866
|
+
table: Annotated[
|
|
867
|
+
Optional[List[str]],
|
|
868
|
+
typer.Option(help="Name of a table to import (repeat for multiple tables, omit for all tables)."),
|
|
869
|
+
] = None,
|
|
870
|
+
output: output_option = None,
|
|
871
|
+
owner: owner_option = None,
|
|
872
|
+
id: id_option = None,
|
|
873
|
+
debug: debug_option = None,
|
|
874
|
+
):
|
|
875
|
+
"""Import a data contract from a ClickHouse database."""
|
|
876
|
+
enable_debug_logging(debug)
|
|
877
|
+
result = DataContract.import_from_source(
|
|
878
|
+
config=cli_config(),
|
|
879
|
+
format="clickhouse",
|
|
880
|
+
source=source,
|
|
881
|
+
port=port,
|
|
882
|
+
database=database,
|
|
883
|
+
clickhouse_table=table,
|
|
884
|
+
owner=owner,
|
|
885
|
+
id=id,
|
|
886
|
+
)
|
|
887
|
+
_write_result(result, output)
|
|
888
|
+
|
|
889
|
+
|
|
890
|
+
@import_app.command(
|
|
891
|
+
name="hive",
|
|
892
|
+
epilog="Example: datacontract import hive --source localhost --database default --output datacontract.yaml",
|
|
893
|
+
)
|
|
894
|
+
def import_hive(
|
|
895
|
+
source: Annotated[Optional[str], typer.Option(help="The host of the HiveServer2.")] = None,
|
|
896
|
+
port: Annotated[Optional[int], typer.Option(help="The HiveServer2 port (default 10000).")] = None,
|
|
897
|
+
database: database_option = None,
|
|
898
|
+
table: Annotated[
|
|
899
|
+
Optional[List[str]],
|
|
900
|
+
typer.Option(help="Name of a table to import (repeat for multiple tables, omit for all tables)."),
|
|
901
|
+
] = None,
|
|
902
|
+
output: output_option = None,
|
|
903
|
+
owner: owner_option = None,
|
|
904
|
+
id: id_option = None,
|
|
905
|
+
debug: debug_option = None,
|
|
906
|
+
):
|
|
907
|
+
"""Import a data contract from a Hive database."""
|
|
908
|
+
enable_debug_logging(debug)
|
|
909
|
+
result = DataContract.import_from_source(
|
|
910
|
+
config=cli_config(),
|
|
911
|
+
format="hive",
|
|
912
|
+
source=source,
|
|
913
|
+
port=port,
|
|
914
|
+
database=database,
|
|
915
|
+
hive_table=table,
|
|
916
|
+
owner=owner,
|
|
917
|
+
id=id,
|
|
918
|
+
)
|
|
919
|
+
_write_result(result, output)
|
|
920
|
+
|
|
921
|
+
|
|
838
922
|
@import_app.command(
|
|
839
923
|
name="s3",
|
|
840
924
|
epilog="Example: datacontract import s3 --source s3://my-bucket/orders/*.json --output datacontract.yaml",
|
|
@@ -958,3 +1042,29 @@ def import_odata(
|
|
|
958
1042
|
id=id,
|
|
959
1043
|
)
|
|
960
1044
|
_write_result(result, output)
|
|
1045
|
+
|
|
1046
|
+
|
|
1047
|
+
@import_app.command(
|
|
1048
|
+
name="openapi",
|
|
1049
|
+
epilog="Example: datacontract import openapi --source openapi.yaml --operation listOrders --output datacontract.yaml",
|
|
1050
|
+
)
|
|
1051
|
+
def import_openapi(
|
|
1052
|
+
source: Annotated[Optional[str], typer.Option(help="Path to the OpenAPI 3.x document (YAML or JSON).")] = None,
|
|
1053
|
+
operation: Annotated[
|
|
1054
|
+
Optional[str],
|
|
1055
|
+
typer.Option(
|
|
1056
|
+
help="The GET operation to import, by operationId or path (e.g. listOrders or /orders). "
|
|
1057
|
+
"Required when the document has more than one GET operation."
|
|
1058
|
+
),
|
|
1059
|
+
] = None,
|
|
1060
|
+
output: output_option = None,
|
|
1061
|
+
owner: owner_option = None,
|
|
1062
|
+
id: id_option = None,
|
|
1063
|
+
debug: debug_option = None,
|
|
1064
|
+
):
|
|
1065
|
+
"""Import a data contract from the response of a GET operation in an OpenAPI 3.x document."""
|
|
1066
|
+
enable_debug_logging(debug)
|
|
1067
|
+
result = DataContract.import_from_source(
|
|
1068
|
+
config=cli_config(), format="openapi", source=source, openapi_operation=operation, owner=owner, id=id
|
|
1069
|
+
)
|
|
1070
|
+
_write_result(result, output)
|
|
@@ -35,6 +35,9 @@ SERVER_OVERRIDE_OPTIONS = {
|
|
|
35
35
|
"athena_workgroup": "workgroup",
|
|
36
36
|
"bigquery_project": "project",
|
|
37
37
|
"bigquery_dataset": "dataset",
|
|
38
|
+
"clickhouse_host": "host",
|
|
39
|
+
"clickhouse_port": "port",
|
|
40
|
+
"clickhouse_database": "database",
|
|
38
41
|
"databricks_server_hostname": "host",
|
|
39
42
|
"databricks_catalog": "catalog",
|
|
40
43
|
"databricks_schema": "schema",
|
|
@@ -43,6 +46,9 @@ SERVER_OVERRIDE_OPTIONS = {
|
|
|
43
46
|
"exasol_host": "host",
|
|
44
47
|
"exasol_port": "port",
|
|
45
48
|
"exasol_schema": "schema",
|
|
49
|
+
"hive_host": "host",
|
|
50
|
+
"hive_port": "port",
|
|
51
|
+
"hive_database": "database",
|
|
46
52
|
"iceberg_catalog_url": "catalogUrl",
|
|
47
53
|
"iceberg_catalog": "catalog",
|
|
48
54
|
"iceberg_namespace": "namespace",
|
|
@@ -128,6 +134,15 @@ class Config(BaseSettings):
|
|
|
128
134
|
bigquery_project: str | None = None
|
|
129
135
|
bigquery_dataset: str | None = None
|
|
130
136
|
|
|
137
|
+
# clickhouse
|
|
138
|
+
clickhouse_username: str | None = None
|
|
139
|
+
clickhouse_password: SecretStr | None = None
|
|
140
|
+
clickhouse_secure: bool | None = None
|
|
141
|
+
# overrides for the contract's servers block
|
|
142
|
+
clickhouse_host: str | None = None
|
|
143
|
+
clickhouse_port: int | None = None
|
|
144
|
+
clickhouse_database: str | None = None
|
|
145
|
+
|
|
131
146
|
# databricks
|
|
132
147
|
databricks_server_hostname: str | None = None
|
|
133
148
|
databricks_http_path: str | None = None
|
|
@@ -156,6 +171,18 @@ class Config(BaseSettings):
|
|
|
156
171
|
hana_ssl_validate_certificate: bool | None = None
|
|
157
172
|
hana_ssl_hostname_in_certificate: str | None = None
|
|
158
173
|
|
|
174
|
+
# hive
|
|
175
|
+
hive_username: str | None = None
|
|
176
|
+
hive_password: SecretStr | None = None
|
|
177
|
+
hive_auth_mechanism: str | None = None
|
|
178
|
+
hive_use_ssl: bool | None = None
|
|
179
|
+
hive_use_http_transport: bool | None = None
|
|
180
|
+
hive_http_path: str | None = None
|
|
181
|
+
# overrides for the contract's servers block
|
|
182
|
+
hive_host: str | None = None
|
|
183
|
+
hive_port: int | None = None
|
|
184
|
+
hive_database: str | None = None
|
|
185
|
+
|
|
159
186
|
# iceberg (REST catalog by default; data files use the s3_* options)
|
|
160
187
|
iceberg_catalog_type: str | None = None
|
|
161
188
|
iceberg_credential: SecretStr | None = None
|
|
@@ -543,6 +570,25 @@ class Config(BaseSettings):
|
|
|
543
570
|
def get_bigquery_dataset(self, required: bool = False) -> str | None:
|
|
544
571
|
return self._str_option("bigquery_dataset", required)
|
|
545
572
|
|
|
573
|
+
# --- clickhouse ---
|
|
574
|
+
def get_clickhouse_username(self, required: bool = False) -> str | None:
|
|
575
|
+
return self._str_option("clickhouse_username", required)
|
|
576
|
+
|
|
577
|
+
def get_clickhouse_password(self, required: bool = False) -> str | None:
|
|
578
|
+
return self._str_option("clickhouse_password", required)
|
|
579
|
+
|
|
580
|
+
def get_clickhouse_secure(self, default: bool = False) -> bool:
|
|
581
|
+
return self._bool_option("clickhouse_secure", default)
|
|
582
|
+
|
|
583
|
+
def get_clickhouse_host(self, required: bool = False) -> str | None:
|
|
584
|
+
return self._str_option("clickhouse_host", required)
|
|
585
|
+
|
|
586
|
+
def get_clickhouse_port(self) -> int | None:
|
|
587
|
+
return self._int_option("clickhouse_port")
|
|
588
|
+
|
|
589
|
+
def get_clickhouse_database(self, required: bool = False) -> str | None:
|
|
590
|
+
return self._str_option("clickhouse_database", required)
|
|
591
|
+
|
|
546
592
|
# --- databricks ---
|
|
547
593
|
def get_databricks_server_hostname(self, required: bool = False) -> str | None:
|
|
548
594
|
return self._str_option("databricks_server_hostname", required)
|
|
@@ -594,6 +640,34 @@ class Config(BaseSettings):
|
|
|
594
640
|
def get_hana_ssl_hostname_in_certificate(self, required: bool = False) -> str | None:
|
|
595
641
|
return self._str_option("hana_ssl_hostname_in_certificate", required)
|
|
596
642
|
|
|
643
|
+
# --- hive ---
|
|
644
|
+
def get_hive_username(self, required: bool = False) -> str | None:
|
|
645
|
+
return self._str_option("hive_username", required)
|
|
646
|
+
|
|
647
|
+
def get_hive_password(self, required: bool = False) -> str | None:
|
|
648
|
+
return self._str_option("hive_password", required)
|
|
649
|
+
|
|
650
|
+
def get_hive_auth_mechanism(self, required: bool = False) -> str | None:
|
|
651
|
+
return self._str_option("hive_auth_mechanism", required)
|
|
652
|
+
|
|
653
|
+
def get_hive_use_ssl(self, default: bool = False) -> bool:
|
|
654
|
+
return self._bool_option("hive_use_ssl", default)
|
|
655
|
+
|
|
656
|
+
def get_hive_use_http_transport(self, default: bool = False) -> bool:
|
|
657
|
+
return self._bool_option("hive_use_http_transport", default)
|
|
658
|
+
|
|
659
|
+
def get_hive_http_path(self, required: bool = False) -> str | None:
|
|
660
|
+
return self._str_option("hive_http_path", required)
|
|
661
|
+
|
|
662
|
+
def get_hive_host(self, required: bool = False) -> str | None:
|
|
663
|
+
return self._str_option("hive_host", required)
|
|
664
|
+
|
|
665
|
+
def get_hive_port(self) -> int | None:
|
|
666
|
+
return self._int_option("hive_port")
|
|
667
|
+
|
|
668
|
+
def get_hive_database(self, required: bool = False) -> str | None:
|
|
669
|
+
return self._str_option("hive_database", required)
|
|
670
|
+
|
|
597
671
|
# --- iceberg ---
|
|
598
672
|
def get_iceberg_catalog_type(self, required: bool = False) -> str | None:
|
|
599
673
|
return self._str_option("iceberg_catalog_type", required)
|
|
@@ -285,6 +285,8 @@ class DataContract:
|
|
|
285
285
|
if self._publish_url is not None or self._publish_test_results:
|
|
286
286
|
if self._dry_run:
|
|
287
287
|
run.log_warn("Publishing skipped (--dry-run is set).")
|
|
288
|
+
elif run.result in (ResultEnum.skipped, ResultEnum.unknown):
|
|
289
|
+
run.log_warn("Publishing skipped (no checks were executed).")
|
|
288
290
|
else:
|
|
289
291
|
run.publish_succeeded = publish_test_results_to_entropy_data(
|
|
290
292
|
run, self._publish_url, self._ssl_verification, config=self._config
|