unitycatalog-client 0.3.1__tar.gz → 0.4.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.
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/.openapi-generator/FILES +2 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/PKG-INFO +7 -7
- unitycatalog_client-0.4.1/classpath +1 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/pyproject.toml +22 -19
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/setup.py +1 -1
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/__init__.py +3 -1
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/api_client.py +1 -1
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/configuration.py +1 -1
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/__init__.py +2 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/catalog_info.py +6 -2
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/column_type_name.py +1 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/create_catalog.py +4 -2
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/create_schema.py +4 -2
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/create_volume_request_content.py +1 -1
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/delta_commit.py +8 -2
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/delta_get_commits_response.py +1 -1
- unitycatalog_client-0.4.1/src/unitycatalog/client/models/delta_uniform.py +91 -0
- unitycatalog_client-0.4.1/src/unitycatalog/client/models/delta_uniform_iceberg.py +93 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/external_location_info.py +3 -1
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/model_version_status.py +1 -1
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/privilege.py +7 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/schema_info.py +6 -2
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/securable_type.py +2 -0
- unitycatalog_client-0.4.1/streams/_global/_global/_global/streams/out +10 -0
- unitycatalog_client-0.4.1/streams/_global/coursierArtifacts/_global/streams/out +0 -0
- unitycatalog_client-0.4.1/streams/_global/coursierResolutions/_global/streams/out +0 -0
- unitycatalog_client-0.4.1/streams/_global/openApiGenerate/_global/streams/out +1 -0
- unitycatalog_client-0.4.1/streams/_global/prepareGeneration/_global/streams/out +2 -0
- unitycatalog_client-0.4.1/streams/_global/projectDescriptors/_global/streams/out +0 -0
- unitycatalog_client-0.4.1/streams/_global/publishSigned/_global/streams/out +1 -0
- unitycatalog_client-0.4.1/streams/_global/scalaCompilerBridgeScope/_global/streams/out +0 -0
- unitycatalog_client-0.4.1/streams/_global/update/_global/streams/out +0 -0
- unitycatalog_client-0.4.1/streams/compile/_global/_global/compileOutputs/previous +1 -0
- unitycatalog_client-0.4.1/streams/compile/_global/_global/discoveredMainClasses/data +1 -0
- unitycatalog_client-0.4.1/streams/compile/bspReporter/_global/streams/out +0 -0
- unitycatalog_client-0.4.1/streams/compile/compile/_global/streams/out +0 -0
- unitycatalog_client-0.4.1/streams/compile/compileIncremental/_global/streams/export +0 -0
- unitycatalog_client-0.4.1/streams/compile/compileIncremental/_global/streams/out +6 -0
- unitycatalog_client-0.4.1/streams/compile/copyResources/_global/streams/out +2 -0
- unitycatalog_client-0.4.1/streams/compile/dependencyClasspath/_global/streams/export +1 -0
- unitycatalog_client-0.4.1/streams/compile/exportedProducts/_global/streams/export +1 -0
- unitycatalog_client-0.4.1/streams/compile/externalDependencyClasspath/_global/streams/export +1 -0
- unitycatalog_client-0.4.1/streams/compile/incOptions/_global/streams/out +5 -0
- unitycatalog_client-0.4.1/streams/compile/internalDependencyClasspath/_global/streams/export +1 -0
- unitycatalog_client-0.4.1/streams/compile/internalDependencyClasspath/_global/streams/out +0 -0
- unitycatalog_client-0.4.1/streams/compile/mainClass/_global/streams/out +0 -0
- unitycatalog_client-0.4.1/streams/compile/managedClasspath/_global/streams/export +1 -0
- unitycatalog_client-0.4.1/streams/compile/packageBin/_global/streams/inputs +1 -0
- unitycatalog_client-0.4.1/streams/compile/packageBin/_global/streams/out +4 -0
- unitycatalog_client-0.4.1/streams/compile/packageBin/_global/streams/output +1 -0
- unitycatalog_client-0.4.1/streams/compile/scalacOptions/_global/streams/out +0 -0
- unitycatalog_client-0.4.1/streams/compile/unmanagedClasspath/_global/streams/export +1 -0
- unitycatalog_client-0.4.1/streams/compile/unmanagedClasspath/_global/streams/out +0 -0
- unitycatalog_client-0.4.1/streams/compile/unmanagedJars/_global/streams/export +1 -0
- unitycatalog_client-0.4.1/streams/runtime/dependencyClasspath/_global/streams/export +1 -0
- unitycatalog_client-0.4.1/streams/runtime/externalDependencyClasspath/_global/streams/export +1 -0
- unitycatalog_client-0.4.1/streams/runtime/internalDependencyClasspath/_global/streams/export +1 -0
- unitycatalog_client-0.4.1/streams/runtime/internalDependencyClasspath/_global/streams/out +0 -0
- unitycatalog_client-0.4.1/streams/runtime/managedClasspath/_global/streams/export +1 -0
- unitycatalog_client-0.4.1/streams/runtime/unmanagedClasspath/_global/streams/export +1 -0
- unitycatalog_client-0.4.1/streams/runtime/unmanagedClasspath/_global/streams/out +0 -0
- unitycatalog_client-0.4.1/streams/runtime/unmanagedJars/_global/streams/export +1 -0
- unitycatalog_client-0.4.1/sync/copy-resource +1 -0
- unitycatalog_client-0.4.1/unitycatalog-python-client-0.4.1-SNAPSHOT.jar +0 -0
- unitycatalog_client-0.3.1/streams/_global/_global/_global/streams/out +0 -8
- unitycatalog_client-0.3.1/streams/_global/openApiGenerate/_global/streams/out +0 -1
- unitycatalog_client-0.3.1/streams/_global/prepareGeneration/_global/streams/out +0 -2
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/.github/workflows/python.yml +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/.gitignore +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/.gitlab-ci.yml +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/.openapi-generator/VERSION +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/.openapi-generator-ignore +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/.travis.yml +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/README.md +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/requirements.txt +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/setup.cfg +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/api/__init__.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/api/catalogs_api.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/api/credentials_api.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/api/delta_commits_api.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/api/external_locations_api.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/api/functions_api.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/api/grants_api.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/api/metastores_api.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/api/model_versions_api.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/api/registered_models_api.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/api/schemas_api.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/api/tables_api.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/api/temporary_credentials_api.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/api/volumes_api.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/api_response.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/exceptions.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/aws_credentials.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/aws_iam_role_request.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/aws_iam_role_response.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/azure_user_delegation_sas.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/column_info.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/column_infos.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/create_credential_request.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/create_external_location.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/create_function.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/create_function_request.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/create_model_version.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/create_registered_model.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/create_staging_table.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/create_table.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/credential_info.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/credential_purpose.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/data_source_format.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/delta_commit_info.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/delta_commit_metadata_properties.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/delta_get_commits.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/delta_metadata.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/dependency.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/dependency_list.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/finalize_model_version.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/function_dependency.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/function_info.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/function_parameter_info.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/function_parameter_infos.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/function_parameter_mode.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/function_parameter_type.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/gcp_oauth_token.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/generate_temporary_model_version_credential.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/generate_temporary_path_credential.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/generate_temporary_table_credential.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/generate_temporary_volume_credential.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/get_metastore_summary_response.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/list_catalogs_response.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/list_credentials_response.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/list_external_locations_response.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/list_functions_response.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/list_model_versions_response.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/list_registered_models_response.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/list_schemas_response.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/list_tables_response.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/list_volumes_response_content.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/model_version_info.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/model_version_operation.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/path_operation.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/permissions_change.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/permissions_list.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/principal_type.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/privilege_assignment.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/registered_model_info.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/staging_table_info.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/table_dependency.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/table_info.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/table_operation.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/table_type.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/temporary_credentials.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/update_catalog.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/update_credential_request.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/update_external_location.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/update_model_version.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/update_permissions.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/update_registered_model.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/update_schema.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/update_volume_request_content.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/volume_info.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/volume_operation.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/volume_type.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/py.typed +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/rest.py +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/test-requirements.txt +0 -0
- {unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/tox.ini +0 -0
|
@@ -54,6 +54,8 @@ unitycatalog/client/models/delta_commit_metadata_properties.py
|
|
|
54
54
|
unitycatalog/client/models/delta_get_commits.py
|
|
55
55
|
unitycatalog/client/models/delta_get_commits_response.py
|
|
56
56
|
unitycatalog/client/models/delta_metadata.py
|
|
57
|
+
unitycatalog/client/models/delta_uniform.py
|
|
58
|
+
unitycatalog/client/models/delta_uniform_iceberg.py
|
|
57
59
|
unitycatalog/client/models/dependency.py
|
|
58
60
|
unitycatalog/client/models/dependency_list.py
|
|
59
61
|
unitycatalog/client/models/external_location_info.py
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: unitycatalog-client
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.4.1
|
|
4
4
|
Summary: Official Python SDK for Unity Catalog
|
|
5
5
|
Project-URL: homepage, https://www.unitycatalog.io/
|
|
6
6
|
Project-URL: issues, https://github.com/unitycatalog/unitycatalog/issues
|
|
@@ -29,12 +29,12 @@ Classifier: Topic :: Software Development :: Libraries
|
|
|
29
29
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
30
30
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
31
31
|
Requires-Python: >=3.9
|
|
32
|
-
Requires-Dist: aiohttp-retry
|
|
33
|
-
Requires-Dist: aiohttp
|
|
34
|
-
Requires-Dist: pydantic
|
|
35
|
-
Requires-Dist: python-dateutil
|
|
36
|
-
Requires-Dist: typing-extensions
|
|
37
|
-
Requires-Dist: urllib3
|
|
32
|
+
Requires-Dist: aiohttp-retry<=2.9.1,>=2.8.3
|
|
33
|
+
Requires-Dist: aiohttp<=3.13.3,>=3.8.4
|
|
34
|
+
Requires-Dist: pydantic<=2.12.5,>=2
|
|
35
|
+
Requires-Dist: python-dateutil<=2.9.0.post0,>=2.8.2
|
|
36
|
+
Requires-Dist: typing-extensions<=4.15.0,>=4.7.1
|
|
37
|
+
Requires-Dist: urllib3<=2.6.3,>=1.25.3
|
|
38
38
|
Description-Content-Type: text/markdown
|
|
39
39
|
|
|
40
40
|
# Unity Catalog Python Client SDK
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/home/zheng.hu/Downloads/unitycatalog/clients/python/target/classes:/home/zheng.hu/.cache/coursier/v1/https/maven-proxy.dev.databricks.com/org/slf4j/slf4j-api/2.0.17/slf4j-api-2.0.17.jar:/home/zheng.hu/.cache/coursier/v1/https/maven-proxy.dev.databricks.com/org/apache/logging/log4j/log4j-slf4j2-impl/2.25.3/log4j-slf4j2-impl-2.25.3.jar:/home/zheng.hu/.cache/coursier/v1/https/maven-proxy.dev.databricks.com/org/apache/logging/log4j/log4j-api/2.25.3/log4j-api-2.25.3.jar:/home/zheng.hu/.cache/coursier/v1/https/maven-proxy.dev.databricks.com/org/apache/logging/log4j/log4j-core/2.25.3/log4j-core-2.25.3.jar:/home/zheng.hu/Downloads/unitycatalog/clients/python/target/unitycatalog-python-client-0.4.1-SNAPSHOT.jar
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "unitycatalog-client"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.4.1"
|
|
4
4
|
description = "Official Python SDK for Unity Catalog"
|
|
5
5
|
authors = [
|
|
6
6
|
{ name="Unity Catalog Developers", email="dev-feedback@unitycatalog.com" }
|
|
@@ -9,12 +9,12 @@ readme = "README.md"
|
|
|
9
9
|
license = { text="Apache-2.0" }
|
|
10
10
|
requires-python = ">=3.9"
|
|
11
11
|
dependencies = [
|
|
12
|
-
"urllib3>=1.25.3",
|
|
13
|
-
"aiohttp>=3.8.4",
|
|
14
|
-
"aiohttp-retry>=2.8.3",
|
|
15
|
-
"python-dateutil>=2.8.2",
|
|
16
|
-
"typing-extensions>=4.7.1",
|
|
17
|
-
"pydantic
|
|
12
|
+
"urllib3>=1.25.3,<=2.6.3",
|
|
13
|
+
"aiohttp>=3.8.4,<=3.13.3",
|
|
14
|
+
"aiohttp-retry>=2.8.3,<=2.9.1",
|
|
15
|
+
"python-dateutil>=2.8.2,<=2.9.0.post0",
|
|
16
|
+
"typing-extensions>=4.7.1,<=4.15.0",
|
|
17
|
+
"pydantic>=2,<=2.12.5",
|
|
18
18
|
]
|
|
19
19
|
maintainers = [
|
|
20
20
|
{name="Denny Lee", email="denny.lee@databricks.com"},
|
|
@@ -60,24 +60,27 @@ build-backend = "hatchling.build"
|
|
|
60
60
|
|
|
61
61
|
[tool.hatch.envs.default]
|
|
62
62
|
dependencies = [
|
|
63
|
-
"urllib3>=1.25.3",
|
|
64
|
-
"aiohttp>=
|
|
65
|
-
"aiohttp-retry>=
|
|
66
|
-
"python-dateutil>=2.8.2",
|
|
67
|
-
"pydantic>=2",
|
|
68
|
-
"typing-extensions>=4.7.1"
|
|
63
|
+
"urllib3>=1.25.3,<=2.6.3",
|
|
64
|
+
"aiohttp>=3.8.4,<=3.13.3",
|
|
65
|
+
"aiohttp-retry>=2.8.3,<=2.9.1",
|
|
66
|
+
"python-dateutil>=2.8.2,<=2.9.0.post0",
|
|
67
|
+
"pydantic>=2,<=2.12.5",
|
|
68
|
+
"typing-extensions>=4.7.1,<=4.15.0",
|
|
69
69
|
]
|
|
70
70
|
|
|
71
71
|
[tool.hatch.envs.test]
|
|
72
72
|
dependencies = [
|
|
73
|
-
"pytest>=7.2.1",
|
|
74
|
-
"pytest-asyncio>=0.24.0",
|
|
75
|
-
"tox>=3.9.0",
|
|
76
|
-
"flake8>=4.0.0",
|
|
77
|
-
"types-python-dateutil>=2.8.19.14",
|
|
78
|
-
"mypy>=1.4.1"
|
|
73
|
+
"pytest>=7.2.1,<=9.0.2",
|
|
74
|
+
"pytest-asyncio>=0.24.0,<=1.3.0",
|
|
75
|
+
"tox>=3.9.0,<=4.50.2",
|
|
76
|
+
"flake8>=4.0.0,<=7.3.0",
|
|
77
|
+
"types-python-dateutil>=2.8.19.14,<=2.9.0.20260305",
|
|
78
|
+
"mypy>=1.4.1,<=1.19.1",
|
|
79
79
|
]
|
|
80
80
|
|
|
81
|
+
[tool.uv]
|
|
82
|
+
exclude-newer = "2026-03-20T00:00:00Z"
|
|
83
|
+
|
|
81
84
|
[tool.pylint."MESSAGES CONTROL"]
|
|
82
85
|
extension-pkg-whitelist = "pydantic"
|
|
83
86
|
|
|
@@ -15,7 +15,7 @@ long_description = (this_directory / "README.md").read_text()
|
|
|
15
15
|
|
|
16
16
|
setup(
|
|
17
17
|
name="unitycatalog-client",
|
|
18
|
-
version="0.
|
|
18
|
+
version="0.4.1",
|
|
19
19
|
description="Official Python SDK for Unity Catalog",
|
|
20
20
|
long_description=long_description,
|
|
21
21
|
long_description_content_type="text/markdown",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
""" # noqa: E501
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
__version__ = "0.
|
|
17
|
+
__version__ = "0.4.1"
|
|
18
18
|
|
|
19
19
|
# import apis into sdk package
|
|
20
20
|
from unitycatalog.client.api.catalogs_api import CatalogsApi
|
|
@@ -71,6 +71,8 @@ from unitycatalog.client.models.delta_commit_metadata_properties import DeltaCom
|
|
|
71
71
|
from unitycatalog.client.models.delta_get_commits import DeltaGetCommits
|
|
72
72
|
from unitycatalog.client.models.delta_get_commits_response import DeltaGetCommitsResponse
|
|
73
73
|
from unitycatalog.client.models.delta_metadata import DeltaMetadata
|
|
74
|
+
from unitycatalog.client.models.delta_uniform import DeltaUniform
|
|
75
|
+
from unitycatalog.client.models.delta_uniform_iceberg import DeltaUniformIceberg
|
|
74
76
|
from unitycatalog.client.models.dependency import Dependency
|
|
75
77
|
from unitycatalog.client.models.dependency_list import DependencyList
|
|
76
78
|
from unitycatalog.client.models.external_location_info import ExternalLocationInfo
|
{unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/api_client.py
RENAMED
|
@@ -90,7 +90,7 @@ class ApiClient:
|
|
|
90
90
|
self.default_headers[header_name] = header_value
|
|
91
91
|
self.cookie = cookie
|
|
92
92
|
# Set default User-Agent.
|
|
93
|
-
self.user_agent = 'OpenAPI-Generator/0.
|
|
93
|
+
self.user_agent = 'OpenAPI-Generator/0.4.1/python'
|
|
94
94
|
self.client_side_validation = configuration.client_side_validation
|
|
95
95
|
|
|
96
96
|
async def __aenter__(self):
|
{unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/configuration.py
RENAMED
|
@@ -380,7 +380,7 @@ class Configuration:
|
|
|
380
380
|
"OS: {env}\n"\
|
|
381
381
|
"Python Version: {pyversion}\n"\
|
|
382
382
|
"Version of the API: 0.1\n"\
|
|
383
|
-
"SDK Package Version: 0.
|
|
383
|
+
"SDK Package Version: 0.4.1".\
|
|
384
384
|
format(env=sys.platform, pyversion=sys.version)
|
|
385
385
|
|
|
386
386
|
def get_host_settings(self):
|
{unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/__init__.py
RENAMED
|
@@ -42,6 +42,8 @@ from unitycatalog.client.models.delta_commit_metadata_properties import DeltaCom
|
|
|
42
42
|
from unitycatalog.client.models.delta_get_commits import DeltaGetCommits
|
|
43
43
|
from unitycatalog.client.models.delta_get_commits_response import DeltaGetCommitsResponse
|
|
44
44
|
from unitycatalog.client.models.delta_metadata import DeltaMetadata
|
|
45
|
+
from unitycatalog.client.models.delta_uniform import DeltaUniform
|
|
46
|
+
from unitycatalog.client.models.delta_uniform_iceberg import DeltaUniformIceberg
|
|
45
47
|
from unitycatalog.client.models.dependency import Dependency
|
|
46
48
|
from unitycatalog.client.models.dependency_list import DependencyList
|
|
47
49
|
from unitycatalog.client.models.external_location_info import ExternalLocationInfo
|
|
@@ -35,7 +35,9 @@ class CatalogInfo(BaseModel):
|
|
|
35
35
|
updated_at: Optional[StrictInt] = Field(default=None, description="Time at which this catalog was last modified, in epoch milliseconds.")
|
|
36
36
|
updated_by: Optional[StrictStr] = Field(default=None, description="Username of user who last modified catalog.")
|
|
37
37
|
id: Optional[StrictStr] = Field(default=None, description="Unique identifier for the catalog.")
|
|
38
|
-
|
|
38
|
+
storage_root: Optional[StrictStr] = Field(default=None, description="Storage root URL for managed storage location of catalog. This can be set when creating a catalog. Example: s3://bucket/ucroot ")
|
|
39
|
+
storage_location: Optional[StrictStr] = Field(default=None, description="Storage Location URL (full path) for managed storage location of catalog. This is an automatically generated unique path under storage_root. Example: s3://bucket/ucroot/__unitystorage/catalogs/{catalog_id} ")
|
|
40
|
+
__properties: ClassVar[List[str]] = ["name", "comment", "properties", "owner", "created_at", "created_by", "updated_at", "updated_by", "id", "storage_root", "storage_location"]
|
|
39
41
|
|
|
40
42
|
model_config = ConfigDict(
|
|
41
43
|
populate_by_name=True,
|
|
@@ -96,7 +98,9 @@ class CatalogInfo(BaseModel):
|
|
|
96
98
|
"created_by": obj.get("created_by"),
|
|
97
99
|
"updated_at": obj.get("updated_at"),
|
|
98
100
|
"updated_by": obj.get("updated_by"),
|
|
99
|
-
"id": obj.get("id")
|
|
101
|
+
"id": obj.get("id"),
|
|
102
|
+
"storage_root": obj.get("storage_root"),
|
|
103
|
+
"storage_location": obj.get("storage_location")
|
|
100
104
|
})
|
|
101
105
|
return _obj
|
|
102
106
|
|
|
@@ -29,7 +29,8 @@ class CreateCatalog(BaseModel):
|
|
|
29
29
|
name: StrictStr = Field(description="Name of catalog.")
|
|
30
30
|
comment: Optional[StrictStr] = Field(default=None, description="User-provided free-form text description.")
|
|
31
31
|
properties: Optional[Dict[str, StrictStr]] = Field(default=None, description="A map of key-value properties attached to the securable.")
|
|
32
|
-
|
|
32
|
+
storage_root: Optional[StrictStr] = Field(default=None, description="Storage root URL for managed storage location of catalog. Example: s3://bucket/ucroot ")
|
|
33
|
+
__properties: ClassVar[List[str]] = ["name", "comment", "properties", "storage_root"]
|
|
33
34
|
|
|
34
35
|
model_config = ConfigDict(
|
|
35
36
|
populate_by_name=True,
|
|
@@ -84,7 +85,8 @@ class CreateCatalog(BaseModel):
|
|
|
84
85
|
_obj = cls.model_validate({
|
|
85
86
|
"name": obj.get("name"),
|
|
86
87
|
"comment": obj.get("comment"),
|
|
87
|
-
"properties": obj.get("properties")
|
|
88
|
+
"properties": obj.get("properties"),
|
|
89
|
+
"storage_root": obj.get("storage_root")
|
|
88
90
|
})
|
|
89
91
|
return _obj
|
|
90
92
|
|
|
@@ -30,7 +30,8 @@ class CreateSchema(BaseModel):
|
|
|
30
30
|
catalog_name: StrictStr = Field(description="Name of parent catalog.")
|
|
31
31
|
comment: Optional[StrictStr] = Field(default=None, description="User-provided free-form text description.")
|
|
32
32
|
properties: Optional[Dict[str, StrictStr]] = Field(default=None, description="A map of key-value properties attached to the securable.")
|
|
33
|
-
|
|
33
|
+
storage_root: Optional[StrictStr] = Field(default=None, description="Storage root URL for managed storage location of schema. If not set, managed securables under this schema will try to use the storage_location of the parent catalog instead. Example: s3://bucket/ucroot ")
|
|
34
|
+
__properties: ClassVar[List[str]] = ["name", "catalog_name", "comment", "properties", "storage_root"]
|
|
34
35
|
|
|
35
36
|
model_config = ConfigDict(
|
|
36
37
|
populate_by_name=True,
|
|
@@ -86,7 +87,8 @@ class CreateSchema(BaseModel):
|
|
|
86
87
|
"name": obj.get("name"),
|
|
87
88
|
"catalog_name": obj.get("catalog_name"),
|
|
88
89
|
"comment": obj.get("comment"),
|
|
89
|
-
"properties": obj.get("properties")
|
|
90
|
+
"properties": obj.get("properties"),
|
|
91
|
+
"storage_root": obj.get("storage_root")
|
|
90
92
|
})
|
|
91
93
|
return _obj
|
|
92
94
|
|
|
@@ -33,7 +33,7 @@ class CreateVolumeRequestContent(BaseModel):
|
|
|
33
33
|
name: StrictStr = Field(description="The name of the volume")
|
|
34
34
|
volume_type: VolumeType
|
|
35
35
|
comment: Optional[Annotated[str, Field(min_length=1, strict=True, max_length=65536)]] = Field(default=None, description="The comment attached to the volume")
|
|
36
|
-
storage_location: StrictStr = Field(description="The storage location of the volume")
|
|
36
|
+
storage_location: Optional[StrictStr] = Field(default=None, description="The storage location of the volume")
|
|
37
37
|
__properties: ClassVar[List[str]] = ["catalog_name", "schema_name", "name", "volume_type", "comment", "storage_location"]
|
|
38
38
|
|
|
39
39
|
model_config = ConfigDict(
|
|
@@ -21,6 +21,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr
|
|
|
21
21
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
22
|
from unitycatalog.client.models.delta_commit_info import DeltaCommitInfo
|
|
23
23
|
from unitycatalog.client.models.delta_metadata import DeltaMetadata
|
|
24
|
+
from unitycatalog.client.models.delta_uniform import DeltaUniform
|
|
24
25
|
from typing import Optional, Set
|
|
25
26
|
from typing_extensions import Self
|
|
26
27
|
|
|
@@ -33,7 +34,8 @@ class DeltaCommit(BaseModel):
|
|
|
33
34
|
commit_info: Optional[DeltaCommitInfo] = None
|
|
34
35
|
latest_backfilled_version: Optional[StrictInt] = Field(default=None, description="The highest version of the commits that have been backfilled for this table; meaning UC no longer needs to keep track of commits of versions <= this version. ")
|
|
35
36
|
metadata: Optional[DeltaMetadata] = None
|
|
36
|
-
|
|
37
|
+
uniform: Optional[DeltaUniform] = None
|
|
38
|
+
__properties: ClassVar[List[str]] = ["table_id", "table_uri", "commit_info", "latest_backfilled_version", "metadata", "uniform"]
|
|
37
39
|
|
|
38
40
|
model_config = ConfigDict(
|
|
39
41
|
populate_by_name=True,
|
|
@@ -80,6 +82,9 @@ class DeltaCommit(BaseModel):
|
|
|
80
82
|
# override the default output from pydantic by calling `to_dict()` of metadata
|
|
81
83
|
if self.metadata:
|
|
82
84
|
_dict['metadata'] = self.metadata.to_dict()
|
|
85
|
+
# override the default output from pydantic by calling `to_dict()` of uniform
|
|
86
|
+
if self.uniform:
|
|
87
|
+
_dict['uniform'] = self.uniform.to_dict()
|
|
83
88
|
return _dict
|
|
84
89
|
|
|
85
90
|
@classmethod
|
|
@@ -96,7 +101,8 @@ class DeltaCommit(BaseModel):
|
|
|
96
101
|
"table_uri": obj.get("table_uri"),
|
|
97
102
|
"commit_info": DeltaCommitInfo.from_dict(obj["commit_info"]) if obj.get("commit_info") is not None else None,
|
|
98
103
|
"latest_backfilled_version": obj.get("latest_backfilled_version"),
|
|
99
|
-
"metadata": DeltaMetadata.from_dict(obj["metadata"]) if obj.get("metadata") is not None else None
|
|
104
|
+
"metadata": DeltaMetadata.from_dict(obj["metadata"]) if obj.get("metadata") is not None else None,
|
|
105
|
+
"uniform": DeltaUniform.from_dict(obj["uniform"]) if obj.get("uniform") is not None else None
|
|
100
106
|
})
|
|
101
107
|
return _obj
|
|
102
108
|
|
|
@@ -28,7 +28,7 @@ class DeltaGetCommitsResponse(BaseModel):
|
|
|
28
28
|
DeltaGetCommitsResponse
|
|
29
29
|
""" # noqa: E501
|
|
30
30
|
commits: List[DeltaCommitInfo] = Field(description="The list of unbackfilled Delta table commits. Can be in arbitrary order.")
|
|
31
|
-
latest_table_version: StrictInt = Field(description="Represents the latest version of the table tracked by UC.
|
|
31
|
+
latest_table_version: StrictInt = Field(description="Represents the latest version of the table tracked by UC. For a newly created managed table with no commits, this returns 0. Use this field to manage pagination — if the returned commits don't cover the range up to latest_table_version or end_version (whichever is smaller), it indicates that more unbackfilled commits may be available. ")
|
|
32
32
|
__properties: ClassVar[List[str]] = ["commits", "latest_table_version"]
|
|
33
33
|
|
|
34
34
|
model_config = ConfigDict(
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Unity Catalog API
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 0.1
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import pprint
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import json
|
|
19
|
+
|
|
20
|
+
from pydantic import BaseModel, ConfigDict
|
|
21
|
+
from typing import Any, ClassVar, Dict, List
|
|
22
|
+
from unitycatalog.client.models.delta_uniform_iceberg import DeltaUniformIceberg
|
|
23
|
+
from typing import Optional, Set
|
|
24
|
+
from typing_extensions import Self
|
|
25
|
+
|
|
26
|
+
class DeltaUniform(BaseModel):
|
|
27
|
+
"""
|
|
28
|
+
Uniform metadata that can be atomically committed alongside a Delta commit. Uniform enables Delta tables to be read by other table formats (e.g. Iceberg) without data conversion. When this message is provided in a Commit request, UC will atomically update the table's format-specific metadata during the commit.
|
|
29
|
+
""" # noqa: E501
|
|
30
|
+
iceberg: DeltaUniformIceberg
|
|
31
|
+
__properties: ClassVar[List[str]] = ["iceberg"]
|
|
32
|
+
|
|
33
|
+
model_config = ConfigDict(
|
|
34
|
+
populate_by_name=True,
|
|
35
|
+
validate_assignment=True,
|
|
36
|
+
protected_namespaces=(),
|
|
37
|
+
)
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
def to_str(self) -> str:
|
|
41
|
+
"""Returns the string representation of the model using alias"""
|
|
42
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
43
|
+
|
|
44
|
+
def to_json(self) -> str:
|
|
45
|
+
"""Returns the JSON representation of the model using alias"""
|
|
46
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
47
|
+
return json.dumps(self.to_dict())
|
|
48
|
+
|
|
49
|
+
@classmethod
|
|
50
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
51
|
+
"""Create an instance of DeltaUniform from a JSON string"""
|
|
52
|
+
return cls.from_dict(json.loads(json_str))
|
|
53
|
+
|
|
54
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
55
|
+
"""Return the dictionary representation of the model using alias.
|
|
56
|
+
|
|
57
|
+
This has the following differences from calling pydantic's
|
|
58
|
+
`self.model_dump(by_alias=True)`:
|
|
59
|
+
|
|
60
|
+
* `None` is only added to the output dict for nullable fields that
|
|
61
|
+
were set at model initialization. Other fields with value `None`
|
|
62
|
+
are ignored.
|
|
63
|
+
"""
|
|
64
|
+
excluded_fields: Set[str] = set([
|
|
65
|
+
])
|
|
66
|
+
|
|
67
|
+
_dict = self.model_dump(
|
|
68
|
+
by_alias=True,
|
|
69
|
+
exclude=excluded_fields,
|
|
70
|
+
exclude_none=True,
|
|
71
|
+
)
|
|
72
|
+
# override the default output from pydantic by calling `to_dict()` of iceberg
|
|
73
|
+
if self.iceberg:
|
|
74
|
+
_dict['iceberg'] = self.iceberg.to_dict()
|
|
75
|
+
return _dict
|
|
76
|
+
|
|
77
|
+
@classmethod
|
|
78
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
79
|
+
"""Create an instance of DeltaUniform from a dict"""
|
|
80
|
+
if obj is None:
|
|
81
|
+
return None
|
|
82
|
+
|
|
83
|
+
if not isinstance(obj, dict):
|
|
84
|
+
return cls.model_validate(obj)
|
|
85
|
+
|
|
86
|
+
_obj = cls.model_validate({
|
|
87
|
+
"iceberg": DeltaUniformIceberg.from_dict(obj["iceberg"]) if obj.get("iceberg") is not None else None
|
|
88
|
+
})
|
|
89
|
+
return _obj
|
|
90
|
+
|
|
91
|
+
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Unity Catalog API
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 0.1
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import pprint
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import json
|
|
19
|
+
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr
|
|
21
|
+
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
|
+
from typing import Optional, Set
|
|
23
|
+
from typing_extensions import Self
|
|
24
|
+
|
|
25
|
+
class DeltaUniformIceberg(BaseModel):
|
|
26
|
+
"""
|
|
27
|
+
Iceberg conversion metadata tracking the Delta-to-Iceberg conversion state. It contains the metadata location pointer, converted Delta version, timestamp, and optional base converted Delta version of the corresponding conversion.
|
|
28
|
+
""" # noqa: E501
|
|
29
|
+
metadata_location: StrictStr = Field(description="The latest Iceberg metadata location. Example: s3://abc/def/metadata/v1.json ")
|
|
30
|
+
converted_delta_version: StrictInt = Field(description="The Delta version that was converted to Iceberg to produce the Iceberg metadata location. It should match the Delta version in the commit info. Example: 1044 ")
|
|
31
|
+
converted_delta_timestamp: StrictStr = Field(description="The timestamp that Delta finished conversion to produce the Iceberg metadata location. The string must represent a valid instant in UTC with ISO 8601 format. Example: 2025-01-04T03:13:11.423Z ")
|
|
32
|
+
base_converted_delta_version: Optional[StrictInt] = Field(default=None, description="Optional Delta version used to incrementally convert Delta changes to Iceberg changes to produce the latest Iceberg metadata at the metadata_location. Example: 1042 ")
|
|
33
|
+
__properties: ClassVar[List[str]] = ["metadata_location", "converted_delta_version", "converted_delta_timestamp", "base_converted_delta_version"]
|
|
34
|
+
|
|
35
|
+
model_config = ConfigDict(
|
|
36
|
+
populate_by_name=True,
|
|
37
|
+
validate_assignment=True,
|
|
38
|
+
protected_namespaces=(),
|
|
39
|
+
)
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
def to_str(self) -> str:
|
|
43
|
+
"""Returns the string representation of the model using alias"""
|
|
44
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
45
|
+
|
|
46
|
+
def to_json(self) -> str:
|
|
47
|
+
"""Returns the JSON representation of the model using alias"""
|
|
48
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
49
|
+
return json.dumps(self.to_dict())
|
|
50
|
+
|
|
51
|
+
@classmethod
|
|
52
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
53
|
+
"""Create an instance of DeltaUniformIceberg from a JSON string"""
|
|
54
|
+
return cls.from_dict(json.loads(json_str))
|
|
55
|
+
|
|
56
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
57
|
+
"""Return the dictionary representation of the model using alias.
|
|
58
|
+
|
|
59
|
+
This has the following differences from calling pydantic's
|
|
60
|
+
`self.model_dump(by_alias=True)`:
|
|
61
|
+
|
|
62
|
+
* `None` is only added to the output dict for nullable fields that
|
|
63
|
+
were set at model initialization. Other fields with value `None`
|
|
64
|
+
are ignored.
|
|
65
|
+
"""
|
|
66
|
+
excluded_fields: Set[str] = set([
|
|
67
|
+
])
|
|
68
|
+
|
|
69
|
+
_dict = self.model_dump(
|
|
70
|
+
by_alias=True,
|
|
71
|
+
exclude=excluded_fields,
|
|
72
|
+
exclude_none=True,
|
|
73
|
+
)
|
|
74
|
+
return _dict
|
|
75
|
+
|
|
76
|
+
@classmethod
|
|
77
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
78
|
+
"""Create an instance of DeltaUniformIceberg from a dict"""
|
|
79
|
+
if obj is None:
|
|
80
|
+
return None
|
|
81
|
+
|
|
82
|
+
if not isinstance(obj, dict):
|
|
83
|
+
return cls.model_validate(obj)
|
|
84
|
+
|
|
85
|
+
_obj = cls.model_validate({
|
|
86
|
+
"metadata_location": obj.get("metadata_location"),
|
|
87
|
+
"converted_delta_version": obj.get("converted_delta_version"),
|
|
88
|
+
"converted_delta_timestamp": obj.get("converted_delta_timestamp"),
|
|
89
|
+
"base_converted_delta_version": obj.get("base_converted_delta_version")
|
|
90
|
+
})
|
|
91
|
+
return _obj
|
|
92
|
+
|
|
93
|
+
|
|
@@ -27,6 +27,7 @@ class ExternalLocationInfo(BaseModel):
|
|
|
27
27
|
ExternalLocationInfo
|
|
28
28
|
""" # noqa: E501
|
|
29
29
|
name: Optional[StrictStr] = Field(default=None, description="Name of the external location.")
|
|
30
|
+
id: Optional[StrictStr] = Field(default=None, description="Unique identifier for the external location.")
|
|
30
31
|
url: Optional[StrictStr] = Field(default=None, description="Path URL of the external location.")
|
|
31
32
|
credential_name: Optional[StrictStr] = Field(default=None, description="Name of the storage credential used with this location.")
|
|
32
33
|
comment: Optional[StrictStr] = Field(default=None, description="User-provided free-form text description.")
|
|
@@ -36,7 +37,7 @@ class ExternalLocationInfo(BaseModel):
|
|
|
36
37
|
created_by: Optional[StrictStr] = Field(default=None, description="Username of external location creator.")
|
|
37
38
|
updated_at: Optional[StrictInt] = Field(default=None, description="Time at which external location this was last modified, in epoch milliseconds.")
|
|
38
39
|
updated_by: Optional[StrictStr] = Field(default=None, description="Username of user who last modified the external location.")
|
|
39
|
-
__properties: ClassVar[List[str]] = ["name", "url", "credential_name", "comment", "owner", "credential_id", "created_at", "created_by", "updated_at", "updated_by"]
|
|
40
|
+
__properties: ClassVar[List[str]] = ["name", "id", "url", "credential_name", "comment", "owner", "credential_id", "created_at", "created_by", "updated_at", "updated_by"]
|
|
40
41
|
|
|
41
42
|
model_config = ConfigDict(
|
|
42
43
|
populate_by_name=True,
|
|
@@ -90,6 +91,7 @@ class ExternalLocationInfo(BaseModel):
|
|
|
90
91
|
|
|
91
92
|
_obj = cls.model_validate({
|
|
92
93
|
"name": obj.get("name"),
|
|
94
|
+
"id": obj.get("id"),
|
|
93
95
|
"url": obj.get("url"),
|
|
94
96
|
"credential_name": obj.get("credential_name"),
|
|
95
97
|
"comment": obj.get("comment"),
|
|
@@ -20,7 +20,7 @@ from typing_extensions import Self
|
|
|
20
20
|
|
|
21
21
|
class ModelVersionStatus(str, Enum):
|
|
22
22
|
"""
|
|
23
|
-
All possible model version statuses
|
|
23
|
+
All possible model version statuses.
|
|
24
24
|
"""
|
|
25
25
|
|
|
26
26
|
"""
|
{unitycatalog_client-0.3.1 → unitycatalog_client-0.4.1}/src/unitycatalog/client/models/privilege.py
RENAMED
|
@@ -38,6 +38,13 @@ class Privilege(str, Enum):
|
|
|
38
38
|
CREATE_VOLUME = 'CREATE VOLUME'
|
|
39
39
|
READ_VOLUME = 'READ VOLUME'
|
|
40
40
|
CREATE_MODEL = 'CREATE MODEL'
|
|
41
|
+
CREATE_EXTERNAL_LOCATION = 'CREATE EXTERNAL LOCATION'
|
|
42
|
+
READ_FILES = 'READ FILES'
|
|
43
|
+
WRITE_FILES = 'WRITE FILES'
|
|
44
|
+
CREATE_EXTERNAL_TABLE = 'CREATE EXTERNAL TABLE'
|
|
45
|
+
CREATE_EXTERNAL_VOLUME = 'CREATE EXTERNAL VOLUME'
|
|
46
|
+
CREATE_MANAGED_STORAGE = 'CREATE MANAGED STORAGE'
|
|
47
|
+
CREATE_STORAGE_CREDENTIAL = 'CREATE STORAGE CREDENTIAL'
|
|
41
48
|
|
|
42
49
|
@classmethod
|
|
43
50
|
def from_json(cls, json_str: str) -> Self:
|
|
@@ -37,7 +37,9 @@ class SchemaInfo(BaseModel):
|
|
|
37
37
|
updated_at: Optional[StrictInt] = Field(default=None, description="Time at which this schema was last modified, in epoch milliseconds.")
|
|
38
38
|
updated_by: Optional[StrictStr] = Field(default=None, description="Username of user who last modified schema.")
|
|
39
39
|
schema_id: Optional[StrictStr] = Field(default=None, description="Unique identifier for the schema.")
|
|
40
|
-
|
|
40
|
+
storage_root: Optional[StrictStr] = Field(default=None, description="Storage root URL for managed storage location of schema. This can be set when creating a schema. Example: s3://bucket/ucroot ")
|
|
41
|
+
storage_location: Optional[StrictStr] = Field(default=None, description="Storage Location URL (full path) for managed storage location of schema. This is an automatically generated unique path under storage_root. If it is absent, managed securables under this schema will try to use storage_location of the parent catalog instead. Example: s3://bucket/ucroot/__unitystorage/schemas/{schema_id} ")
|
|
42
|
+
__properties: ClassVar[List[str]] = ["name", "catalog_name", "comment", "properties", "full_name", "owner", "created_at", "created_by", "updated_at", "updated_by", "schema_id", "storage_root", "storage_location"]
|
|
41
43
|
|
|
42
44
|
model_config = ConfigDict(
|
|
43
45
|
populate_by_name=True,
|
|
@@ -100,7 +102,9 @@ class SchemaInfo(BaseModel):
|
|
|
100
102
|
"created_by": obj.get("created_by"),
|
|
101
103
|
"updated_at": obj.get("updated_at"),
|
|
102
104
|
"updated_by": obj.get("updated_by"),
|
|
103
|
-
"schema_id": obj.get("schema_id")
|
|
105
|
+
"schema_id": obj.get("schema_id"),
|
|
106
|
+
"storage_root": obj.get("storage_root"),
|
|
107
|
+
"storage_location": obj.get("storage_location")
|
|
104
108
|
})
|
|
105
109
|
return _obj
|
|
106
110
|
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
[0m[[0m[0minfo[0m] [0m[0mExecuting version update script: bash /home/zheng.hu/Downloads/unitycatalog/clients/python/build/update-python-versions.sh[0m
|
|
2
|
+
[0m[[0m[0minfo[0m] [0m[0mVersion update script executed successfully[0m
|
|
3
|
+
[0m[[0m[0minfo[0m] [0m[0mCopied setup.py to /home/zheng.hu/Downloads/unitycatalog/clients/python/target/setup.py.[0m
|
|
4
|
+
[0m[[0m[0minfo[0m] [0m[0mCopied README.md to /home/zheng.hu/Downloads/unitycatalog/clients/python/target/README.md.[0m
|
|
5
|
+
[0m[[0m[0minfo[0m] [0m[0mCopied pyproject.toml to /home/zheng.hu/Downloads/unitycatalog/clients/python/target/pyproject.toml.[0m
|
|
6
|
+
[0m[[0m[0minfo[0m] [0m[0mTarget directory /home/zheng.hu/Downloads/unitycatalog/clients/python/target/src/unitycatalog already exists. Deleting it to overwrite.[0m
|
|
7
|
+
[0m[[0m[0minfo[0m] [0m[0mSuccessfully deleted existing target directory at /home/zheng.hu/Downloads/unitycatalog/clients/python/target/src/unitycatalog[0m
|
|
8
|
+
[0m[[0m[0minfo[0m] [0m[0mEnsured target directory exists at /home/zheng.hu/Downloads/unitycatalog/clients/python/target/src[0m
|
|
9
|
+
[0m[[0m[0minfo[0m] [0m[0mMoved 'unitycatalog' from /home/zheng.hu/Downloads/unitycatalog/clients/python/target/unitycatalog to /home/zheng.hu/Downloads/unitycatalog/clients/python/target/src/unitycatalog[0m
|
|
10
|
+
[0m[[0m[0minfo[0m] [0m[0mOpenAPI Python client generation completed.[0m
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[0m[[0m[0minfo[0m] [0m[0mSuccessfully generated code to /home/zheng.hu/Downloads/unitycatalog/clients/python/target[0m
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[0m[[0m[0mdebug[0m] [0m[0mSkipping publishSigned for pythonClient[0m
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
["sbt.Task[scala.collection.Seq[java.nio.file.Path]]",["/home/zheng.hu/Downloads/unitycatalog/clients/python/target/zinc/inc_compile.zip"]]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|