datamasque-python 1.0.0__tar.gz → 1.0.1__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.
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/HISTORY.rst +5 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/PKG-INFO +1 -1
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/datamasque/client/models/connection.py +1 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/pyproject.toml +1 -1
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/setup.cfg +1 -1
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/tests/test_connections.py +21 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/uv.lock +1 -1
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/.editorconfig +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/.github/workflows/ci.yml +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/.github/workflows/release-testpypi.yml +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/.github/workflows/release.yml +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/.gitignore +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/.readthedocs.yaml +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/CONTRIBUTING.rst +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/LICENSE +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/MANIFEST.in +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/Makefile +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/NOTICE +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/README.rst +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/datamasque/client/__init__.py +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/datamasque/client/base.py +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/datamasque/client/connections.py +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/datamasque/client/discovery.py +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/datamasque/client/dmclient.py +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/datamasque/client/exceptions.py +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/datamasque/client/files.py +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/datamasque/client/ifm.py +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/datamasque/client/license.py +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/datamasque/client/models/__init__.py +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/datamasque/client/models/data_selection.py +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/datamasque/client/models/discovery.py +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/datamasque/client/models/dm_instance.py +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/datamasque/client/models/files.py +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/datamasque/client/models/ifm.py +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/datamasque/client/models/license.py +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/datamasque/client/models/pagination.py +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/datamasque/client/models/ruleset.py +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/datamasque/client/models/ruleset_library.py +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/datamasque/client/models/runs.py +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/datamasque/client/models/status.py +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/datamasque/client/models/user.py +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/datamasque/client/py.typed +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/datamasque/client/ruleset_libraries.py +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/datamasque/client/rulesets.py +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/datamasque/client/runs.py +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/datamasque/client/settings.py +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/datamasque/client/users.py +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/docs/Makefile +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/docs/client.models.rst +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/docs/client.rst +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/docs/conf.py +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/docs/contributing.rst +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/docs/history.rst +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/docs/index.rst +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/docs/installation.rst +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/docs/make.bat +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/docs/modules.rst +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/docs/readme.rst +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/docs/usage.rst +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/tests/__init__.py +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/tests/conftest.py +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/tests/helpers.py +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/tests/test_base.py +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/tests/test_discovery.py +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/tests/test_files.py +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/tests/test_ifm.py +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/tests/test_license.py +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/tests/test_pagination.py +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/tests/test_ruleset_library.py +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/tests/test_rulesets.py +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/tests/test_runs.py +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/tests/test_settings.py +0 -0
- {datamasque_python-1.0.0 → datamasque_python-1.0.1}/tests/test_users.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: datamasque-python
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.1
|
|
4
4
|
Summary: Official Python client for the DataMasque data-masking API.
|
|
5
5
|
Project-URL: Homepage, https://datamasque.com/
|
|
6
6
|
Project-URL: Documentation, https://datamasque-python.readthedocs.io/
|
|
@@ -768,6 +768,27 @@ def test_database_connection_model_validate_keeps_schema_for_postgres():
|
|
|
768
768
|
assert conn.db_schema == "public"
|
|
769
769
|
|
|
770
770
|
|
|
771
|
+
def test_database_connection_model_validate_databricks_lakebase():
|
|
772
|
+
payload = {
|
|
773
|
+
"id": "abc-lakebase",
|
|
774
|
+
"name": "lakebase",
|
|
775
|
+
"mask_type": "database",
|
|
776
|
+
"db_type": "databricks_lakebase",
|
|
777
|
+
"host": "lakebase-host",
|
|
778
|
+
"port": 5432,
|
|
779
|
+
"database": "lakebasedb",
|
|
780
|
+
"user": "lakebase_user",
|
|
781
|
+
"schema": "public",
|
|
782
|
+
"is_read_only": False,
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
conn = DatabaseConnectionConfig.model_validate(payload)
|
|
786
|
+
|
|
787
|
+
assert isinstance(conn, DatabaseConnectionConfig)
|
|
788
|
+
assert conn.database_type is DatabaseType.databricks_lakebase
|
|
789
|
+
assert conn.db_schema == "public"
|
|
790
|
+
|
|
791
|
+
|
|
771
792
|
def test_mssql_linked_connection_model_validate_includes_linked_server():
|
|
772
793
|
payload = {
|
|
773
794
|
"id": "48a7af45-f63f-4e05-bf9f-7b1cc3a0e89d",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{datamasque_python-1.0.0 → datamasque_python-1.0.1}/datamasque/client/models/data_selection.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{datamasque_python-1.0.0 → datamasque_python-1.0.1}/datamasque/client/models/ruleset_library.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|