diff --git a/.gitignore b/.gitignore
index f0c8231bf2..1ed91e41d3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -28,8 +28,11 @@ client/python/poetry.lock
/poetry.lock
/polaris-venv/
/pyproject.toml
-/client/python/
-!/client/python/pyproject.toml
+client/python/.openapi-generator/
+client/python/docs/
+client/python/polaris/
+client/python/test/
+!client/python/test/test_cli_parsing.py
# Polaris CLI profile
.polaris.json
diff --git a/client/python/.openapi-generator-ignore b/client/python/.openapi-generator-ignore
index dc9511a6cb..8fb602d90d 100644
--- a/client/python/.openapi-generator-ignore
+++ b/client/python/.openapi-generator-ignore
@@ -48,5 +48,9 @@ setup.py
.gitlab-ci.yml
.travis.yml
.github/workflows/python.yml
+git_push.sh
+setup.cfg
+tox.ini
+README.md
diff --git a/client/python/.openapi-generator/FILES b/client/python/.openapi-generator/FILES
deleted file mode 100644
index 80e9244260..0000000000
--- a/client/python/.openapi-generator/FILES
+++ /dev/null
@@ -1,300 +0,0 @@
-.gitignore
-README.md
-docs/AddPartitionSpecUpdate.md
-docs/AddSchemaUpdate.md
-docs/AddSnapshotUpdate.md
-docs/AddSortOrderUpdate.md
-docs/AddViewVersionUpdate.md
-docs/AndOrExpression.md
-docs/AssertCreate.md
-docs/AssertCurrentSchemaId.md
-docs/AssertDefaultSortOrderId.md
-docs/AssertDefaultSpecId.md
-docs/AssertLastAssignedFieldId.md
-docs/AssertLastAssignedPartitionId.md
-docs/AssertRefSnapshotId.md
-docs/AssertTableUUID.md
-docs/AssertViewUUID.md
-docs/AssignUUIDUpdate.md
-docs/AsyncPlanningResult.md
-docs/BaseUpdate.md
-docs/BlobMetadata.md
-docs/CatalogConfig.md
-docs/CommitReport.md
-docs/CommitTableRequest.md
-docs/CommitTableResponse.md
-docs/CommitTransactionRequest.md
-docs/CommitViewRequest.md
-docs/CompletedPlanningResult.md
-docs/CompletedPlanningWithIDResult.md
-docs/ContentFile.md
-docs/CountMap.md
-docs/CounterResult.md
-docs/CreateNamespaceRequest.md
-docs/CreateNamespaceResponse.md
-docs/CreateTableRequest.md
-docs/CreateViewRequest.md
-docs/DataFile.md
-docs/DeleteFile.md
-docs/EmptyPlanningResult.md
-docs/EnableRowLineageUpdate.md
-docs/EqualityDeleteFile.md
-docs/ErrorModel.md
-docs/Expression.md
-docs/FailedPlanningResult.md
-docs/FalseExpression.md
-docs/FetchPlanningResult.md
-docs/FetchScanTasksRequest.md
-docs/FetchScanTasksResult.md
-docs/FileFormat.md
-docs/FileScanTask.md
-docs/GetNamespaceResponse.md
-docs/IcebergCatalogAPI.md
-docs/IcebergConfigurationAPI.md
-docs/IcebergErrorResponse.md
-docs/IcebergOAuth2API.md
-docs/ListNamespacesResponse.md
-docs/ListTablesResponse.md
-docs/ListType.md
-docs/LiteralExpression.md
-docs/LoadCredentialsResponse.md
-docs/LoadTableResult.md
-docs/LoadViewResult.md
-docs/MapType.md
-docs/MetadataLogInner.md
-docs/MetricResult.md
-docs/ModelSchema.md
-docs/NotExpression.md
-docs/NullOrder.md
-docs/OAuthError.md
-docs/OAuthTokenResponse.md
-docs/PartitionField.md
-docs/PartitionSpec.md
-docs/PartitionStatisticsFile.md
-docs/PlanStatus.md
-docs/PlanTableScanRequest.md
-docs/PlanTableScanResult.md
-docs/PositionDeleteFile.md
-docs/PrimitiveTypeValue.md
-docs/RegisterTableRequest.md
-docs/RemovePartitionSpecsUpdate.md
-docs/RemovePartitionStatisticsUpdate.md
-docs/RemovePropertiesUpdate.md
-docs/RemoveSnapshotRefUpdate.md
-docs/RemoveSnapshotsUpdate.md
-docs/RemoveStatisticsUpdate.md
-docs/RenameTableRequest.md
-docs/ReportMetricsRequest.md
-docs/SQLViewRepresentation.md
-docs/ScanReport.md
-docs/ScanTasks.md
-docs/SetCurrentSchemaUpdate.md
-docs/SetCurrentViewVersionUpdate.md
-docs/SetDefaultSortOrderUpdate.md
-docs/SetDefaultSpecUpdate.md
-docs/SetExpression.md
-docs/SetLocationUpdate.md
-docs/SetPartitionStatisticsUpdate.md
-docs/SetPropertiesUpdate.md
-docs/SetSnapshotRefUpdate.md
-docs/SetStatisticsUpdate.md
-docs/Snapshot.md
-docs/SnapshotLogInner.md
-docs/SnapshotReference.md
-docs/SnapshotSummary.md
-docs/SortDirection.md
-docs/SortField.md
-docs/SortOrder.md
-docs/StatisticsFile.md
-docs/StorageCredential.md
-docs/StructField.md
-docs/StructType.md
-docs/TableIdentifier.md
-docs/TableMetadata.md
-docs/TableRequirement.md
-docs/TableUpdate.md
-docs/Term.md
-docs/TimerResult.md
-docs/TokenType.md
-docs/TransformTerm.md
-docs/TrueExpression.md
-docs/Type.md
-docs/UnaryExpression.md
-docs/UpdateNamespacePropertiesRequest.md
-docs/UpdateNamespacePropertiesResponse.md
-docs/UpgradeFormatVersionUpdate.md
-docs/ValueMap.md
-docs/ViewHistoryEntry.md
-docs/ViewMetadata.md
-docs/ViewRepresentation.md
-docs/ViewRequirement.md
-docs/ViewUpdate.md
-docs/ViewVersion.md
-git_push.sh
-polaris/__init__.py
-polaris/catalog/__init__.py
-polaris/catalog/api/__init__.py
-polaris/catalog/api/iceberg_catalog_api.py
-polaris/catalog/api/iceberg_configuration_api.py
-polaris/catalog/api/iceberg_o_auth2_api.py
-polaris/catalog/api_client.py
-polaris/catalog/api_response.py
-polaris/catalog/configuration.py
-polaris/catalog/exceptions.py
-polaris/catalog/models/__init__.py
-polaris/catalog/models/add_partition_spec_update.py
-polaris/catalog/models/add_schema_update.py
-polaris/catalog/models/add_snapshot_update.py
-polaris/catalog/models/add_sort_order_update.py
-polaris/catalog/models/add_view_version_update.py
-polaris/catalog/models/and_or_expression.py
-polaris/catalog/models/assert_create.py
-polaris/catalog/models/assert_current_schema_id.py
-polaris/catalog/models/assert_default_sort_order_id.py
-polaris/catalog/models/assert_default_spec_id.py
-polaris/catalog/models/assert_last_assigned_field_id.py
-polaris/catalog/models/assert_last_assigned_partition_id.py
-polaris/catalog/models/assert_ref_snapshot_id.py
-polaris/catalog/models/assert_table_uuid.py
-polaris/catalog/models/assert_view_uuid.py
-polaris/catalog/models/assign_uuid_update.py
-polaris/catalog/models/async_planning_result.py
-polaris/catalog/models/base_update.py
-polaris/catalog/models/blob_metadata.py
-polaris/catalog/models/catalog_config.py
-polaris/catalog/models/commit_report.py
-polaris/catalog/models/commit_table_request.py
-polaris/catalog/models/commit_table_response.py
-polaris/catalog/models/commit_transaction_request.py
-polaris/catalog/models/commit_view_request.py
-polaris/catalog/models/completed_planning_result.py
-polaris/catalog/models/completed_planning_with_id_result.py
-polaris/catalog/models/content_file.py
-polaris/catalog/models/count_map.py
-polaris/catalog/models/counter_result.py
-polaris/catalog/models/create_namespace_request.py
-polaris/catalog/models/create_namespace_response.py
-polaris/catalog/models/create_table_request.py
-polaris/catalog/models/create_view_request.py
-polaris/catalog/models/data_file.py
-polaris/catalog/models/delete_file.py
-polaris/catalog/models/empty_planning_result.py
-polaris/catalog/models/enable_row_lineage_update.py
-polaris/catalog/models/equality_delete_file.py
-polaris/catalog/models/error_model.py
-polaris/catalog/models/expression.py
-polaris/catalog/models/failed_planning_result.py
-polaris/catalog/models/false_expression.py
-polaris/catalog/models/fetch_planning_result.py
-polaris/catalog/models/fetch_scan_tasks_request.py
-polaris/catalog/models/fetch_scan_tasks_result.py
-polaris/catalog/models/file_format.py
-polaris/catalog/models/file_scan_task.py
-polaris/catalog/models/get_namespace_response.py
-polaris/catalog/models/iceberg_error_response.py
-polaris/catalog/models/list_namespaces_response.py
-polaris/catalog/models/list_tables_response.py
-polaris/catalog/models/list_type.py
-polaris/catalog/models/literal_expression.py
-polaris/catalog/models/load_credentials_response.py
-polaris/catalog/models/load_table_result.py
-polaris/catalog/models/load_view_result.py
-polaris/catalog/models/map_type.py
-polaris/catalog/models/metadata_log_inner.py
-polaris/catalog/models/metric_result.py
-polaris/catalog/models/model_schema.py
-polaris/catalog/models/not_expression.py
-polaris/catalog/models/null_order.py
-polaris/catalog/models/o_auth_error.py
-polaris/catalog/models/o_auth_token_response.py
-polaris/catalog/models/partition_field.py
-polaris/catalog/models/partition_spec.py
-polaris/catalog/models/partition_statistics_file.py
-polaris/catalog/models/plan_status.py
-polaris/catalog/models/plan_table_scan_request.py
-polaris/catalog/models/plan_table_scan_result.py
-polaris/catalog/models/position_delete_file.py
-polaris/catalog/models/primitive_type_value.py
-polaris/catalog/models/register_table_request.py
-polaris/catalog/models/remove_partition_specs_update.py
-polaris/catalog/models/remove_partition_statistics_update.py
-polaris/catalog/models/remove_properties_update.py
-polaris/catalog/models/remove_snapshot_ref_update.py
-polaris/catalog/models/remove_snapshots_update.py
-polaris/catalog/models/remove_statistics_update.py
-polaris/catalog/models/rename_table_request.py
-polaris/catalog/models/report_metrics_request.py
-polaris/catalog/models/scan_report.py
-polaris/catalog/models/scan_tasks.py
-polaris/catalog/models/set_current_schema_update.py
-polaris/catalog/models/set_current_view_version_update.py
-polaris/catalog/models/set_default_sort_order_update.py
-polaris/catalog/models/set_default_spec_update.py
-polaris/catalog/models/set_expression.py
-polaris/catalog/models/set_location_update.py
-polaris/catalog/models/set_partition_statistics_update.py
-polaris/catalog/models/set_properties_update.py
-polaris/catalog/models/set_snapshot_ref_update.py
-polaris/catalog/models/set_statistics_update.py
-polaris/catalog/models/snapshot.py
-polaris/catalog/models/snapshot_log_inner.py
-polaris/catalog/models/snapshot_reference.py
-polaris/catalog/models/snapshot_summary.py
-polaris/catalog/models/sort_direction.py
-polaris/catalog/models/sort_field.py
-polaris/catalog/models/sort_order.py
-polaris/catalog/models/sql_view_representation.py
-polaris/catalog/models/statistics_file.py
-polaris/catalog/models/storage_credential.py
-polaris/catalog/models/struct_field.py
-polaris/catalog/models/struct_type.py
-polaris/catalog/models/table_identifier.py
-polaris/catalog/models/table_metadata.py
-polaris/catalog/models/table_requirement.py
-polaris/catalog/models/table_update.py
-polaris/catalog/models/term.py
-polaris/catalog/models/timer_result.py
-polaris/catalog/models/token_type.py
-polaris/catalog/models/transform_term.py
-polaris/catalog/models/true_expression.py
-polaris/catalog/models/type.py
-polaris/catalog/models/unary_expression.py
-polaris/catalog/models/update_namespace_properties_request.py
-polaris/catalog/models/update_namespace_properties_response.py
-polaris/catalog/models/upgrade_format_version_update.py
-polaris/catalog/models/value_map.py
-polaris/catalog/models/view_history_entry.py
-polaris/catalog/models/view_metadata.py
-polaris/catalog/models/view_representation.py
-polaris/catalog/models/view_requirement.py
-polaris/catalog/models/view_update.py
-polaris/catalog/models/view_version.py
-polaris/catalog/py.typed
-polaris/catalog/rest.py
-setup.cfg
-test/__init__.py
-test/test_async_planning_result.py
-test/test_completed_planning_result.py
-test/test_completed_planning_with_id_result.py
-test/test_content_file.py
-test/test_count_map.py
-test/test_data_file.py
-test/test_delete_file.py
-test/test_empty_planning_result.py
-test/test_equality_delete_file.py
-test/test_failed_planning_result.py
-test/test_fetch_planning_result.py
-test/test_fetch_scan_tasks_request.py
-test/test_fetch_scan_tasks_result.py
-test/test_file_format.py
-test/test_file_scan_task.py
-test/test_iceberg_catalog_api.py
-test/test_iceberg_configuration_api.py
-test/test_iceberg_o_auth2_api.py
-test/test_plan_status.py
-test/test_plan_table_scan_request.py
-test/test_plan_table_scan_result.py
-test/test_position_delete_file.py
-test/test_scan_tasks.py
-test/test_value_map.py
-tox.ini
diff --git a/client/python/.openapi-generator/VERSION b/client/python/.openapi-generator/VERSION
deleted file mode 100644
index b23eb27529..0000000000
--- a/client/python/.openapi-generator/VERSION
+++ /dev/null
@@ -1 +0,0 @@
-7.11.0
diff --git a/client/python/README.md b/client/python/README.md
index a79b8d2410..cec9526816 100644
--- a/client/python/README.md
+++ b/client/python/README.md
@@ -1,307 +1,47 @@
-# polaris.catalog
-Defines the specification for the first version of the REST Catalog API. Implementations should ideally support both Iceberg table specs v1 and v2, with priority given to v2.
-
-This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
-
-- API version: 0.0.1
-- Package version: 1.0.0
-- Generator version: 7.11.0
-- Build package: org.openapitools.codegen.languages.PythonClientCodegen
-## Requirements.
+# Apache Polaris Python Package
+The Apache Polaris Python package provides a client for interacting with the Apache Polaris REST APIs, including management, Iceberg Catalog, and Polaris Catalog APIs. It enables users to manage and query data catalogs programmatically from Python applications.
-Python 3.8+
+## Development
-## Installation & Usage
-### pip install
+### Prerequisites
+- Python 3.9 or later
+- poetry >= 2.0
-If the python package is hosted on a repository, you can install directly using:
-
-```sh
-pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
+### Installation
+First we need to generate the OpenAPI client code from the OpenAPI specification.
```
-(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`)
-
-Then import the package:
-```python
-import polaris.catalog
+make regenerate-client
```
-
-### Setuptools
-
-Install via [Setuptools](http://pypi.python.org/pypi/setuptools).
-
-```sh
-python setup.py install --user
+Install the project with test dependencies:
```
-(or `sudo python setup.py install` to install the package for all users)
-
-Then import the package:
-```python
-import polaris.catalog
+poetry install --all-extras
```
-### Tests
-
-Execute `pytest` to run the tests.
-
-## Getting Started
-
-Please follow the [installation procedure](#installation--usage) and then run the following:
-
-```python
-
-import polaris.catalog
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.IcebergCatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- table = 'sales' # str | A table name
- plan_id = 'plan_id_example' # str | ID used to track a planning request
-
- try:
- # Cancels scan planning for a plan-id
- api_instance.cancel_planning(prefix, namespace, table, plan_id)
- except ApiException as e:
- print("Exception when calling IcebergCatalogAPI->cancel_planning: %s\n" % e)
-
+### Auto-formatting and Linting
+```
+make lint
```
-## Documentation for API Endpoints
-
-All URIs are relative to *https://localhost*
-
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*IcebergCatalogAPI* | [**cancel_planning**](docs/IcebergCatalogAPI.md#cancel_planning) | **DELETE** /v1/{prefix}/namespaces/{namespace}/tables/{table}/plan/{plan-id} | Cancels scan planning for a plan-id
-*IcebergCatalogAPI* | [**commit_transaction**](docs/IcebergCatalogAPI.md#commit_transaction) | **POST** /v1/{prefix}/transactions/commit | Commit updates to multiple tables in an atomic operation
-*IcebergCatalogAPI* | [**create_namespace**](docs/IcebergCatalogAPI.md#create_namespace) | **POST** /v1/{prefix}/namespaces | Create a namespace
-*IcebergCatalogAPI* | [**create_table**](docs/IcebergCatalogAPI.md#create_table) | **POST** /v1/{prefix}/namespaces/{namespace}/tables | Create a table in the given namespace
-*IcebergCatalogAPI* | [**create_view**](docs/IcebergCatalogAPI.md#create_view) | **POST** /v1/{prefix}/namespaces/{namespace}/views | Create a view in the given namespace
-*IcebergCatalogAPI* | [**drop_namespace**](docs/IcebergCatalogAPI.md#drop_namespace) | **DELETE** /v1/{prefix}/namespaces/{namespace} | Drop a namespace from the catalog. Namespace must be empty.
-*IcebergCatalogAPI* | [**drop_table**](docs/IcebergCatalogAPI.md#drop_table) | **DELETE** /v1/{prefix}/namespaces/{namespace}/tables/{table} | Drop a table from the catalog
-*IcebergCatalogAPI* | [**drop_view**](docs/IcebergCatalogAPI.md#drop_view) | **DELETE** /v1/{prefix}/namespaces/{namespace}/views/{view} | Drop a view from the catalog
-*IcebergCatalogAPI* | [**fetch_planning_result**](docs/IcebergCatalogAPI.md#fetch_planning_result) | **GET** /v1/{prefix}/namespaces/{namespace}/tables/{table}/plan/{plan-id} | Fetches the result of scan planning for a plan-id
-*IcebergCatalogAPI* | [**fetch_scan_tasks**](docs/IcebergCatalogAPI.md#fetch_scan_tasks) | **POST** /v1/{prefix}/namespaces/{namespace}/tables/{table}/tasks | Fetches result tasks for a plan task
-*IcebergCatalogAPI* | [**list_namespaces**](docs/IcebergCatalogAPI.md#list_namespaces) | **GET** /v1/{prefix}/namespaces | List namespaces, optionally providing a parent namespace to list underneath
-*IcebergCatalogAPI* | [**list_tables**](docs/IcebergCatalogAPI.md#list_tables) | **GET** /v1/{prefix}/namespaces/{namespace}/tables | List all table identifiers underneath a given namespace
-*IcebergCatalogAPI* | [**list_views**](docs/IcebergCatalogAPI.md#list_views) | **GET** /v1/{prefix}/namespaces/{namespace}/views | List all view identifiers underneath a given namespace
-*IcebergCatalogAPI* | [**load_credentials**](docs/IcebergCatalogAPI.md#load_credentials) | **GET** /v1/{prefix}/namespaces/{namespace}/tables/{table}/credentials | Load vended credentials for a table from the catalog
-*IcebergCatalogAPI* | [**load_namespace_metadata**](docs/IcebergCatalogAPI.md#load_namespace_metadata) | **GET** /v1/{prefix}/namespaces/{namespace} | Load the metadata properties for a namespace
-*IcebergCatalogAPI* | [**load_table**](docs/IcebergCatalogAPI.md#load_table) | **GET** /v1/{prefix}/namespaces/{namespace}/tables/{table} | Load a table from the catalog
-*IcebergCatalogAPI* | [**load_view**](docs/IcebergCatalogAPI.md#load_view) | **GET** /v1/{prefix}/namespaces/{namespace}/views/{view} | Load a view from the catalog
-*IcebergCatalogAPI* | [**namespace_exists**](docs/IcebergCatalogAPI.md#namespace_exists) | **HEAD** /v1/{prefix}/namespaces/{namespace} | Check if a namespace exists
-*IcebergCatalogAPI* | [**plan_table_scan**](docs/IcebergCatalogAPI.md#plan_table_scan) | **POST** /v1/{prefix}/namespaces/{namespace}/tables/{table}/plan | Submit a scan for planning
-*IcebergCatalogAPI* | [**register_table**](docs/IcebergCatalogAPI.md#register_table) | **POST** /v1/{prefix}/namespaces/{namespace}/register | Register a table in the given namespace using given metadata file location
-*IcebergCatalogAPI* | [**rename_table**](docs/IcebergCatalogAPI.md#rename_table) | **POST** /v1/{prefix}/tables/rename | Rename a table from its current name to a new name
-*IcebergCatalogAPI* | [**rename_view**](docs/IcebergCatalogAPI.md#rename_view) | **POST** /v1/{prefix}/views/rename | Rename a view from its current name to a new name
-*IcebergCatalogAPI* | [**replace_view**](docs/IcebergCatalogAPI.md#replace_view) | **POST** /v1/{prefix}/namespaces/{namespace}/views/{view} | Replace a view
-*IcebergCatalogAPI* | [**report_metrics**](docs/IcebergCatalogAPI.md#report_metrics) | **POST** /v1/{prefix}/namespaces/{namespace}/tables/{table}/metrics | Send a metrics report to this endpoint to be processed by the backend
-*IcebergCatalogAPI* | [**table_exists**](docs/IcebergCatalogAPI.md#table_exists) | **HEAD** /v1/{prefix}/namespaces/{namespace}/tables/{table} | Check if a table exists
-*IcebergCatalogAPI* | [**update_properties**](docs/IcebergCatalogAPI.md#update_properties) | **POST** /v1/{prefix}/namespaces/{namespace}/properties | Set or remove properties on a namespace
-*IcebergCatalogAPI* | [**update_table**](docs/IcebergCatalogAPI.md#update_table) | **POST** /v1/{prefix}/namespaces/{namespace}/tables/{table} | Commit updates to a table
-*IcebergCatalogAPI* | [**view_exists**](docs/IcebergCatalogAPI.md#view_exists) | **HEAD** /v1/{prefix}/namespaces/{namespace}/views/{view} | Check if a view exists
-*IcebergConfigurationAPI* | [**get_config**](docs/IcebergConfigurationAPI.md#get_config) | **GET** /v1/config | List all catalog configuration settings
-*IcebergOAuth2API* | [**get_token**](docs/IcebergOAuth2API.md#get_token) | **POST** /v1/oauth/tokens | Get a token using an OAuth2 flow (DEPRECATED for REMOVAL)
-
-
-## Documentation For Models
-
- - [AddPartitionSpecUpdate](docs/AddPartitionSpecUpdate.md)
- - [AddSchemaUpdate](docs/AddSchemaUpdate.md)
- - [AddSnapshotUpdate](docs/AddSnapshotUpdate.md)
- - [AddSortOrderUpdate](docs/AddSortOrderUpdate.md)
- - [AddViewVersionUpdate](docs/AddViewVersionUpdate.md)
- - [AndOrExpression](docs/AndOrExpression.md)
- - [AssertCreate](docs/AssertCreate.md)
- - [AssertCurrentSchemaId](docs/AssertCurrentSchemaId.md)
- - [AssertDefaultSortOrderId](docs/AssertDefaultSortOrderId.md)
- - [AssertDefaultSpecId](docs/AssertDefaultSpecId.md)
- - [AssertLastAssignedFieldId](docs/AssertLastAssignedFieldId.md)
- - [AssertLastAssignedPartitionId](docs/AssertLastAssignedPartitionId.md)
- - [AssertRefSnapshotId](docs/AssertRefSnapshotId.md)
- - [AssertTableUUID](docs/AssertTableUUID.md)
- - [AssertViewUUID](docs/AssertViewUUID.md)
- - [AssignUUIDUpdate](docs/AssignUUIDUpdate.md)
- - [AsyncPlanningResult](docs/AsyncPlanningResult.md)
- - [BaseUpdate](docs/BaseUpdate.md)
- - [BlobMetadata](docs/BlobMetadata.md)
- - [CatalogConfig](docs/CatalogConfig.md)
- - [CommitReport](docs/CommitReport.md)
- - [CommitTableRequest](docs/CommitTableRequest.md)
- - [CommitTableResponse](docs/CommitTableResponse.md)
- - [CommitTransactionRequest](docs/CommitTransactionRequest.md)
- - [CommitViewRequest](docs/CommitViewRequest.md)
- - [CompletedPlanningResult](docs/CompletedPlanningResult.md)
- - [CompletedPlanningWithIDResult](docs/CompletedPlanningWithIDResult.md)
- - [ContentFile](docs/ContentFile.md)
- - [CountMap](docs/CountMap.md)
- - [CounterResult](docs/CounterResult.md)
- - [CreateNamespaceRequest](docs/CreateNamespaceRequest.md)
- - [CreateNamespaceResponse](docs/CreateNamespaceResponse.md)
- - [CreateTableRequest](docs/CreateTableRequest.md)
- - [CreateViewRequest](docs/CreateViewRequest.md)
- - [DataFile](docs/DataFile.md)
- - [DeleteFile](docs/DeleteFile.md)
- - [EmptyPlanningResult](docs/EmptyPlanningResult.md)
- - [EnableRowLineageUpdate](docs/EnableRowLineageUpdate.md)
- - [EqualityDeleteFile](docs/EqualityDeleteFile.md)
- - [ErrorModel](docs/ErrorModel.md)
- - [Expression](docs/Expression.md)
- - [FailedPlanningResult](docs/FailedPlanningResult.md)
- - [FalseExpression](docs/FalseExpression.md)
- - [FetchPlanningResult](docs/FetchPlanningResult.md)
- - [FetchScanTasksRequest](docs/FetchScanTasksRequest.md)
- - [FetchScanTasksResult](docs/FetchScanTasksResult.md)
- - [FileFormat](docs/FileFormat.md)
- - [FileScanTask](docs/FileScanTask.md)
- - [GetNamespaceResponse](docs/GetNamespaceResponse.md)
- - [IcebergErrorResponse](docs/IcebergErrorResponse.md)
- - [ListNamespacesResponse](docs/ListNamespacesResponse.md)
- - [ListTablesResponse](docs/ListTablesResponse.md)
- - [ListType](docs/ListType.md)
- - [LiteralExpression](docs/LiteralExpression.md)
- - [LoadCredentialsResponse](docs/LoadCredentialsResponse.md)
- - [LoadTableResult](docs/LoadTableResult.md)
- - [LoadViewResult](docs/LoadViewResult.md)
- - [MapType](docs/MapType.md)
- - [MetadataLogInner](docs/MetadataLogInner.md)
- - [MetricResult](docs/MetricResult.md)
- - [ModelSchema](docs/ModelSchema.md)
- - [NotExpression](docs/NotExpression.md)
- - [NullOrder](docs/NullOrder.md)
- - [OAuthError](docs/OAuthError.md)
- - [OAuthTokenResponse](docs/OAuthTokenResponse.md)
- - [PartitionField](docs/PartitionField.md)
- - [PartitionSpec](docs/PartitionSpec.md)
- - [PartitionStatisticsFile](docs/PartitionStatisticsFile.md)
- - [PlanStatus](docs/PlanStatus.md)
- - [PlanTableScanRequest](docs/PlanTableScanRequest.md)
- - [PlanTableScanResult](docs/PlanTableScanResult.md)
- - [PositionDeleteFile](docs/PositionDeleteFile.md)
- - [PrimitiveTypeValue](docs/PrimitiveTypeValue.md)
- - [RegisterTableRequest](docs/RegisterTableRequest.md)
- - [RemovePartitionSpecsUpdate](docs/RemovePartitionSpecsUpdate.md)
- - [RemovePartitionStatisticsUpdate](docs/RemovePartitionStatisticsUpdate.md)
- - [RemovePropertiesUpdate](docs/RemovePropertiesUpdate.md)
- - [RemoveSnapshotRefUpdate](docs/RemoveSnapshotRefUpdate.md)
- - [RemoveSnapshotsUpdate](docs/RemoveSnapshotsUpdate.md)
- - [RemoveStatisticsUpdate](docs/RemoveStatisticsUpdate.md)
- - [RenameTableRequest](docs/RenameTableRequest.md)
- - [ReportMetricsRequest](docs/ReportMetricsRequest.md)
- - [SQLViewRepresentation](docs/SQLViewRepresentation.md)
- - [ScanReport](docs/ScanReport.md)
- - [ScanTasks](docs/ScanTasks.md)
- - [SetCurrentSchemaUpdate](docs/SetCurrentSchemaUpdate.md)
- - [SetCurrentViewVersionUpdate](docs/SetCurrentViewVersionUpdate.md)
- - [SetDefaultSortOrderUpdate](docs/SetDefaultSortOrderUpdate.md)
- - [SetDefaultSpecUpdate](docs/SetDefaultSpecUpdate.md)
- - [SetExpression](docs/SetExpression.md)
- - [SetLocationUpdate](docs/SetLocationUpdate.md)
- - [SetPartitionStatisticsUpdate](docs/SetPartitionStatisticsUpdate.md)
- - [SetPropertiesUpdate](docs/SetPropertiesUpdate.md)
- - [SetSnapshotRefUpdate](docs/SetSnapshotRefUpdate.md)
- - [SetStatisticsUpdate](docs/SetStatisticsUpdate.md)
- - [Snapshot](docs/Snapshot.md)
- - [SnapshotLogInner](docs/SnapshotLogInner.md)
- - [SnapshotReference](docs/SnapshotReference.md)
- - [SnapshotSummary](docs/SnapshotSummary.md)
- - [SortDirection](docs/SortDirection.md)
- - [SortField](docs/SortField.md)
- - [SortOrder](docs/SortOrder.md)
- - [StatisticsFile](docs/StatisticsFile.md)
- - [StorageCredential](docs/StorageCredential.md)
- - [StructField](docs/StructField.md)
- - [StructType](docs/StructType.md)
- - [TableIdentifier](docs/TableIdentifier.md)
- - [TableMetadata](docs/TableMetadata.md)
- - [TableRequirement](docs/TableRequirement.md)
- - [TableUpdate](docs/TableUpdate.md)
- - [Term](docs/Term.md)
- - [TimerResult](docs/TimerResult.md)
- - [TokenType](docs/TokenType.md)
- - [TransformTerm](docs/TransformTerm.md)
- - [TrueExpression](docs/TrueExpression.md)
- - [Type](docs/Type.md)
- - [UnaryExpression](docs/UnaryExpression.md)
- - [UpdateNamespacePropertiesRequest](docs/UpdateNamespacePropertiesRequest.md)
- - [UpdateNamespacePropertiesResponse](docs/UpdateNamespacePropertiesResponse.md)
- - [UpgradeFormatVersionUpdate](docs/UpgradeFormatVersionUpdate.md)
- - [ValueMap](docs/ValueMap.md)
- - [ViewHistoryEntry](docs/ViewHistoryEntry.md)
- - [ViewMetadata](docs/ViewMetadata.md)
- - [ViewRepresentation](docs/ViewRepresentation.md)
- - [ViewRequirement](docs/ViewRequirement.md)
- - [ViewUpdate](docs/ViewUpdate.md)
- - [ViewVersion](docs/ViewVersion.md)
-
-
-
-## Documentation For Authorization
-
-
-Authentication schemes defined for the API:
-
-### OAuth2
-
-- **Type**: OAuth
-- **Flow**: application
-- **Authorization URL**:
-- **Scopes**:
- - **catalog**: Allows interacting with the Config and Catalog APIs
-
-
-### BearerAuth
-
-- **Type**: Bearer authentication
-
-
-## Author
-
-
-
-
+### Running Integration Tests
+```
+make test-integration
+```
\ No newline at end of file
diff --git a/client/python/docs/.keep b/client/python/docs/.keep
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/client/python/docs/AddGrantRequest.md b/client/python/docs/AddGrantRequest.md
deleted file mode 100644
index bf00bc58e9..0000000000
--- a/client/python/docs/AddGrantRequest.md
+++ /dev/null
@@ -1,49 +0,0 @@
-
-# AddGrantRequest
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**grant** | [**GrantResource**](GrantResource.md) | | [optional]
-
-## Example
-
-```python
-from polaris.management.models.add_grant_request import AddGrantRequest
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of AddGrantRequest from a JSON string
-add_grant_request_instance = AddGrantRequest.from_json(json)
-# print the JSON string representation of the object
-print(AddGrantRequest.to_json())
-
-# convert the object into a dict
-add_grant_request_dict = add_grant_request_instance.to_dict()
-# create an instance of AddGrantRequest from a dict
-add_grant_request_from_dict = AddGrantRequest.from_dict(add_grant_request_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/AddPartitionSpecUpdate.md b/client/python/docs/AddPartitionSpecUpdate.md
deleted file mode 100644
index 075d185538..0000000000
--- a/client/python/docs/AddPartitionSpecUpdate.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# AddPartitionSpecUpdate
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**action** | **str** | | [optional]
-**spec** | [**PartitionSpec**](PartitionSpec.md) | |
-
-## Example
-
-```python
-from polaris.catalog.models.add_partition_spec_update import AddPartitionSpecUpdate
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of AddPartitionSpecUpdate from a JSON string
-add_partition_spec_update_instance = AddPartitionSpecUpdate.from_json(json)
-# print the JSON string representation of the object
-print(AddPartitionSpecUpdate.to_json())
-
-# convert the object into a dict
-add_partition_spec_update_dict = add_partition_spec_update_instance.to_dict()
-# create an instance of AddPartitionSpecUpdate from a dict
-add_partition_spec_update_from_dict = AddPartitionSpecUpdate.from_dict(add_partition_spec_update_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/AddSchemaUpdate.md b/client/python/docs/AddSchemaUpdate.md
deleted file mode 100644
index 14b684e8d1..0000000000
--- a/client/python/docs/AddSchemaUpdate.md
+++ /dev/null
@@ -1,51 +0,0 @@
-
-# AddSchemaUpdate
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**action** | **str** | | [optional]
-**var_schema** | [**ModelSchema**](ModelSchema.md) | |
-**last_column_id** | **int** | This optional field is **DEPRECATED for REMOVAL** since it more safe to handle this internally, and shouldn't be exposed to the clients. The highest assigned column ID for the table. This is used to ensure columns are always assigned an unused ID when evolving schemas. When omitted, it will be computed on the server side. | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.add_schema_update import AddSchemaUpdate
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of AddSchemaUpdate from a JSON string
-add_schema_update_instance = AddSchemaUpdate.from_json(json)
-# print the JSON string representation of the object
-print(AddSchemaUpdate.to_json())
-
-# convert the object into a dict
-add_schema_update_dict = add_schema_update_instance.to_dict()
-# create an instance of AddSchemaUpdate from a dict
-add_schema_update_from_dict = AddSchemaUpdate.from_dict(add_schema_update_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/AddSnapshotUpdate.md b/client/python/docs/AddSnapshotUpdate.md
deleted file mode 100644
index e609cd83ce..0000000000
--- a/client/python/docs/AddSnapshotUpdate.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# AddSnapshotUpdate
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**action** | **str** | | [optional]
-**snapshot** | [**Snapshot**](Snapshot.md) | |
-
-## Example
-
-```python
-from polaris.catalog.models.add_snapshot_update import AddSnapshotUpdate
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of AddSnapshotUpdate from a JSON string
-add_snapshot_update_instance = AddSnapshotUpdate.from_json(json)
-# print the JSON string representation of the object
-print(AddSnapshotUpdate.to_json())
-
-# convert the object into a dict
-add_snapshot_update_dict = add_snapshot_update_instance.to_dict()
-# create an instance of AddSnapshotUpdate from a dict
-add_snapshot_update_from_dict = AddSnapshotUpdate.from_dict(add_snapshot_update_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/AddSortOrderUpdate.md b/client/python/docs/AddSortOrderUpdate.md
deleted file mode 100644
index 95dd6fc584..0000000000
--- a/client/python/docs/AddSortOrderUpdate.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# AddSortOrderUpdate
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**action** | **str** | | [optional]
-**sort_order** | [**SortOrder**](SortOrder.md) | |
-
-## Example
-
-```python
-from polaris.catalog.models.add_sort_order_update import AddSortOrderUpdate
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of AddSortOrderUpdate from a JSON string
-add_sort_order_update_instance = AddSortOrderUpdate.from_json(json)
-# print the JSON string representation of the object
-print(AddSortOrderUpdate.to_json())
-
-# convert the object into a dict
-add_sort_order_update_dict = add_sort_order_update_instance.to_dict()
-# create an instance of AddSortOrderUpdate from a dict
-add_sort_order_update_from_dict = AddSortOrderUpdate.from_dict(add_sort_order_update_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/AddViewVersionUpdate.md b/client/python/docs/AddViewVersionUpdate.md
deleted file mode 100644
index 5c81cef96d..0000000000
--- a/client/python/docs/AddViewVersionUpdate.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# AddViewVersionUpdate
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**action** | **str** | | [optional]
-**view_version** | [**ViewVersion**](ViewVersion.md) | |
-
-## Example
-
-```python
-from polaris.catalog.models.add_view_version_update import AddViewVersionUpdate
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of AddViewVersionUpdate from a JSON string
-add_view_version_update_instance = AddViewVersionUpdate.from_json(json)
-# print the JSON string representation of the object
-print(AddViewVersionUpdate.to_json())
-
-# convert the object into a dict
-add_view_version_update_dict = add_view_version_update_instance.to_dict()
-# create an instance of AddViewVersionUpdate from a dict
-add_view_version_update_from_dict = AddViewVersionUpdate.from_dict(add_view_version_update_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/AndOrExpression.md b/client/python/docs/AndOrExpression.md
deleted file mode 100644
index 31a94a8b1b..0000000000
--- a/client/python/docs/AndOrExpression.md
+++ /dev/null
@@ -1,51 +0,0 @@
-
-# AndOrExpression
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**type** | **str** | |
-**left** | [**Expression**](Expression.md) | |
-**right** | [**Expression**](Expression.md) | |
-
-## Example
-
-```python
-from polaris.catalog.models.and_or_expression import AndOrExpression
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of AndOrExpression from a JSON string
-and_or_expression_instance = AndOrExpression.from_json(json)
-# print the JSON string representation of the object
-print(AndOrExpression.to_json())
-
-# convert the object into a dict
-and_or_expression_dict = and_or_expression_instance.to_dict()
-# create an instance of AndOrExpression from a dict
-and_or_expression_from_dict = AndOrExpression.from_dict(and_or_expression_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/ApplicablePolicy.md b/client/python/docs/ApplicablePolicy.md
deleted file mode 100644
index 1f695c23c4..0000000000
--- a/client/python/docs/ApplicablePolicy.md
+++ /dev/null
@@ -1,56 +0,0 @@
-
-# ApplicablePolicy
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**policy_type** | **str** | |
-**inheritable** | **bool** | |
-**name** | **str** | A policy name. A valid policy name should only consist of uppercase and lowercase letters (A-Z, a-z), digits (0-9), hyphens (-), underscores (_). |
-**description** | **str** | | [optional]
-**content** | **str** | | [optional]
-**version** | **int** | |
-**inherited** | **bool** | | [default to False]
-**namespace** | **List[str]** | Reference to one or more levels of a namespace |
-
-## Example
-
-```python
-from polaris.catalog.models.applicable_policy import ApplicablePolicy
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of ApplicablePolicy from a JSON string
-applicable_policy_instance = ApplicablePolicy.from_json(json)
-# print the JSON string representation of the object
-print(ApplicablePolicy.to_json())
-
-# convert the object into a dict
-applicable_policy_dict = applicable_policy_instance.to_dict()
-# create an instance of ApplicablePolicy from a dict
-applicable_policy_from_dict = ApplicablePolicy.from_dict(applicable_policy_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/AssertCreate.md b/client/python/docs/AssertCreate.md
deleted file mode 100644
index 0857469ecc..0000000000
--- a/client/python/docs/AssertCreate.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# AssertCreate
-
-The table must not already exist; used for create transactions
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**type** | **str** | |
-
-## Example
-
-```python
-from polaris.catalog.models.assert_create import AssertCreate
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of AssertCreate from a JSON string
-assert_create_instance = AssertCreate.from_json(json)
-# print the JSON string representation of the object
-print(AssertCreate.to_json())
-
-# convert the object into a dict
-assert_create_dict = assert_create_instance.to_dict()
-# create an instance of AssertCreate from a dict
-assert_create_from_dict = AssertCreate.from_dict(assert_create_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/AssertCurrentSchemaId.md b/client/python/docs/AssertCurrentSchemaId.md
deleted file mode 100644
index dcb96e450e..0000000000
--- a/client/python/docs/AssertCurrentSchemaId.md
+++ /dev/null
@@ -1,51 +0,0 @@
-
-# AssertCurrentSchemaId
-
-The table's current schema id must match the requirement's `current-schema-id`
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**type** | **str** | | [optional]
-**current_schema_id** | **int** | |
-
-## Example
-
-```python
-from polaris.catalog.models.assert_current_schema_id import AssertCurrentSchemaId
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of AssertCurrentSchemaId from a JSON string
-assert_current_schema_id_instance = AssertCurrentSchemaId.from_json(json)
-# print the JSON string representation of the object
-print(AssertCurrentSchemaId.to_json())
-
-# convert the object into a dict
-assert_current_schema_id_dict = assert_current_schema_id_instance.to_dict()
-# create an instance of AssertCurrentSchemaId from a dict
-assert_current_schema_id_from_dict = AssertCurrentSchemaId.from_dict(assert_current_schema_id_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/AssertDefaultSortOrderId.md b/client/python/docs/AssertDefaultSortOrderId.md
deleted file mode 100644
index 48304ac925..0000000000
--- a/client/python/docs/AssertDefaultSortOrderId.md
+++ /dev/null
@@ -1,51 +0,0 @@
-
-# AssertDefaultSortOrderId
-
-The table's default sort order id must match the requirement's `default-sort-order-id`
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**type** | **str** | | [optional]
-**default_sort_order_id** | **int** | |
-
-## Example
-
-```python
-from polaris.catalog.models.assert_default_sort_order_id import AssertDefaultSortOrderId
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of AssertDefaultSortOrderId from a JSON string
-assert_default_sort_order_id_instance = AssertDefaultSortOrderId.from_json(json)
-# print the JSON string representation of the object
-print(AssertDefaultSortOrderId.to_json())
-
-# convert the object into a dict
-assert_default_sort_order_id_dict = assert_default_sort_order_id_instance.to_dict()
-# create an instance of AssertDefaultSortOrderId from a dict
-assert_default_sort_order_id_from_dict = AssertDefaultSortOrderId.from_dict(assert_default_sort_order_id_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/AssertDefaultSpecId.md b/client/python/docs/AssertDefaultSpecId.md
deleted file mode 100644
index 6b493fbe66..0000000000
--- a/client/python/docs/AssertDefaultSpecId.md
+++ /dev/null
@@ -1,51 +0,0 @@
-
-# AssertDefaultSpecId
-
-The table's default spec id must match the requirement's `default-spec-id`
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**type** | **str** | | [optional]
-**default_spec_id** | **int** | |
-
-## Example
-
-```python
-from polaris.catalog.models.assert_default_spec_id import AssertDefaultSpecId
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of AssertDefaultSpecId from a JSON string
-assert_default_spec_id_instance = AssertDefaultSpecId.from_json(json)
-# print the JSON string representation of the object
-print(AssertDefaultSpecId.to_json())
-
-# convert the object into a dict
-assert_default_spec_id_dict = assert_default_spec_id_instance.to_dict()
-# create an instance of AssertDefaultSpecId from a dict
-assert_default_spec_id_from_dict = AssertDefaultSpecId.from_dict(assert_default_spec_id_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/AssertLastAssignedFieldId.md b/client/python/docs/AssertLastAssignedFieldId.md
deleted file mode 100644
index 24ad4a1a1d..0000000000
--- a/client/python/docs/AssertLastAssignedFieldId.md
+++ /dev/null
@@ -1,51 +0,0 @@
-
-# AssertLastAssignedFieldId
-
-The table's last assigned column id must match the requirement's `last-assigned-field-id`
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**type** | **str** | | [optional]
-**last_assigned_field_id** | **int** | |
-
-## Example
-
-```python
-from polaris.catalog.models.assert_last_assigned_field_id import AssertLastAssignedFieldId
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of AssertLastAssignedFieldId from a JSON string
-assert_last_assigned_field_id_instance = AssertLastAssignedFieldId.from_json(json)
-# print the JSON string representation of the object
-print(AssertLastAssignedFieldId.to_json())
-
-# convert the object into a dict
-assert_last_assigned_field_id_dict = assert_last_assigned_field_id_instance.to_dict()
-# create an instance of AssertLastAssignedFieldId from a dict
-assert_last_assigned_field_id_from_dict = AssertLastAssignedFieldId.from_dict(assert_last_assigned_field_id_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/AssertLastAssignedPartitionId.md b/client/python/docs/AssertLastAssignedPartitionId.md
deleted file mode 100644
index 2895f0d62f..0000000000
--- a/client/python/docs/AssertLastAssignedPartitionId.md
+++ /dev/null
@@ -1,51 +0,0 @@
-
-# AssertLastAssignedPartitionId
-
-The table's last assigned partition id must match the requirement's `last-assigned-partition-id`
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**type** | **str** | | [optional]
-**last_assigned_partition_id** | **int** | |
-
-## Example
-
-```python
-from polaris.catalog.models.assert_last_assigned_partition_id import AssertLastAssignedPartitionId
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of AssertLastAssignedPartitionId from a JSON string
-assert_last_assigned_partition_id_instance = AssertLastAssignedPartitionId.from_json(json)
-# print the JSON string representation of the object
-print(AssertLastAssignedPartitionId.to_json())
-
-# convert the object into a dict
-assert_last_assigned_partition_id_dict = assert_last_assigned_partition_id_instance.to_dict()
-# create an instance of AssertLastAssignedPartitionId from a dict
-assert_last_assigned_partition_id_from_dict = AssertLastAssignedPartitionId.from_dict(assert_last_assigned_partition_id_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/AssertRefSnapshotId.md b/client/python/docs/AssertRefSnapshotId.md
deleted file mode 100644
index 5129ede15a..0000000000
--- a/client/python/docs/AssertRefSnapshotId.md
+++ /dev/null
@@ -1,52 +0,0 @@
-
-# AssertRefSnapshotId
-
-The table branch or tag identified by the requirement's `ref` must reference the requirement's `snapshot-id`; if `snapshot-id` is `null` or missing, the ref must not already exist
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**type** | **str** | | [optional]
-**ref** | **str** | |
-**snapshot_id** | **int** | |
-
-## Example
-
-```python
-from polaris.catalog.models.assert_ref_snapshot_id import AssertRefSnapshotId
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of AssertRefSnapshotId from a JSON string
-assert_ref_snapshot_id_instance = AssertRefSnapshotId.from_json(json)
-# print the JSON string representation of the object
-print(AssertRefSnapshotId.to_json())
-
-# convert the object into a dict
-assert_ref_snapshot_id_dict = assert_ref_snapshot_id_instance.to_dict()
-# create an instance of AssertRefSnapshotId from a dict
-assert_ref_snapshot_id_from_dict = AssertRefSnapshotId.from_dict(assert_ref_snapshot_id_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/AssertTableUUID.md b/client/python/docs/AssertTableUUID.md
deleted file mode 100644
index 4b5a0af830..0000000000
--- a/client/python/docs/AssertTableUUID.md
+++ /dev/null
@@ -1,51 +0,0 @@
-
-# AssertTableUUID
-
-The table UUID must match the requirement's `uuid`
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**type** | **str** | |
-**uuid** | **str** | |
-
-## Example
-
-```python
-from polaris.catalog.models.assert_table_uuid import AssertTableUUID
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of AssertTableUUID from a JSON string
-assert_table_uuid_instance = AssertTableUUID.from_json(json)
-# print the JSON string representation of the object
-print(AssertTableUUID.to_json())
-
-# convert the object into a dict
-assert_table_uuid_dict = assert_table_uuid_instance.to_dict()
-# create an instance of AssertTableUUID from a dict
-assert_table_uuid_from_dict = AssertTableUUID.from_dict(assert_table_uuid_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/AssertViewUUID.md b/client/python/docs/AssertViewUUID.md
deleted file mode 100644
index 5c61b70e50..0000000000
--- a/client/python/docs/AssertViewUUID.md
+++ /dev/null
@@ -1,51 +0,0 @@
-
-# AssertViewUUID
-
-The view UUID must match the requirement's `uuid`
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**type** | **str** | |
-**uuid** | **str** | |
-
-## Example
-
-```python
-from polaris.catalog.models.assert_view_uuid import AssertViewUUID
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of AssertViewUUID from a JSON string
-assert_view_uuid_instance = AssertViewUUID.from_json(json)
-# print the JSON string representation of the object
-print(AssertViewUUID.to_json())
-
-# convert the object into a dict
-assert_view_uuid_dict = assert_view_uuid_instance.to_dict()
-# create an instance of AssertViewUUID from a dict
-assert_view_uuid_from_dict = AssertViewUUID.from_dict(assert_view_uuid_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/AssignUUIDUpdate.md b/client/python/docs/AssignUUIDUpdate.md
deleted file mode 100644
index 450684f265..0000000000
--- a/client/python/docs/AssignUUIDUpdate.md
+++ /dev/null
@@ -1,51 +0,0 @@
-
-# AssignUUIDUpdate
-
-Assigning a UUID to a table/view should only be done when creating the table/view. It is not safe to re-assign the UUID if a table/view already has a UUID assigned
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**action** | **str** | | [optional]
-**uuid** | **str** | |
-
-## Example
-
-```python
-from polaris.catalog.models.assign_uuid_update import AssignUUIDUpdate
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of AssignUUIDUpdate from a JSON string
-assign_uuid_update_instance = AssignUUIDUpdate.from_json(json)
-# print the JSON string representation of the object
-print(AssignUUIDUpdate.to_json())
-
-# convert the object into a dict
-assign_uuid_update_dict = assign_uuid_update_instance.to_dict()
-# create an instance of AssignUUIDUpdate from a dict
-assign_uuid_update_from_dict = AssignUUIDUpdate.from_dict(assign_uuid_update_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/AsyncPlanningResult.md b/client/python/docs/AsyncPlanningResult.md
deleted file mode 100644
index 9084002f55..0000000000
--- a/client/python/docs/AsyncPlanningResult.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# AsyncPlanningResult
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**status** | [**PlanStatus**](PlanStatus.md) | |
-**plan_id** | **str** | ID used to track a planning request | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.async_planning_result import AsyncPlanningResult
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of AsyncPlanningResult from a JSON string
-async_planning_result_instance = AsyncPlanningResult.from_json(json)
-# print the JSON string representation of the object
-print(AsyncPlanningResult.to_json())
-
-# convert the object into a dict
-async_planning_result_dict = async_planning_result_instance.to_dict()
-# create an instance of AsyncPlanningResult from a dict
-async_planning_result_from_dict = AsyncPlanningResult.from_dict(async_planning_result_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/AttachPolicyRequest.md b/client/python/docs/AttachPolicyRequest.md
deleted file mode 100644
index dd6678f9dc..0000000000
--- a/client/python/docs/AttachPolicyRequest.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# AttachPolicyRequest
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**target** | [**PolicyAttachmentTarget**](PolicyAttachmentTarget.md) | |
-**parameters** | **Dict[str, str]** | | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.attach_policy_request import AttachPolicyRequest
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of AttachPolicyRequest from a JSON string
-attach_policy_request_instance = AttachPolicyRequest.from_json(json)
-# print the JSON string representation of the object
-print(AttachPolicyRequest.to_json())
-
-# convert the object into a dict
-attach_policy_request_dict = attach_policy_request_instance.to_dict()
-# create an instance of AttachPolicyRequest from a dict
-attach_policy_request_from_dict = AttachPolicyRequest.from_dict(attach_policy_request_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/AuthenticationParameters.md b/client/python/docs/AuthenticationParameters.md
deleted file mode 100644
index 55ddefc970..0000000000
--- a/client/python/docs/AuthenticationParameters.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# AuthenticationParameters
-
-Authentication-specific information for a connection
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**authentication_type** | **str** | The type of authentication to use when connecting to the remote rest service |
-
-## Example
-
-```python
-from polaris.management.models.authentication_parameters import AuthenticationParameters
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of AuthenticationParameters from a JSON string
-authentication_parameters_instance = AuthenticationParameters.from_json(json)
-# print the JSON string representation of the object
-print(AuthenticationParameters.to_json())
-
-# convert the object into a dict
-authentication_parameters_dict = authentication_parameters_instance.to_dict()
-# create an instance of AuthenticationParameters from a dict
-authentication_parameters_from_dict = AuthenticationParameters.from_dict(authentication_parameters_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/AwsIamServiceIdentityInfo.md b/client/python/docs/AwsIamServiceIdentityInfo.md
deleted file mode 100644
index b37394f6e5..0000000000
--- a/client/python/docs/AwsIamServiceIdentityInfo.md
+++ /dev/null
@@ -1,49 +0,0 @@
-
-# AwsIamServiceIdentityInfo
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**iam_arn** | **str** | The ARN of the IAM user or IAM role Polaris uses to assume roles and then access external resources. |
-
-## Example
-
-```python
-from polaris.management.models.aws_iam_service_identity_info import AwsIamServiceIdentityInfo
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of AwsIamServiceIdentityInfo from a JSON string
-aws_iam_service_identity_info_instance = AwsIamServiceIdentityInfo.from_json(json)
-# print the JSON string representation of the object
-print(AwsIamServiceIdentityInfo.to_json())
-
-# convert the object into a dict
-aws_iam_service_identity_info_dict = aws_iam_service_identity_info_instance.to_dict()
-# create an instance of AwsIamServiceIdentityInfo from a dict
-aws_iam_service_identity_info_from_dict = AwsIamServiceIdentityInfo.from_dict(aws_iam_service_identity_info_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/AwsStorageConfigInfo.md b/client/python/docs/AwsStorageConfigInfo.md
deleted file mode 100644
index dec7efafae..0000000000
--- a/client/python/docs/AwsStorageConfigInfo.md
+++ /dev/null
@@ -1,53 +0,0 @@
-
-# AwsStorageConfigInfo
-
-aws storage configuration info
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**role_arn** | **str** | the aws role arn that grants privileges on the S3 buckets |
-**external_id** | **str** | an optional external id used to establish a trust relationship with AWS in the trust policy | [optional]
-**user_arn** | **str** | the aws user arn used to assume the aws role | [optional]
-**region** | **str** | the aws region where data is stored | [optional]
-
-## Example
-
-```python
-from polaris.management.models.aws_storage_config_info import AwsStorageConfigInfo
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of AwsStorageConfigInfo from a JSON string
-aws_storage_config_info_instance = AwsStorageConfigInfo.from_json(json)
-# print the JSON string representation of the object
-print(AwsStorageConfigInfo.to_json())
-
-# convert the object into a dict
-aws_storage_config_info_dict = aws_storage_config_info_instance.to_dict()
-# create an instance of AwsStorageConfigInfo from a dict
-aws_storage_config_info_from_dict = AwsStorageConfigInfo.from_dict(aws_storage_config_info_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/AzureStorageConfigInfo.md b/client/python/docs/AzureStorageConfigInfo.md
deleted file mode 100644
index bd4b5b5da6..0000000000
--- a/client/python/docs/AzureStorageConfigInfo.md
+++ /dev/null
@@ -1,52 +0,0 @@
-
-# AzureStorageConfigInfo
-
-azure storage configuration info
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**tenant_id** | **str** | the tenant id that the storage accounts belong to |
-**multi_tenant_app_name** | **str** | the name of the azure client application | [optional]
-**consent_url** | **str** | URL to the Azure permissions request page | [optional]
-
-## Example
-
-```python
-from polaris.management.models.azure_storage_config_info import AzureStorageConfigInfo
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of AzureStorageConfigInfo from a JSON string
-azure_storage_config_info_instance = AzureStorageConfigInfo.from_json(json)
-# print the JSON string representation of the object
-print(AzureStorageConfigInfo.to_json())
-
-# convert the object into a dict
-azure_storage_config_info_dict = azure_storage_config_info_instance.to_dict()
-# create an instance of AzureStorageConfigInfo from a dict
-azure_storage_config_info_from_dict = AzureStorageConfigInfo.from_dict(azure_storage_config_info_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/BaseUpdate.md b/client/python/docs/BaseUpdate.md
deleted file mode 100644
index efcdab2bba..0000000000
--- a/client/python/docs/BaseUpdate.md
+++ /dev/null
@@ -1,49 +0,0 @@
-
-# BaseUpdate
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**action** | **str** | |
-
-## Example
-
-```python
-from polaris.catalog.models.base_update import BaseUpdate
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of BaseUpdate from a JSON string
-base_update_instance = BaseUpdate.from_json(json)
-# print the JSON string representation of the object
-print(BaseUpdate.to_json())
-
-# convert the object into a dict
-base_update_dict = base_update_instance.to_dict()
-# create an instance of BaseUpdate from a dict
-base_update_from_dict = BaseUpdate.from_dict(base_update_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/BearerAuthenticationParameters.md b/client/python/docs/BearerAuthenticationParameters.md
deleted file mode 100644
index 80cef0c1d8..0000000000
--- a/client/python/docs/BearerAuthenticationParameters.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# BearerAuthenticationParameters
-
-Bearer authentication directly embedded in request auth headers
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**bearer_token** | **str** | Bearer token (input-only) | [optional]
-
-## Example
-
-```python
-from polaris.management.models.bearer_authentication_parameters import BearerAuthenticationParameters
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of BearerAuthenticationParameters from a JSON string
-bearer_authentication_parameters_instance = BearerAuthenticationParameters.from_json(json)
-# print the JSON string representation of the object
-print(BearerAuthenticationParameters.to_json())
-
-# convert the object into a dict
-bearer_authentication_parameters_dict = bearer_authentication_parameters_instance.to_dict()
-# create an instance of BearerAuthenticationParameters from a dict
-bearer_authentication_parameters_from_dict = BearerAuthenticationParameters.from_dict(bearer_authentication_parameters_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/BlobMetadata.md b/client/python/docs/BlobMetadata.md
deleted file mode 100644
index 7f2dbbdc22..0000000000
--- a/client/python/docs/BlobMetadata.md
+++ /dev/null
@@ -1,53 +0,0 @@
-
-# BlobMetadata
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**type** | **str** | |
-**snapshot_id** | **int** | |
-**sequence_number** | **int** | |
-**fields** | **List[int]** | |
-**properties** | **Dict[str, str]** | | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.blob_metadata import BlobMetadata
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of BlobMetadata from a JSON string
-blob_metadata_instance = BlobMetadata.from_json(json)
-# print the JSON string representation of the object
-print(BlobMetadata.to_json())
-
-# convert the object into a dict
-blob_metadata_dict = blob_metadata_instance.to_dict()
-# create an instance of BlobMetadata from a dict
-blob_metadata_from_dict = BlobMetadata.from_dict(blob_metadata_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/Catalog.md b/client/python/docs/Catalog.md
deleted file mode 100644
index 6ca1423616..0000000000
--- a/client/python/docs/Catalog.md
+++ /dev/null
@@ -1,56 +0,0 @@
-
-# Catalog
-
-A catalog object. A catalog may be internal or external. External catalogs are managed entirely by an external catalog interface. Third party catalogs may be other Iceberg REST implementations or other services with their own proprietary APIs
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**type** | **str** | the type of catalog - internal or external | [default to 'INTERNAL']
-**name** | **str** | The name of the catalog |
-**properties** | [**CatalogProperties**](CatalogProperties.md) | |
-**create_timestamp** | **int** | The creation time represented as unix epoch timestamp in milliseconds | [optional]
-**last_update_timestamp** | **int** | The last update time represented as unix epoch timestamp in milliseconds | [optional]
-**entity_version** | **int** | The version of the catalog object used to determine if the catalog metadata has changed | [optional]
-**storage_config_info** | [**StorageConfigInfo**](StorageConfigInfo.md) | |
-
-## Example
-
-```python
-from polaris.management.models.catalog import Catalog
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of Catalog from a JSON string
-catalog_instance = Catalog.from_json(json)
-# print the JSON string representation of the object
-print(Catalog.to_json())
-
-# convert the object into a dict
-catalog_dict = catalog_instance.to_dict()
-# create an instance of Catalog from a dict
-catalog_from_dict = Catalog.from_dict(catalog_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/CatalogAPI.md b/client/python/docs/CatalogAPI.md
deleted file mode 100644
index e997a5a6e8..0000000000
--- a/client/python/docs/CatalogAPI.md
+++ /dev/null
@@ -1,2357 +0,0 @@
-
-# polaris.catalog.CatalogAPI
-
-All URIs are relative to *https://localhost*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**commit_transaction**](CatalogAPI.md#commit_transaction) | **POST** /v1/{prefix}/transactions/commit | Commit updates to multiple tables in an atomic operation
-[**create_namespace**](CatalogAPI.md#create_namespace) | **POST** /v1/{prefix}/namespaces | Create a namespace
-[**create_table**](CatalogAPI.md#create_table) | **POST** /v1/{prefix}/namespaces/{namespace}/tables | Create a table in the given namespace
-[**create_view**](CatalogAPI.md#create_view) | **POST** /v1/{prefix}/namespaces/{namespace}/views | Create a view in the given namespace
-[**drop_namespace**](CatalogAPI.md#drop_namespace) | **DELETE** /v1/{prefix}/namespaces/{namespace} | Drop a namespace from the catalog. Namespace must be empty.
-[**drop_table**](CatalogAPI.md#drop_table) | **DELETE** /v1/{prefix}/namespaces/{namespace}/tables/{table} | Drop a table from the catalog
-[**drop_view**](CatalogAPI.md#drop_view) | **DELETE** /v1/{prefix}/namespaces/{namespace}/views/{view} | Drop a view from the catalog
-[**list_namespaces**](CatalogAPI.md#list_namespaces) | **GET** /v1/{prefix}/namespaces | List namespaces, optionally providing a parent namespace to list underneath
-[**list_tables**](CatalogAPI.md#list_tables) | **GET** /v1/{prefix}/namespaces/{namespace}/tables | List all table identifiers underneath a given namespace
-[**list_views**](CatalogAPI.md#list_views) | **GET** /v1/{prefix}/namespaces/{namespace}/views | List all view identifiers underneath a given namespace
-[**load_credentials**](CatalogAPI.md#load_credentials) | **GET** /v1/{prefix}/namespaces/{namespace}/tables/{table}/credentials | Load vended credentials for a table from the catalog
-[**load_namespace_metadata**](CatalogAPI.md#load_namespace_metadata) | **GET** /v1/{prefix}/namespaces/{namespace} | Load the metadata properties for a namespace
-[**load_table**](CatalogAPI.md#load_table) | **GET** /v1/{prefix}/namespaces/{namespace}/tables/{table} | Load a table from the catalog
-[**load_view**](CatalogAPI.md#load_view) | **GET** /v1/{prefix}/namespaces/{namespace}/views/{view} | Load a view from the catalog
-[**namespace_exists**](CatalogAPI.md#namespace_exists) | **HEAD** /v1/{prefix}/namespaces/{namespace} | Check if a namespace exists
-[**register_table**](CatalogAPI.md#register_table) | **POST** /v1/{prefix}/namespaces/{namespace}/register | Register a table in the given namespace using given metadata file location
-[**rename_table**](CatalogAPI.md#rename_table) | **POST** /v1/{prefix}/tables/rename | Rename a table from its current name to a new name
-[**rename_view**](CatalogAPI.md#rename_view) | **POST** /v1/{prefix}/views/rename | Rename a view from its current name to a new name
-[**replace_view**](CatalogAPI.md#replace_view) | **POST** /v1/{prefix}/namespaces/{namespace}/views/{view} | Replace a view
-[**report_metrics**](CatalogAPI.md#report_metrics) | **POST** /v1/{prefix}/namespaces/{namespace}/tables/{table}/metrics | Send a metrics report to this endpoint to be processed by the backend
-[**send_notification**](CatalogAPI.md#send_notification) | **POST** /v1/{prefix}/namespaces/{namespace}/tables/{table}/notifications | Sends a notification to the table
-[**table_exists**](CatalogAPI.md#table_exists) | **HEAD** /v1/{prefix}/namespaces/{namespace}/tables/{table} | Check if a table exists
-[**update_properties**](CatalogAPI.md#update_properties) | **POST** /v1/{prefix}/namespaces/{namespace}/properties | Set or remove properties on a namespace
-[**update_table**](CatalogAPI.md#update_table) | **POST** /v1/{prefix}/namespaces/{namespace}/tables/{table} | Commit updates to a table
-[**view_exists**](CatalogAPI.md#view_exists) | **HEAD** /v1/{prefix}/namespaces/{namespace}/views/{view} | Check if a view exists
-
-
-# **commit_transaction**
-> commit_transaction(prefix, commit_transaction_request)
-
-Commit updates to multiple tables in an atomic operation
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.commit_transaction_request import CommitTransactionRequest
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.CatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- commit_transaction_request = polaris.catalog.CommitTransactionRequest() # CommitTransactionRequest | Commit updates to multiple tables in an atomic operation A commit for a single table consists of a table identifier with requirements and updates. Requirements are assertions that will be validated before attempting to make and commit changes. For example, `assert-ref-snapshot-id` will check that a named ref's snapshot ID has a certain value. Server implementations are required to fail with a 400 status code if any unknown updates or requirements are received. Updates are changes to make to table metadata. For example, after asserting that the current main ref is at the expected snapshot, a commit may add a new child snapshot and set the ref to the new snapshot id.
-
- try:
- # Commit updates to multiple tables in an atomic operation
- api_instance.commit_transaction(prefix, commit_transaction_request)
- except Exception as e:
- print("Exception when calling CatalogAPI->commit_transaction: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **commit_transaction_request** | [**CommitTransactionRequest**](CommitTransactionRequest.md)| Commit updates to multiple tables in an atomic operation A commit for a single table consists of a table identifier with requirements and updates. Requirements are assertions that will be validated before attempting to make and commit changes. For example, `assert-ref-snapshot-id` will check that a named ref's snapshot ID has a certain value. Server implementations are required to fail with a 400 status code if any unknown updates or requirements are received. Updates are changes to make to table metadata. For example, after asserting that the current main ref is at the expected snapshot, a commit may add a new child snapshot and set the ref to the new snapshot id. |
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**204** | Success, no content | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - NoSuchTableException, table to load does not exist | - |
-**409** | Conflict - CommitFailedException, one or more requirements failed. The client may retry. | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**500** | An unknown server-side problem occurred; the commit state is unknown. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**502** | A gateway or proxy received an invalid response from the upstream server; the commit state is unknown. | - |
-**504** | A server-side gateway timeout occurred; the commit state is unknown. | - |
-**5XX** | A server-side problem that might not be addressable on the client. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **create_namespace**
-> CreateNamespaceResponse create_namespace(prefix, create_namespace_request)
-
-Create a namespace
-
-Create a namespace, with an optional set of properties. The server might also add properties, such as `last_modified_time` etc.
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.create_namespace_request import CreateNamespaceRequest
-from polaris.catalog.models.create_namespace_response import CreateNamespaceResponse
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.CatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- create_namespace_request = polaris.catalog.CreateNamespaceRequest() # CreateNamespaceRequest |
-
- try:
- # Create a namespace
- api_response = api_instance.create_namespace(prefix, create_namespace_request)
- print("The response of CatalogAPI->create_namespace:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling CatalogAPI->create_namespace: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **create_namespace_request** | [**CreateNamespaceRequest**](CreateNamespaceRequest.md)| |
-
-### Return type
-
-[**CreateNamespaceResponse**](CreateNamespaceResponse.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | Represents a successful call to create a namespace. Returns the namespace created, as well as any properties that were stored for the namespace, including those the server might have added. Implementations are not required to support namespace properties. | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**406** | Not Acceptable / Unsupported Operation. The server does not support this operation. | - |
-**409** | Conflict - The namespace already exists | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **create_table**
-> LoadTableResult create_table(prefix, namespace, create_table_request, x_iceberg_access_delegation=x_iceberg_access_delegation)
-
-Create a table in the given namespace
-
-Create a table or start a create transaction, like atomic CTAS. If `stage-create` is false, the table is created immediately. If `stage-create` is true, the table is not created, but table metadata is initialized and returned. The service should prepare as needed for a commit to the table commit endpoint to complete the create transaction. The client uses the returned metadata to begin a transaction. To commit the transaction, the client sends all create and subsequent changes to the table commit route. Changes from the table create operation include changes like AddSchemaUpdate and SetCurrentSchemaUpdate that set the initial table state.
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.create_table_request import CreateTableRequest
-from polaris.catalog.models.load_table_result import LoadTableResult
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.CatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- create_table_request = polaris.catalog.CreateTableRequest() # CreateTableRequest |
- x_iceberg_access_delegation = 'vended-credentials,remote-signing' # str | Optional signal to the server that the client supports delegated access via a comma-separated list of access mechanisms. The server may choose to supply access via any or none of the requested mechanisms. Specific properties and handling for `vended-credentials` is documented in the `LoadTableResult` schema section of this spec document. The protocol and specification for `remote-signing` is documented in the `s3-signer-open-api.yaml` OpenApi spec in the `aws` module. (optional)
-
- try:
- # Create a table in the given namespace
- api_response = api_instance.create_table(prefix, namespace, create_table_request, x_iceberg_access_delegation=x_iceberg_access_delegation)
- print("The response of CatalogAPI->create_table:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling CatalogAPI->create_table: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
- **create_table_request** | [**CreateTableRequest**](CreateTableRequest.md)| |
- **x_iceberg_access_delegation** | **str**| Optional signal to the server that the client supports delegated access via a comma-separated list of access mechanisms. The server may choose to supply access via any or none of the requested mechanisms. Specific properties and handling for `vended-credentials` is documented in the `LoadTableResult` schema section of this spec document. The protocol and specification for `remote-signing` is documented in the `s3-signer-open-api.yaml` OpenApi spec in the `aws` module. | [optional]
-
-### Return type
-
-[**LoadTableResult**](LoadTableResult.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | Table metadata result after creating a table | * etag -
|
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - The namespace specified does not exist | - |
-**409** | Conflict - The table already exists | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **create_view**
-> LoadViewResult create_view(prefix, namespace, create_view_request)
-
-Create a view in the given namespace
-
-Create a view in the given namespace.
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.create_view_request import CreateViewRequest
-from polaris.catalog.models.load_view_result import LoadViewResult
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.CatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- create_view_request = polaris.catalog.CreateViewRequest() # CreateViewRequest |
-
- try:
- # Create a view in the given namespace
- api_response = api_instance.create_view(prefix, namespace, create_view_request)
- print("The response of CatalogAPI->create_view:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling CatalogAPI->create_view: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
- **create_view_request** | [**CreateViewRequest**](CreateViewRequest.md)| |
-
-### Return type
-
-[**LoadViewResult**](LoadViewResult.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | View metadata result when loading a view | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - The namespace specified does not exist | - |
-**409** | Conflict - The view already exists | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **drop_namespace**
-> drop_namespace(prefix, namespace)
-
-Drop a namespace from the catalog. Namespace must be empty.
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.CatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
-
- try:
- # Drop a namespace from the catalog. Namespace must be empty.
- api_instance.drop_namespace(prefix, namespace)
- except Exception as e:
- print("Exception when calling CatalogAPI->drop_namespace: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**204** | Success, no content | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - Namespace to delete does not exist. | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **drop_table**
-> drop_table(prefix, namespace, table, purge_requested=purge_requested)
-
-Drop a table from the catalog
-
-Remove a table from the catalog
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.CatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- table = 'sales' # str | A table name
- purge_requested = False # bool | Whether the user requested to purge the underlying table's data and metadata (optional) (default to False)
-
- try:
- # Drop a table from the catalog
- api_instance.drop_table(prefix, namespace, table, purge_requested=purge_requested)
- except Exception as e:
- print("Exception when calling CatalogAPI->drop_table: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
- **table** | **str**| A table name |
- **purge_requested** | **bool**| Whether the user requested to purge the underlying table's data and metadata | [optional] [default to False]
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**204** | Success, no content | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - NoSuchTableException, Table to drop does not exist | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **drop_view**
-> drop_view(prefix, namespace, view)
-
-Drop a view from the catalog
-
-Remove a view from the catalog
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.CatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- view = 'sales' # str | A view name
-
- try:
- # Drop a view from the catalog
- api_instance.drop_view(prefix, namespace, view)
- except Exception as e:
- print("Exception when calling CatalogAPI->drop_view: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
- **view** | **str**| A view name |
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**204** | Success, no content | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - NoSuchViewException, view to drop does not exist | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **list_namespaces**
-> ListNamespacesResponse list_namespaces(prefix, page_token=page_token, page_size=page_size, parent=parent)
-
-List namespaces, optionally providing a parent namespace to list underneath
-
-List all namespaces at a certain level, optionally starting from a given parent namespace. If table accounting.tax.paid.info exists, using 'SELECT NAMESPACE IN accounting' would translate into `GET /namespaces?parent=accounting` and must return a namespace, [\"accounting\", \"tax\"] only. Using 'SELECT NAMESPACE IN accounting.tax' would translate into `GET /namespaces?parent=accounting%1Ftax` and must return a namespace, [\"accounting\", \"tax\", \"paid\"]. If `parent` is not provided, all top-level namespaces should be listed.
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.list_namespaces_response import ListNamespacesResponse
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.CatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- page_token = 'page_token_example' # str | (optional)
- page_size = 56 # int | For servers that support pagination, this signals an upper bound of the number of results that a client will receive. For servers that do not support pagination, clients may receive results larger than the indicated `pageSize`. (optional)
- parent = 'accounting%1Ftax' # str | An optional namespace, underneath which to list namespaces. If not provided or empty, all top-level namespaces should be listed. If parent is a multipart namespace, the parts must be separated by the unit separator (`0x1F`) byte. (optional)
-
- try:
- # List namespaces, optionally providing a parent namespace to list underneath
- api_response = api_instance.list_namespaces(prefix, page_token=page_token, page_size=page_size, parent=parent)
- print("The response of CatalogAPI->list_namespaces:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling CatalogAPI->list_namespaces: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **page_token** | **str**| | [optional]
- **page_size** | **int**| For servers that support pagination, this signals an upper bound of the number of results that a client will receive. For servers that do not support pagination, clients may receive results larger than the indicated `pageSize`. | [optional]
- **parent** | **str**| An optional namespace, underneath which to list namespaces. If not provided or empty, all top-level namespaces should be listed. If parent is a multipart namespace, the parts must be separated by the unit separator (`0x1F`) byte. | [optional]
-
-### Return type
-
-[**ListNamespacesResponse**](ListNamespacesResponse.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | A list of namespaces | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - Namespace provided in the `parent` query parameter is not found. | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **list_tables**
-> ListTablesResponse list_tables(prefix, namespace, page_token=page_token, page_size=page_size)
-
-List all table identifiers underneath a given namespace
-
-Return all table identifiers under this namespace
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.list_tables_response import ListTablesResponse
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.CatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- page_token = 'page_token_example' # str | (optional)
- page_size = 56 # int | For servers that support pagination, this signals an upper bound of the number of results that a client will receive. For servers that do not support pagination, clients may receive results larger than the indicated `pageSize`. (optional)
-
- try:
- # List all table identifiers underneath a given namespace
- api_response = api_instance.list_tables(prefix, namespace, page_token=page_token, page_size=page_size)
- print("The response of CatalogAPI->list_tables:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling CatalogAPI->list_tables: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
- **page_token** | **str**| | [optional]
- **page_size** | **int**| For servers that support pagination, this signals an upper bound of the number of results that a client will receive. For servers that do not support pagination, clients may receive results larger than the indicated `pageSize`. | [optional]
-
-### Return type
-
-[**ListTablesResponse**](ListTablesResponse.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | A list of table identifiers | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - The namespace specified does not exist | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **list_views**
-> ListTablesResponse list_views(prefix, namespace, page_token=page_token, page_size=page_size)
-
-List all view identifiers underneath a given namespace
-
-Return all view identifiers under this namespace
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.list_tables_response import ListTablesResponse
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.CatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- page_token = 'page_token_example' # str | (optional)
- page_size = 56 # int | For servers that support pagination, this signals an upper bound of the number of results that a client will receive. For servers that do not support pagination, clients may receive results larger than the indicated `pageSize`. (optional)
-
- try:
- # List all view identifiers underneath a given namespace
- api_response = api_instance.list_views(prefix, namespace, page_token=page_token, page_size=page_size)
- print("The response of CatalogAPI->list_views:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling CatalogAPI->list_views: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
- **page_token** | **str**| | [optional]
- **page_size** | **int**| For servers that support pagination, this signals an upper bound of the number of results that a client will receive. For servers that do not support pagination, clients may receive results larger than the indicated `pageSize`. | [optional]
-
-### Return type
-
-[**ListTablesResponse**](ListTablesResponse.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | A list of table identifiers | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - The namespace specified does not exist | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **load_credentials**
-> LoadCredentialsResponse load_credentials(prefix, namespace, table)
-
-Load vended credentials for a table from the catalog
-
-Load vended credentials for a table from the catalog.
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.load_credentials_response import LoadCredentialsResponse
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.CatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- table = 'sales' # str | A table name
-
- try:
- # Load vended credentials for a table from the catalog
- api_response = api_instance.load_credentials(prefix, namespace, table)
- print("The response of CatalogAPI->load_credentials:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling CatalogAPI->load_credentials: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
- **table** | **str**| A table name |
-
-### Return type
-
-[**LoadCredentialsResponse**](LoadCredentialsResponse.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | Table credentials result when loading credentials for a table | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - NoSuchTableException, table to load credentials for does not exist | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **load_namespace_metadata**
-> GetNamespaceResponse load_namespace_metadata(prefix, namespace)
-
-Load the metadata properties for a namespace
-
-Return all stored metadata properties for a given namespace
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.get_namespace_response import GetNamespaceResponse
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.CatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
-
- try:
- # Load the metadata properties for a namespace
- api_response = api_instance.load_namespace_metadata(prefix, namespace)
- print("The response of CatalogAPI->load_namespace_metadata:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling CatalogAPI->load_namespace_metadata: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
-
-### Return type
-
-[**GetNamespaceResponse**](GetNamespaceResponse.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | Returns a namespace, as well as any properties stored on the namespace if namespace properties are supported by the server. | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - Namespace not found | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **load_table**
-> LoadTableResult load_table(prefix, namespace, table, x_iceberg_access_delegation=x_iceberg_access_delegation, if_none_match=if_none_match, snapshots=snapshots)
-
-Load a table from the catalog
-
-Load a table from the catalog. The response contains both configuration and table metadata. The configuration, if non-empty is used as additional configuration for the table that overrides catalog configuration. For example, this configuration may change the FileIO implementation to be used for the table. The response also contains the table's full metadata, matching the table metadata JSON file. The catalog configuration may contain credentials that should be used for subsequent requests for the table. The configuration key \"token\" is used to pass an access token to be used as a bearer token for table requests. Otherwise, a token may be passed using a RFC 8693 token type as a configuration key. For example, \"urn:ietf:params:oauth:token-type:jwt=\".
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.load_table_result import LoadTableResult
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.CatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- table = 'sales' # str | A table name
- x_iceberg_access_delegation = 'vended-credentials,remote-signing' # str | Optional signal to the server that the client supports delegated access via a comma-separated list of access mechanisms. The server may choose to supply access via any or none of the requested mechanisms. Specific properties and handling for `vended-credentials` is documented in the `LoadTableResult` schema section of this spec document. The protocol and specification for `remote-signing` is documented in the `s3-signer-open-api.yaml` OpenApi spec in the `aws` module. (optional)
- if_none_match = 'if_none_match_example' # str | An optional header that allows the server to return 304 (Not Modified) if the metadata is current. The content is the value of the ETag received in a CreateTableResponse or LoadTableResponse. (optional)
- snapshots = 'snapshots_example' # str | The snapshots to return in the body of the metadata. Setting the value to `all` would return the full set of snapshots currently valid for the table. Setting the value to `refs` would load all snapshots referenced by branches or tags. Default if no param is provided is `all`. (optional)
-
- try:
- # Load a table from the catalog
- api_response = api_instance.load_table(prefix, namespace, table, x_iceberg_access_delegation=x_iceberg_access_delegation, if_none_match=if_none_match, snapshots=snapshots)
- print("The response of CatalogAPI->load_table:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling CatalogAPI->load_table: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
- **table** | **str**| A table name |
- **x_iceberg_access_delegation** | **str**| Optional signal to the server that the client supports delegated access via a comma-separated list of access mechanisms. The server may choose to supply access via any or none of the requested mechanisms. Specific properties and handling for `vended-credentials` is documented in the `LoadTableResult` schema section of this spec document. The protocol and specification for `remote-signing` is documented in the `s3-signer-open-api.yaml` OpenApi spec in the `aws` module. | [optional]
- **if_none_match** | **str**| An optional header that allows the server to return 304 (Not Modified) if the metadata is current. The content is the value of the ETag received in a CreateTableResponse or LoadTableResponse. | [optional]
- **snapshots** | **str**| The snapshots to return in the body of the metadata. Setting the value to `all` would return the full set of snapshots currently valid for the table. Setting the value to `refs` would load all snapshots referenced by branches or tags. Default if no param is provided is `all`. | [optional]
-
-### Return type
-
-[**LoadTableResult**](LoadTableResult.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | Table metadata result when loading a table | * etag -
|
-**304** | Not Modified - Based on the content of the 'If-None-Match' header the table metadata has not changed since. | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - NoSuchTableException, table to load does not exist | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **load_view**
-> LoadViewResult load_view(prefix, namespace, view)
-
-Load a view from the catalog
-
-Load a view from the catalog. The response contains both configuration and view metadata. The configuration, if non-empty is used as additional configuration for the view that overrides catalog configuration. The response also contains the view's full metadata, matching the view metadata JSON file. The catalog configuration may contain credentials that should be used for subsequent requests for the view. The configuration key \"token\" is used to pass an access token to be used as a bearer token for view requests. Otherwise, a token may be passed using a RFC 8693 token type as a configuration key. For example, \"urn:ietf:params:oauth:token-type:jwt=\".
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.load_view_result import LoadViewResult
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.CatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- view = 'sales' # str | A view name
-
- try:
- # Load a view from the catalog
- api_response = api_instance.load_view(prefix, namespace, view)
- print("The response of CatalogAPI->load_view:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling CatalogAPI->load_view: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
- **view** | **str**| A view name |
-
-### Return type
-
-[**LoadViewResult**](LoadViewResult.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | View metadata result when loading a view | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - NoSuchViewException, view to load does not exist | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **namespace_exists**
-> namespace_exists(prefix, namespace)
-
-Check if a namespace exists
-
-Check if a namespace exists. The response does not contain a body.
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.CatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
-
- try:
- # Check if a namespace exists
- api_instance.namespace_exists(prefix, namespace)
- except Exception as e:
- print("Exception when calling CatalogAPI->namespace_exists: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**204** | Success, no content | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - Namespace not found | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **register_table**
-> LoadTableResult register_table(prefix, namespace, register_table_request)
-
-Register a table in the given namespace using given metadata file location
-
-Register a table using given metadata file location.
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.load_table_result import LoadTableResult
-from polaris.catalog.models.register_table_request import RegisterTableRequest
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.CatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- register_table_request = polaris.catalog.RegisterTableRequest() # RegisterTableRequest |
-
- try:
- # Register a table in the given namespace using given metadata file location
- api_response = api_instance.register_table(prefix, namespace, register_table_request)
- print("The response of CatalogAPI->register_table:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling CatalogAPI->register_table: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
- **register_table_request** | [**RegisterTableRequest**](RegisterTableRequest.md)| |
-
-### Return type
-
-[**LoadTableResult**](LoadTableResult.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | Table metadata result when loading a table | * etag -
|
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - The namespace specified does not exist | - |
-**409** | Conflict - The table already exists | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **rename_table**
-> rename_table(prefix, rename_table_request)
-
-Rename a table from its current name to a new name
-
-Rename a table from one identifier to another. It's valid to move a table across namespaces, but the server implementation is not required to support it.
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.rename_table_request import RenameTableRequest
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.CatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- rename_table_request = polaris.catalog.RenameTableRequest() # RenameTableRequest | Current table identifier to rename and new table identifier to rename to
-
- try:
- # Rename a table from its current name to a new name
- api_instance.rename_table(prefix, rename_table_request)
- except Exception as e:
- print("Exception when calling CatalogAPI->rename_table: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **rename_table_request** | [**RenameTableRequest**](RenameTableRequest.md)| Current table identifier to rename and new table identifier to rename to |
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**204** | Success, no content | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - NoSuchTableException, Table to rename does not exist - NoSuchNamespaceException, The target namespace of the new table identifier does not exist | - |
-**406** | Not Acceptable / Unsupported Operation. The server does not support this operation. | - |
-**409** | Conflict - The target identifier to rename to already exists as a table or view | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **rename_view**
-> rename_view(prefix, rename_table_request)
-
-Rename a view from its current name to a new name
-
-Rename a view from one identifier to another. It's valid to move a view across namespaces, but the server implementation is not required to support it.
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.rename_table_request import RenameTableRequest
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.CatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- rename_table_request = polaris.catalog.RenameTableRequest() # RenameTableRequest | Current view identifier to rename and new view identifier to rename to
-
- try:
- # Rename a view from its current name to a new name
- api_instance.rename_view(prefix, rename_table_request)
- except Exception as e:
- print("Exception when calling CatalogAPI->rename_view: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **rename_table_request** | [**RenameTableRequest**](RenameTableRequest.md)| Current view identifier to rename and new view identifier to rename to |
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**204** | Success, no content | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - NoSuchViewException, view to rename does not exist - NoSuchNamespaceException, The target namespace of the new identifier does not exist | - |
-**406** | Not Acceptable / Unsupported Operation. The server does not support this operation. | - |
-**409** | Conflict - The target identifier to rename to already exists as a table or view | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **replace_view**
-> LoadViewResult replace_view(prefix, namespace, view, commit_view_request)
-
-Replace a view
-
-Commit updates to a view.
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.commit_view_request import CommitViewRequest
-from polaris.catalog.models.load_view_result import LoadViewResult
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.CatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- view = 'sales' # str | A view name
- commit_view_request = polaris.catalog.CommitViewRequest() # CommitViewRequest |
-
- try:
- # Replace a view
- api_response = api_instance.replace_view(prefix, namespace, view, commit_view_request)
- print("The response of CatalogAPI->replace_view:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling CatalogAPI->replace_view: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
- **view** | **str**| A view name |
- **commit_view_request** | [**CommitViewRequest**](CommitViewRequest.md)| |
-
-### Return type
-
-[**LoadViewResult**](LoadViewResult.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | View metadata result when loading a view | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - NoSuchViewException, view to load does not exist | - |
-**409** | Conflict - CommitFailedException. The client may retry. | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**500** | An unknown server-side problem occurred; the commit state is unknown. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**502** | A gateway or proxy received an invalid response from the upstream server; the commit state is unknown. | - |
-**504** | A server-side gateway timeout occurred; the commit state is unknown. | - |
-**5XX** | A server-side problem that might not be addressable on the client. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **report_metrics**
-> report_metrics(prefix, namespace, table, report_metrics_request)
-
-Send a metrics report to this endpoint to be processed by the backend
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.report_metrics_request import ReportMetricsRequest
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.CatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- table = 'sales' # str | A table name
- report_metrics_request = polaris.catalog.ReportMetricsRequest() # ReportMetricsRequest | The request containing the metrics report to be sent
-
- try:
- # Send a metrics report to this endpoint to be processed by the backend
- api_instance.report_metrics(prefix, namespace, table, report_metrics_request)
- except Exception as e:
- print("Exception when calling CatalogAPI->report_metrics: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
- **table** | **str**| A table name |
- **report_metrics_request** | [**ReportMetricsRequest**](ReportMetricsRequest.md)| The request containing the metrics report to be sent |
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**204** | Success, no content | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - NoSuchTableException, table to load does not exist | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **send_notification**
-> send_notification(prefix, namespace, table, notification_request)
-
-Sends a notification to the table
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.notification_request import NotificationRequest
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.CatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- table = 'sales' # str | A table name
- notification_request = polaris.catalog.NotificationRequest() # NotificationRequest | The request containing the notification to be sent. For each table, Polaris will reject any notification where the timestamp in the request body is older than or equal to the most recent time Polaris has already processed for the table. The responsibility of ensuring the correct order of timestamps for a sequence of notifications lies with the caller of the API. This includes managing potential clock skew or inconsistencies when notifications are sent from multiple sources. A VALIDATE request behaves like a dry-run of a CREATE or UPDATE request up to but not including loading the contents of a metadata file; this includes validations of permissions, the specified metadata path being within ALLOWED_LOCATIONS, having an EXTERNAL catalog, etc. The intended use case for a VALIDATE notification is to allow a remote catalog to pre-validate the general settings of a receiving catalog against an intended new table location before possibly creating a table intended for sending notifications in the remote catalog at all. For a VALIDATE request, the specified metadata-location can either be a prospective full metadata file path, or a relevant parent directory of the intended table to validate against ALLOWED_LOCATIONS.
-
- try:
- # Sends a notification to the table
- api_instance.send_notification(prefix, namespace, table, notification_request)
- except Exception as e:
- print("Exception when calling CatalogAPI->send_notification: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
- **table** | **str**| A table name |
- **notification_request** | [**NotificationRequest**](NotificationRequest.md)| The request containing the notification to be sent. For each table, Polaris will reject any notification where the timestamp in the request body is older than or equal to the most recent time Polaris has already processed for the table. The responsibility of ensuring the correct order of timestamps for a sequence of notifications lies with the caller of the API. This includes managing potential clock skew or inconsistencies when notifications are sent from multiple sources. A VALIDATE request behaves like a dry-run of a CREATE or UPDATE request up to but not including loading the contents of a metadata file; this includes validations of permissions, the specified metadata path being within ALLOWED_LOCATIONS, having an EXTERNAL catalog, etc. The intended use case for a VALIDATE notification is to allow a remote catalog to pre-validate the general settings of a receiving catalog against an intended new table location before possibly creating a table intended for sending notifications in the remote catalog at all. For a VALIDATE request, the specified metadata-location can either be a prospective full metadata file path, or a relevant parent directory of the intended table to validate against ALLOWED_LOCATIONS. |
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**204** | Success, no content | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - NoSuchTableException, table to load does not exist | - |
-**409** | Conflict - The timestamp of the received notification is older than or equal to the most recent timestamp Polaris has already processed for the specified table. | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **table_exists**
-> table_exists(prefix, namespace, table)
-
-Check if a table exists
-
-Check if a table exists within a given namespace. The response does not contain a body.
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.CatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- table = 'sales' # str | A table name
-
- try:
- # Check if a table exists
- api_instance.table_exists(prefix, namespace, table)
- except Exception as e:
- print("Exception when calling CatalogAPI->table_exists: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
- **table** | **str**| A table name |
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**204** | Success, no content | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - NoSuchTableException, Table not found | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **update_properties**
-> UpdateNamespacePropertiesResponse update_properties(prefix, namespace, update_namespace_properties_request)
-
-Set or remove properties on a namespace
-
-Set and/or remove properties on a namespace. The request body specifies a list of properties to remove and a map of key value pairs to update. Properties that are not in the request are not modified or removed by this call. Server implementations are not required to support namespace properties.
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.update_namespace_properties_request import UpdateNamespacePropertiesRequest
-from polaris.catalog.models.update_namespace_properties_response import UpdateNamespacePropertiesResponse
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.CatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- update_namespace_properties_request = polaris.catalog.UpdateNamespacePropertiesRequest() # UpdateNamespacePropertiesRequest |
-
- try:
- # Set or remove properties on a namespace
- api_response = api_instance.update_properties(prefix, namespace, update_namespace_properties_request)
- print("The response of CatalogAPI->update_properties:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling CatalogAPI->update_properties: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
- **update_namespace_properties_request** | [**UpdateNamespacePropertiesRequest**](UpdateNamespacePropertiesRequest.md)| |
-
-### Return type
-
-[**UpdateNamespacePropertiesResponse**](UpdateNamespacePropertiesResponse.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | JSON data response for a synchronous update properties request. | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - Namespace not found | - |
-**406** | Not Acceptable / Unsupported Operation. The server does not support this operation. | - |
-**422** | Unprocessable Entity - A property key was included in both `removals` and `updates` | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **update_table**
-> CommitTableResponse update_table(prefix, namespace, table, commit_table_request)
-
-Commit updates to a table
-
-Commit updates to a table. Commits have two parts, requirements and updates. Requirements are assertions that will be validated before attempting to make and commit changes. For example, `assert-ref-snapshot-id` will check that a named ref's snapshot ID has a certain value. Server implementations are required to fail with a 400 status code if any unknown updates or requirements are received. Updates are changes to make to table metadata. For example, after asserting that the current main ref is at the expected snapshot, a commit may add a new child snapshot and set the ref to the new snapshot id. Create table transactions that are started by createTable with `stage-create` set to true are committed using this route. Transactions should include all changes to the table, including table initialization, like AddSchemaUpdate and SetCurrentSchemaUpdate. The `assert-create` requirement is used to ensure that the table was not created concurrently.
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.commit_table_request import CommitTableRequest
-from polaris.catalog.models.commit_table_response import CommitTableResponse
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.CatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- table = 'sales' # str | A table name
- commit_table_request = polaris.catalog.CommitTableRequest() # CommitTableRequest |
-
- try:
- # Commit updates to a table
- api_response = api_instance.update_table(prefix, namespace, table, commit_table_request)
- print("The response of CatalogAPI->update_table:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling CatalogAPI->update_table: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
- **table** | **str**| A table name |
- **commit_table_request** | [**CommitTableRequest**](CommitTableRequest.md)| |
-
-### Return type
-
-[**CommitTableResponse**](CommitTableResponse.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | Response used when a table is successfully updated. The table metadata JSON is returned in the metadata field. The corresponding file location of table metadata must be returned in the metadata-location field. Clients can check whether metadata has changed by comparing metadata locations. | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - NoSuchTableException, table to load does not exist | - |
-**409** | Conflict - CommitFailedException, one or more requirements failed. The client may retry. | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**500** | An unknown server-side problem occurred; the commit state is unknown. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**502** | A gateway or proxy received an invalid response from the upstream server; the commit state is unknown. | - |
-**504** | A server-side gateway timeout occurred; the commit state is unknown. | - |
-**5XX** | A server-side problem that might not be addressable on the client. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **view_exists**
-> view_exists(prefix, namespace, view)
-
-Check if a view exists
-
-Check if a view exists within a given namespace. This request does not return a response body.
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.CatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- view = 'sales' # str | A view name
-
- try:
- # Check if a view exists
- api_instance.view_exists(prefix, namespace, view)
- except Exception as e:
- print("Exception when calling CatalogAPI->view_exists: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
- **view** | **str**| A view name |
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**204** | Success, no content | - |
-**400** | Bad Request | - |
-**401** | Unauthorized | - |
-**404** | Not Found | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
diff --git a/client/python/docs/CatalogConfig.md b/client/python/docs/CatalogConfig.md
deleted file mode 100644
index 5aef6cc9e7..0000000000
--- a/client/python/docs/CatalogConfig.md
+++ /dev/null
@@ -1,52 +0,0 @@
-
-# CatalogConfig
-
-Server-provided configuration for the catalog.
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**overrides** | **Dict[str, str]** | Properties that should be used to override client configuration; applied after defaults and client configuration. |
-**defaults** | **Dict[str, str]** | Properties that should be used as default configuration; applied before client configuration. |
-**endpoints** | **List[str]** | A list of endpoints that the server supports. The format of each endpoint must be \"<HTTP verb> <resource path from OpenAPI REST spec>\". The HTTP verb and the resource path must be separated by a space character. | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.catalog_config import CatalogConfig
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of CatalogConfig from a JSON string
-catalog_config_instance = CatalogConfig.from_json(json)
-# print the JSON string representation of the object
-print(CatalogConfig.to_json())
-
-# convert the object into a dict
-catalog_config_dict = catalog_config_instance.to_dict()
-# create an instance of CatalogConfig from a dict
-catalog_config_from_dict = CatalogConfig.from_dict(catalog_config_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/CatalogGrant.md b/client/python/docs/CatalogGrant.md
deleted file mode 100644
index 05b90eaff9..0000000000
--- a/client/python/docs/CatalogGrant.md
+++ /dev/null
@@ -1,49 +0,0 @@
-
-# CatalogGrant
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**privilege** | [**CatalogPrivilege**](CatalogPrivilege.md) | |
-
-## Example
-
-```python
-from polaris.management.models.catalog_grant import CatalogGrant
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of CatalogGrant from a JSON string
-catalog_grant_instance = CatalogGrant.from_json(json)
-# print the JSON string representation of the object
-print(CatalogGrant.to_json())
-
-# convert the object into a dict
-catalog_grant_dict = catalog_grant_instance.to_dict()
-# create an instance of CatalogGrant from a dict
-catalog_grant_from_dict = CatalogGrant.from_dict(catalog_grant_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/CatalogPrivilege.md b/client/python/docs/CatalogPrivilege.md
deleted file mode 100644
index 929f8c395b..0000000000
--- a/client/python/docs/CatalogPrivilege.md
+++ /dev/null
@@ -1,94 +0,0 @@
-
-# CatalogPrivilege
-
-
-## Enum
-
-* `CATALOG_MANAGE_ACCESS` (value: `'CATALOG_MANAGE_ACCESS'`)
-
-* `CATALOG_MANAGE_CONTENT` (value: `'CATALOG_MANAGE_CONTENT'`)
-
-* `CATALOG_MANAGE_METADATA` (value: `'CATALOG_MANAGE_METADATA'`)
-
-* `CATALOG_READ_PROPERTIES` (value: `'CATALOG_READ_PROPERTIES'`)
-
-* `CATALOG_WRITE_PROPERTIES` (value: `'CATALOG_WRITE_PROPERTIES'`)
-
-* `NAMESPACE_CREATE` (value: `'NAMESPACE_CREATE'`)
-
-* `TABLE_CREATE` (value: `'TABLE_CREATE'`)
-
-* `VIEW_CREATE` (value: `'VIEW_CREATE'`)
-
-* `NAMESPACE_DROP` (value: `'NAMESPACE_DROP'`)
-
-* `TABLE_DROP` (value: `'TABLE_DROP'`)
-
-* `VIEW_DROP` (value: `'VIEW_DROP'`)
-
-* `NAMESPACE_LIST` (value: `'NAMESPACE_LIST'`)
-
-* `TABLE_LIST` (value: `'TABLE_LIST'`)
-
-* `VIEW_LIST` (value: `'VIEW_LIST'`)
-
-* `NAMESPACE_READ_PROPERTIES` (value: `'NAMESPACE_READ_PROPERTIES'`)
-
-* `TABLE_READ_PROPERTIES` (value: `'TABLE_READ_PROPERTIES'`)
-
-* `VIEW_READ_PROPERTIES` (value: `'VIEW_READ_PROPERTIES'`)
-
-* `NAMESPACE_WRITE_PROPERTIES` (value: `'NAMESPACE_WRITE_PROPERTIES'`)
-
-* `TABLE_WRITE_PROPERTIES` (value: `'TABLE_WRITE_PROPERTIES'`)
-
-* `VIEW_WRITE_PROPERTIES` (value: `'VIEW_WRITE_PROPERTIES'`)
-
-* `TABLE_READ_DATA` (value: `'TABLE_READ_DATA'`)
-
-* `TABLE_WRITE_DATA` (value: `'TABLE_WRITE_DATA'`)
-
-* `NAMESPACE_FULL_METADATA` (value: `'NAMESPACE_FULL_METADATA'`)
-
-* `TABLE_FULL_METADATA` (value: `'TABLE_FULL_METADATA'`)
-
-* `VIEW_FULL_METADATA` (value: `'VIEW_FULL_METADATA'`)
-
-* `POLICY_CREATE` (value: `'POLICY_CREATE'`)
-
-* `POLICY_WRITE` (value: `'POLICY_WRITE'`)
-
-* `POLICY_READ` (value: `'POLICY_READ'`)
-
-* `POLICY_DROP` (value: `'POLICY_DROP'`)
-
-* `POLICY_LIST` (value: `'POLICY_LIST'`)
-
-* `POLICY_FULL_METADATA` (value: `'POLICY_FULL_METADATA'`)
-
-* `CATALOG_ATTACH_POLICY` (value: `'CATALOG_ATTACH_POLICY'`)
-
-* `CATALOG_DETACH_POLICY` (value: `'CATALOG_DETACH_POLICY'`)
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/CatalogProperties.md b/client/python/docs/CatalogProperties.md
deleted file mode 100644
index eabe08a9a1..0000000000
--- a/client/python/docs/CatalogProperties.md
+++ /dev/null
@@ -1,49 +0,0 @@
-
-# CatalogProperties
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**default_base_location** | **str** | |
-
-## Example
-
-```python
-from polaris.management.models.catalog_properties import CatalogProperties
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of CatalogProperties from a JSON string
-catalog_properties_instance = CatalogProperties.from_json(json)
-# print the JSON string representation of the object
-print(CatalogProperties.to_json())
-
-# convert the object into a dict
-catalog_properties_dict = catalog_properties_instance.to_dict()
-# create an instance of CatalogProperties from a dict
-catalog_properties_from_dict = CatalogProperties.from_dict(catalog_properties_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/CatalogRole.md b/client/python/docs/CatalogRole.md
deleted file mode 100644
index 46fa92cdb4..0000000000
--- a/client/python/docs/CatalogRole.md
+++ /dev/null
@@ -1,53 +0,0 @@
-
-# CatalogRole
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **str** | The name of the role |
-**properties** | **Dict[str, str]** | | [optional]
-**create_timestamp** | **int** | | [optional]
-**last_update_timestamp** | **int** | | [optional]
-**entity_version** | **int** | The version of the catalog role object used to determine if the catalog role metadata has changed | [optional]
-
-## Example
-
-```python
-from polaris.management.models.catalog_role import CatalogRole
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of CatalogRole from a JSON string
-catalog_role_instance = CatalogRole.from_json(json)
-# print the JSON string representation of the object
-print(CatalogRole.to_json())
-
-# convert the object into a dict
-catalog_role_dict = catalog_role_instance.to_dict()
-# create an instance of CatalogRole from a dict
-catalog_role_from_dict = CatalogRole.from_dict(catalog_role_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/CatalogRoles.md b/client/python/docs/CatalogRoles.md
deleted file mode 100644
index e26ba4c18a..0000000000
--- a/client/python/docs/CatalogRoles.md
+++ /dev/null
@@ -1,49 +0,0 @@
-
-# CatalogRoles
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**roles** | [**List[CatalogRole]**](CatalogRole.md) | The list of catalog roles |
-
-## Example
-
-```python
-from polaris.management.models.catalog_roles import CatalogRoles
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of CatalogRoles from a JSON string
-catalog_roles_instance = CatalogRoles.from_json(json)
-# print the JSON string representation of the object
-print(CatalogRoles.to_json())
-
-# convert the object into a dict
-catalog_roles_dict = catalog_roles_instance.to_dict()
-# create an instance of CatalogRoles from a dict
-catalog_roles_from_dict = CatalogRoles.from_dict(catalog_roles_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/Catalogs.md b/client/python/docs/Catalogs.md
deleted file mode 100644
index b717bf4286..0000000000
--- a/client/python/docs/Catalogs.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# Catalogs
-
-A list of Catalog objects
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**catalogs** | [**List[Catalog]**](Catalog.md) | |
-
-## Example
-
-```python
-from polaris.management.models.catalogs import Catalogs
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of Catalogs from a JSON string
-catalogs_instance = Catalogs.from_json(json)
-# print the JSON string representation of the object
-print(Catalogs.to_json())
-
-# convert the object into a dict
-catalogs_dict = catalogs_instance.to_dict()
-# create an instance of Catalogs from a dict
-catalogs_from_dict = Catalogs.from_dict(catalogs_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/CommitReport.md b/client/python/docs/CommitReport.md
deleted file mode 100644
index 803b157f20..0000000000
--- a/client/python/docs/CommitReport.md
+++ /dev/null
@@ -1,54 +0,0 @@
-
-# CommitReport
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**table_name** | **str** | |
-**snapshot_id** | **int** | |
-**sequence_number** | **int** | |
-**operation** | **str** | |
-**metrics** | [**Dict[str, MetricResult]**](MetricResult.md) | |
-**metadata** | **Dict[str, str]** | | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.commit_report import CommitReport
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of CommitReport from a JSON string
-commit_report_instance = CommitReport.from_json(json)
-# print the JSON string representation of the object
-print(CommitReport.to_json())
-
-# convert the object into a dict
-commit_report_dict = commit_report_instance.to_dict()
-# create an instance of CommitReport from a dict
-commit_report_from_dict = CommitReport.from_dict(commit_report_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/CommitTableRequest.md b/client/python/docs/CommitTableRequest.md
deleted file mode 100644
index f3e7bdaab4..0000000000
--- a/client/python/docs/CommitTableRequest.md
+++ /dev/null
@@ -1,51 +0,0 @@
-
-# CommitTableRequest
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**identifier** | [**TableIdentifier**](TableIdentifier.md) | Table identifier to update; must be present for CommitTransactionRequest | [optional]
-**requirements** | [**List[TableRequirement]**](TableRequirement.md) | |
-**updates** | [**List[TableUpdate]**](TableUpdate.md) | |
-
-## Example
-
-```python
-from polaris.catalog.models.commit_table_request import CommitTableRequest
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of CommitTableRequest from a JSON string
-commit_table_request_instance = CommitTableRequest.from_json(json)
-# print the JSON string representation of the object
-print(CommitTableRequest.to_json())
-
-# convert the object into a dict
-commit_table_request_dict = commit_table_request_instance.to_dict()
-# create an instance of CommitTableRequest from a dict
-commit_table_request_from_dict = CommitTableRequest.from_dict(commit_table_request_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/CommitTableResponse.md b/client/python/docs/CommitTableResponse.md
deleted file mode 100644
index 7129647483..0000000000
--- a/client/python/docs/CommitTableResponse.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# CommitTableResponse
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**metadata_location** | **str** | |
-**metadata** | [**TableMetadata**](TableMetadata.md) | |
-
-## Example
-
-```python
-from polaris.catalog.models.commit_table_response import CommitTableResponse
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of CommitTableResponse from a JSON string
-commit_table_response_instance = CommitTableResponse.from_json(json)
-# print the JSON string representation of the object
-print(CommitTableResponse.to_json())
-
-# convert the object into a dict
-commit_table_response_dict = commit_table_response_instance.to_dict()
-# create an instance of CommitTableResponse from a dict
-commit_table_response_from_dict = CommitTableResponse.from_dict(commit_table_response_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/CommitTransactionRequest.md b/client/python/docs/CommitTransactionRequest.md
deleted file mode 100644
index b169378f51..0000000000
--- a/client/python/docs/CommitTransactionRequest.md
+++ /dev/null
@@ -1,49 +0,0 @@
-
-# CommitTransactionRequest
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**table_changes** | [**List[CommitTableRequest]**](CommitTableRequest.md) | |
-
-## Example
-
-```python
-from polaris.catalog.models.commit_transaction_request import CommitTransactionRequest
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of CommitTransactionRequest from a JSON string
-commit_transaction_request_instance = CommitTransactionRequest.from_json(json)
-# print the JSON string representation of the object
-print(CommitTransactionRequest.to_json())
-
-# convert the object into a dict
-commit_transaction_request_dict = commit_transaction_request_instance.to_dict()
-# create an instance of CommitTransactionRequest from a dict
-commit_transaction_request_from_dict = CommitTransactionRequest.from_dict(commit_transaction_request_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/CommitViewRequest.md b/client/python/docs/CommitViewRequest.md
deleted file mode 100644
index b014ea4eff..0000000000
--- a/client/python/docs/CommitViewRequest.md
+++ /dev/null
@@ -1,51 +0,0 @@
-
-# CommitViewRequest
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**identifier** | [**TableIdentifier**](TableIdentifier.md) | View identifier to update | [optional]
-**requirements** | [**List[ViewRequirement]**](ViewRequirement.md) | | [optional]
-**updates** | [**List[ViewUpdate]**](ViewUpdate.md) | |
-
-## Example
-
-```python
-from polaris.catalog.models.commit_view_request import CommitViewRequest
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of CommitViewRequest from a JSON string
-commit_view_request_instance = CommitViewRequest.from_json(json)
-# print the JSON string representation of the object
-print(CommitViewRequest.to_json())
-
-# convert the object into a dict
-commit_view_request_dict = commit_view_request_instance.to_dict()
-# create an instance of CommitViewRequest from a dict
-commit_view_request_from_dict = CommitViewRequest.from_dict(commit_view_request_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/CompletedPlanningResult.md b/client/python/docs/CompletedPlanningResult.md
deleted file mode 100644
index 854bb58f46..0000000000
--- a/client/python/docs/CompletedPlanningResult.md
+++ /dev/null
@@ -1,53 +0,0 @@
-
-# CompletedPlanningResult
-
-Completed server-side planning result
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**delete_files** | [**List[DeleteFile]**](DeleteFile.md) | Delete files referenced by file scan tasks | [optional]
-**file_scan_tasks** | [**List[FileScanTask]**](FileScanTask.md) | | [optional]
-**plan_tasks** | **List[str]** | | [optional]
-**status** | [**PlanStatus**](PlanStatus.md) | |
-
-## Example
-
-```python
-from polaris.catalog.models.completed_planning_result import CompletedPlanningResult
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of CompletedPlanningResult from a JSON string
-completed_planning_result_instance = CompletedPlanningResult.from_json(json)
-# print the JSON string representation of the object
-print(CompletedPlanningResult.to_json())
-
-# convert the object into a dict
-completed_planning_result_dict = completed_planning_result_instance.to_dict()
-# create an instance of CompletedPlanningResult from a dict
-completed_planning_result_from_dict = CompletedPlanningResult.from_dict(completed_planning_result_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/CompletedPlanningWithIDResult.md b/client/python/docs/CompletedPlanningWithIDResult.md
deleted file mode 100644
index fe681f0748..0000000000
--- a/client/python/docs/CompletedPlanningWithIDResult.md
+++ /dev/null
@@ -1,53 +0,0 @@
-
-# CompletedPlanningWithIDResult
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**delete_files** | [**List[DeleteFile]**](DeleteFile.md) | Delete files referenced by file scan tasks | [optional]
-**file_scan_tasks** | [**List[FileScanTask]**](FileScanTask.md) | | [optional]
-**plan_tasks** | **List[str]** | | [optional]
-**status** | [**PlanStatus**](PlanStatus.md) | |
-**plan_id** | **str** | ID used to track a planning request | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.completed_planning_with_id_result import CompletedPlanningWithIDResult
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of CompletedPlanningWithIDResult from a JSON string
-completed_planning_with_id_result_instance = CompletedPlanningWithIDResult.from_json(json)
-# print the JSON string representation of the object
-print(CompletedPlanningWithIDResult.to_json())
-
-# convert the object into a dict
-completed_planning_with_id_result_dict = completed_planning_with_id_result_instance.to_dict()
-# create an instance of CompletedPlanningWithIDResult from a dict
-completed_planning_with_id_result_from_dict = CompletedPlanningWithIDResult.from_dict(completed_planning_with_id_result_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/ConfigurationAPI.md b/client/python/docs/ConfigurationAPI.md
deleted file mode 100644
index 448ce0f86f..0000000000
--- a/client/python/docs/ConfigurationAPI.md
+++ /dev/null
@@ -1,116 +0,0 @@
-
-# polaris.catalog.ConfigurationAPI
-
-All URIs are relative to *https://localhost*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**get_config**](ConfigurationAPI.md#get_config) | **GET** /v1/config | List all catalog configuration settings
-
-
-# **get_config**
-> CatalogConfig get_config(warehouse=warehouse)
-
-List all catalog configuration settings
-
- All REST clients should first call this route to get catalog configuration properties from the server to configure the catalog and its HTTP client. Configuration from the server consists of two sets of key/value pairs. - defaults - properties that should be used as default configuration; applied before client configuration - overrides - properties that should be used to override client configuration; applied after defaults and client configuration Catalog configuration is constructed by setting the defaults, then client- provided configuration, and finally overrides. The final property set is then used to configure the catalog. For example, a default configuration property might set the size of the client pool, which can be replaced with a client-specific setting. An override might be used to set the warehouse location, which is stored on the server rather than in client configuration. Common catalog configuration settings are documented at https://iceberg.apache.org/docs/latest/configuration/#catalog-properties The catalog configuration also holds an optional `endpoints` field that contains information about the endpoints supported by the server. If a server does not send the `endpoints` field, a default set of endpoints is assumed: - GET /v1/{prefix}/namespaces - POST /v1/{prefix}/namespaces - GET /v1/{prefix}/namespaces/{namespace} - DELETE /v1/{prefix}/namespaces/{namespace} - POST /v1/{prefix}/namespaces/{namespace}/properties - GET /v1/{prefix}/namespaces/{namespace}/tables - POST /v1/{prefix}/namespaces/{namespace}/tables - GET /v1/{prefix}/namespaces/{namespace}/tables/{table} - POST /v1/{prefix}/namespaces/{namespace}/tables/{table} - DELETE /v1/{prefix}/namespaces/{namespace}/tables/{table} - POST /v1/{prefix}/namespaces/{namespace}/register - POST /v1/{prefix}/namespaces/{namespace}/tables/{table}/metrics - POST /v1/{prefix}/tables/rename - POST /v1/{prefix}/transactions/commit
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.catalog_config import CatalogConfig
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.ConfigurationAPI(api_client)
- warehouse = 'warehouse_example' # str | Warehouse location or identifier to request from the service (optional)
-
- try:
- # List all catalog configuration settings
- api_response = api_instance.get_config(warehouse=warehouse)
- print("The response of ConfigurationAPI->get_config:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling ConfigurationAPI->get_config: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **warehouse** | **str**| Warehouse location or identifier to request from the service | [optional]
-
-### Return type
-
-[**CatalogConfig**](CatalogConfig.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | Server specified configuration values. | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
diff --git a/client/python/docs/ConnectionConfigInfo.md b/client/python/docs/ConnectionConfigInfo.md
deleted file mode 100644
index f35a93713a..0000000000
--- a/client/python/docs/ConnectionConfigInfo.md
+++ /dev/null
@@ -1,53 +0,0 @@
-
-# ConnectionConfigInfo
-
-A connection configuration representing a remote catalog service. IMPORTANT - Specifying a ConnectionConfigInfo in an ExternalCatalog is currently an experimental API and is subject to change.
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**connection_type** | **str** | The type of remote catalog service represented by this connection |
-**uri** | **str** | URI to the remote catalog service | [optional]
-**authentication_parameters** | [**AuthenticationParameters**](AuthenticationParameters.md) | | [optional]
-**service_identity** | [**ServiceIdentityInfo**](ServiceIdentityInfo.md) | | [optional]
-
-## Example
-
-```python
-from polaris.management.models.connection_config_info import ConnectionConfigInfo
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of ConnectionConfigInfo from a JSON string
-connection_config_info_instance = ConnectionConfigInfo.from_json(json)
-# print the JSON string representation of the object
-print(ConnectionConfigInfo.to_json())
-
-# convert the object into a dict
-connection_config_info_dict = connection_config_info_instance.to_dict()
-# create an instance of ConnectionConfigInfo from a dict
-connection_config_info_from_dict = ConnectionConfigInfo.from_dict(connection_config_info_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/ContentFile.md b/client/python/docs/ContentFile.md
deleted file mode 100644
index 10d47df7b9..0000000000
--- a/client/python/docs/ContentFile.md
+++ /dev/null
@@ -1,58 +0,0 @@
-
-# ContentFile
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**content** | **str** | |
-**file_path** | **str** | |
-**file_format** | [**FileFormat**](FileFormat.md) | |
-**spec_id** | **int** | |
-**partition** | [**List[PrimitiveTypeValue]**](PrimitiveTypeValue.md) | A list of partition field values ordered based on the fields of the partition spec specified by the `spec-id` |
-**file_size_in_bytes** | **int** | Total file size in bytes |
-**record_count** | **int** | Number of records in the file |
-**key_metadata** | **str** | Encryption key metadata blob | [optional]
-**split_offsets** | **List[int]** | List of splittable offsets | [optional]
-**sort_order_id** | **int** | | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.content_file import ContentFile
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of ContentFile from a JSON string
-content_file_instance = ContentFile.from_json(json)
-# print the JSON string representation of the object
-print(ContentFile.to_json())
-
-# convert the object into a dict
-content_file_dict = content_file_instance.to_dict()
-# create an instance of ContentFile from a dict
-content_file_from_dict = ContentFile.from_dict(content_file_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/CountMap.md b/client/python/docs/CountMap.md
deleted file mode 100644
index 67c5c2d634..0000000000
--- a/client/python/docs/CountMap.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# CountMap
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**keys** | **List[int]** | List of integer column ids for each corresponding value | [optional]
-**values** | **List[int]** | List of Long values, matched to 'keys' by index | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.count_map import CountMap
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of CountMap from a JSON string
-count_map_instance = CountMap.from_json(json)
-# print the JSON string representation of the object
-print(CountMap.to_json())
-
-# convert the object into a dict
-count_map_dict = count_map_instance.to_dict()
-# create an instance of CountMap from a dict
-count_map_from_dict = CountMap.from_dict(count_map_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/CounterResult.md b/client/python/docs/CounterResult.md
deleted file mode 100644
index 5332a51c1e..0000000000
--- a/client/python/docs/CounterResult.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# CounterResult
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**unit** | **str** | |
-**value** | **int** | |
-
-## Example
-
-```python
-from polaris.catalog.models.counter_result import CounterResult
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of CounterResult from a JSON string
-counter_result_instance = CounterResult.from_json(json)
-# print the JSON string representation of the object
-print(CounterResult.to_json())
-
-# convert the object into a dict
-counter_result_dict = counter_result_instance.to_dict()
-# create an instance of CounterResult from a dict
-counter_result_from_dict = CounterResult.from_dict(counter_result_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/CreateCatalogRequest.md b/client/python/docs/CreateCatalogRequest.md
deleted file mode 100644
index 32898ccea6..0000000000
--- a/client/python/docs/CreateCatalogRequest.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# CreateCatalogRequest
-
-Request to create a new catalog
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**catalog** | [**Catalog**](Catalog.md) | |
-
-## Example
-
-```python
-from polaris.management.models.create_catalog_request import CreateCatalogRequest
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of CreateCatalogRequest from a JSON string
-create_catalog_request_instance = CreateCatalogRequest.from_json(json)
-# print the JSON string representation of the object
-print(CreateCatalogRequest.to_json())
-
-# convert the object into a dict
-create_catalog_request_dict = create_catalog_request_instance.to_dict()
-# create an instance of CreateCatalogRequest from a dict
-create_catalog_request_from_dict = CreateCatalogRequest.from_dict(create_catalog_request_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/CreateCatalogRoleRequest.md b/client/python/docs/CreateCatalogRoleRequest.md
deleted file mode 100644
index 995e4313de..0000000000
--- a/client/python/docs/CreateCatalogRoleRequest.md
+++ /dev/null
@@ -1,49 +0,0 @@
-
-# CreateCatalogRoleRequest
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**catalog_role** | [**CatalogRole**](CatalogRole.md) | | [optional]
-
-## Example
-
-```python
-from polaris.management.models.create_catalog_role_request import CreateCatalogRoleRequest
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of CreateCatalogRoleRequest from a JSON string
-create_catalog_role_request_instance = CreateCatalogRoleRequest.from_json(json)
-# print the JSON string representation of the object
-print(CreateCatalogRoleRequest.to_json())
-
-# convert the object into a dict
-create_catalog_role_request_dict = create_catalog_role_request_instance.to_dict()
-# create an instance of CreateCatalogRoleRequest from a dict
-create_catalog_role_request_from_dict = CreateCatalogRoleRequest.from_dict(create_catalog_role_request_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/CreateGenericTableRequest.md b/client/python/docs/CreateGenericTableRequest.md
deleted file mode 100644
index 389442c978..0000000000
--- a/client/python/docs/CreateGenericTableRequest.md
+++ /dev/null
@@ -1,52 +0,0 @@
-
-# CreateGenericTableRequest
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **str** | |
-**format** | **str** | |
-**doc** | **str** | | [optional]
-**properties** | **Dict[str, str]** | | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.create_generic_table_request import CreateGenericTableRequest
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of CreateGenericTableRequest from a JSON string
-create_generic_table_request_instance = CreateGenericTableRequest.from_json(json)
-# print the JSON string representation of the object
-print(CreateGenericTableRequest.to_json())
-
-# convert the object into a dict
-create_generic_table_request_dict = create_generic_table_request_instance.to_dict()
-# create an instance of CreateGenericTableRequest from a dict
-create_generic_table_request_from_dict = CreateGenericTableRequest.from_dict(create_generic_table_request_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/CreateNamespaceRequest.md b/client/python/docs/CreateNamespaceRequest.md
deleted file mode 100644
index cbf1386e56..0000000000
--- a/client/python/docs/CreateNamespaceRequest.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# CreateNamespaceRequest
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**namespace** | **List[str]** | Reference to one or more levels of a namespace |
-**properties** | **Dict[str, str]** | Configured string to string map of properties for the namespace | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.create_namespace_request import CreateNamespaceRequest
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of CreateNamespaceRequest from a JSON string
-create_namespace_request_instance = CreateNamespaceRequest.from_json(json)
-# print the JSON string representation of the object
-print(CreateNamespaceRequest.to_json())
-
-# convert the object into a dict
-create_namespace_request_dict = create_namespace_request_instance.to_dict()
-# create an instance of CreateNamespaceRequest from a dict
-create_namespace_request_from_dict = CreateNamespaceRequest.from_dict(create_namespace_request_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/CreateNamespaceResponse.md b/client/python/docs/CreateNamespaceResponse.md
deleted file mode 100644
index 5cfe58b50a..0000000000
--- a/client/python/docs/CreateNamespaceResponse.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# CreateNamespaceResponse
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**namespace** | **List[str]** | Reference to one or more levels of a namespace |
-**properties** | **Dict[str, str]** | Properties stored on the namespace, if supported by the server. | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.create_namespace_response import CreateNamespaceResponse
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of CreateNamespaceResponse from a JSON string
-create_namespace_response_instance = CreateNamespaceResponse.from_json(json)
-# print the JSON string representation of the object
-print(CreateNamespaceResponse.to_json())
-
-# convert the object into a dict
-create_namespace_response_dict = create_namespace_response_instance.to_dict()
-# create an instance of CreateNamespaceResponse from a dict
-create_namespace_response_from_dict = CreateNamespaceResponse.from_dict(create_namespace_response_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/CreatePolicyRequest.md b/client/python/docs/CreatePolicyRequest.md
deleted file mode 100644
index e1ac66a676..0000000000
--- a/client/python/docs/CreatePolicyRequest.md
+++ /dev/null
@@ -1,52 +0,0 @@
-
-# CreatePolicyRequest
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **str** | A policy name. A valid policy name should only consist of uppercase and lowercase letters (A-Z, a-z), digits (0-9), hyphens (-), underscores (_). |
-**type** | **str** | |
-**description** | **str** | | [optional]
-**content** | **str** | | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.create_policy_request import CreatePolicyRequest
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of CreatePolicyRequest from a JSON string
-create_policy_request_instance = CreatePolicyRequest.from_json(json)
-# print the JSON string representation of the object
-print(CreatePolicyRequest.to_json())
-
-# convert the object into a dict
-create_policy_request_dict = create_policy_request_instance.to_dict()
-# create an instance of CreatePolicyRequest from a dict
-create_policy_request_from_dict = CreatePolicyRequest.from_dict(create_policy_request_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/CreatePrincipalRequest.md b/client/python/docs/CreatePrincipalRequest.md
deleted file mode 100644
index c8f1ec4dfb..0000000000
--- a/client/python/docs/CreatePrincipalRequest.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# CreatePrincipalRequest
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**principal** | [**Principal**](Principal.md) | | [optional]
-**credential_rotation_required** | **bool** | If true, the initial credentials can only be used to call rotateCredentials | [optional]
-
-## Example
-
-```python
-from polaris.management.models.create_principal_request import CreatePrincipalRequest
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of CreatePrincipalRequest from a JSON string
-create_principal_request_instance = CreatePrincipalRequest.from_json(json)
-# print the JSON string representation of the object
-print(CreatePrincipalRequest.to_json())
-
-# convert the object into a dict
-create_principal_request_dict = create_principal_request_instance.to_dict()
-# create an instance of CreatePrincipalRequest from a dict
-create_principal_request_from_dict = CreatePrincipalRequest.from_dict(create_principal_request_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/CreatePrincipalRoleRequest.md b/client/python/docs/CreatePrincipalRoleRequest.md
deleted file mode 100644
index 95e142a914..0000000000
--- a/client/python/docs/CreatePrincipalRoleRequest.md
+++ /dev/null
@@ -1,49 +0,0 @@
-
-# CreatePrincipalRoleRequest
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**principal_role** | [**PrincipalRole**](PrincipalRole.md) | | [optional]
-
-## Example
-
-```python
-from polaris.management.models.create_principal_role_request import CreatePrincipalRoleRequest
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of CreatePrincipalRoleRequest from a JSON string
-create_principal_role_request_instance = CreatePrincipalRoleRequest.from_json(json)
-# print the JSON string representation of the object
-print(CreatePrincipalRoleRequest.to_json())
-
-# convert the object into a dict
-create_principal_role_request_dict = create_principal_role_request_instance.to_dict()
-# create an instance of CreatePrincipalRoleRequest from a dict
-create_principal_role_request_from_dict = CreatePrincipalRoleRequest.from_dict(create_principal_role_request_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/CreateTableRequest.md b/client/python/docs/CreateTableRequest.md
deleted file mode 100644
index 7d381ef2b4..0000000000
--- a/client/python/docs/CreateTableRequest.md
+++ /dev/null
@@ -1,55 +0,0 @@
-
-# CreateTableRequest
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **str** | |
-**location** | **str** | | [optional]
-**var_schema** | [**ModelSchema**](ModelSchema.md) | |
-**partition_spec** | [**PartitionSpec**](PartitionSpec.md) | | [optional]
-**write_order** | [**SortOrder**](SortOrder.md) | | [optional]
-**stage_create** | **bool** | | [optional]
-**properties** | **Dict[str, str]** | | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.create_table_request import CreateTableRequest
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of CreateTableRequest from a JSON string
-create_table_request_instance = CreateTableRequest.from_json(json)
-# print the JSON string representation of the object
-print(CreateTableRequest.to_json())
-
-# convert the object into a dict
-create_table_request_dict = create_table_request_instance.to_dict()
-# create an instance of CreateTableRequest from a dict
-create_table_request_from_dict = CreateTableRequest.from_dict(create_table_request_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/CreateViewRequest.md b/client/python/docs/CreateViewRequest.md
deleted file mode 100644
index c5abe4a031..0000000000
--- a/client/python/docs/CreateViewRequest.md
+++ /dev/null
@@ -1,53 +0,0 @@
-
-# CreateViewRequest
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **str** | |
-**location** | **str** | | [optional]
-**var_schema** | [**ModelSchema**](ModelSchema.md) | |
-**view_version** | [**ViewVersion**](ViewVersion.md) | The view version to create, will replace the schema-id sent within the view-version with the id assigned to the provided schema |
-**properties** | **Dict[str, str]** | |
-
-## Example
-
-```python
-from polaris.catalog.models.create_view_request import CreateViewRequest
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of CreateViewRequest from a JSON string
-create_view_request_instance = CreateViewRequest.from_json(json)
-# print the JSON string representation of the object
-print(CreateViewRequest.to_json())
-
-# convert the object into a dict
-create_view_request_dict = create_view_request_instance.to_dict()
-# create an instance of CreateViewRequest from a dict
-create_view_request_from_dict = CreateViewRequest.from_dict(create_view_request_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/DataFile.md b/client/python/docs/DataFile.md
deleted file mode 100644
index 97d57b4d32..0000000000
--- a/client/python/docs/DataFile.md
+++ /dev/null
@@ -1,55 +0,0 @@
-
-# DataFile
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**content** | **str** | |
-**column_sizes** | [**CountMap**](CountMap.md) | Map of column id to total count, including null and NaN | [optional]
-**value_counts** | [**CountMap**](CountMap.md) | Map of column id to null value count | [optional]
-**null_value_counts** | [**CountMap**](CountMap.md) | Map of column id to null value count | [optional]
-**nan_value_counts** | [**CountMap**](CountMap.md) | Map of column id to number of NaN values in the column | [optional]
-**lower_bounds** | [**ValueMap**](ValueMap.md) | Map of column id to lower bound primitive type values | [optional]
-**upper_bounds** | [**ValueMap**](ValueMap.md) | Map of column id to upper bound primitive type values | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.data_file import DataFile
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of DataFile from a JSON string
-data_file_instance = DataFile.from_json(json)
-# print the JSON string representation of the object
-print(DataFile.to_json())
-
-# convert the object into a dict
-data_file_dict = data_file_instance.to_dict()
-# create an instance of DataFile from a dict
-data_file_from_dict = DataFile.from_dict(data_file_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/DeleteFile.md b/client/python/docs/DeleteFile.md
deleted file mode 100644
index a17551f0a1..0000000000
--- a/client/python/docs/DeleteFile.md
+++ /dev/null
@@ -1,59 +0,0 @@
-
-# DeleteFile
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**content** | **str** | |
-**equality_ids** | **List[int]** | List of equality field IDs | [optional]
-**file_path** | **str** | |
-**file_format** | [**FileFormat**](FileFormat.md) | |
-**spec_id** | **int** | |
-**partition** | [**List[PrimitiveTypeValue]**](PrimitiveTypeValue.md) | A list of partition field values ordered based on the fields of the partition spec specified by the `spec-id` |
-**file_size_in_bytes** | **int** | Total file size in bytes |
-**record_count** | **int** | Number of records in the file |
-**key_metadata** | **str** | Encryption key metadata blob | [optional]
-**split_offsets** | **List[int]** | List of splittable offsets | [optional]
-**sort_order_id** | **int** | | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.delete_file import DeleteFile
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of DeleteFile from a JSON string
-delete_file_instance = DeleteFile.from_json(json)
-# print the JSON string representation of the object
-print(DeleteFile.to_json())
-
-# convert the object into a dict
-delete_file_dict = delete_file_instance.to_dict()
-# create an instance of DeleteFile from a dict
-delete_file_from_dict = DeleteFile.from_dict(delete_file_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/DetachPolicyRequest.md b/client/python/docs/DetachPolicyRequest.md
deleted file mode 100644
index 10423f6e37..0000000000
--- a/client/python/docs/DetachPolicyRequest.md
+++ /dev/null
@@ -1,49 +0,0 @@
-
-# DetachPolicyRequest
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**target** | [**PolicyAttachmentTarget**](PolicyAttachmentTarget.md) | |
-
-## Example
-
-```python
-from polaris.catalog.models.detach_policy_request import DetachPolicyRequest
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of DetachPolicyRequest from a JSON string
-detach_policy_request_instance = DetachPolicyRequest.from_json(json)
-# print the JSON string representation of the object
-print(DetachPolicyRequest.to_json())
-
-# convert the object into a dict
-detach_policy_request_dict = detach_policy_request_instance.to_dict()
-# create an instance of DetachPolicyRequest from a dict
-detach_policy_request_from_dict = DetachPolicyRequest.from_dict(detach_policy_request_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/EmptyPlanningResult.md b/client/python/docs/EmptyPlanningResult.md
deleted file mode 100644
index bf53f3e492..0000000000
--- a/client/python/docs/EmptyPlanningResult.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# EmptyPlanningResult
-
-Empty server-side planning result
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**status** | [**PlanStatus**](PlanStatus.md) | |
-
-## Example
-
-```python
-from polaris.catalog.models.empty_planning_result import EmptyPlanningResult
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of EmptyPlanningResult from a JSON string
-empty_planning_result_instance = EmptyPlanningResult.from_json(json)
-# print the JSON string representation of the object
-print(EmptyPlanningResult.to_json())
-
-# convert the object into a dict
-empty_planning_result_dict = empty_planning_result_instance.to_dict()
-# create an instance of EmptyPlanningResult from a dict
-empty_planning_result_from_dict = EmptyPlanningResult.from_dict(empty_planning_result_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/EnableRowLineageUpdate.md b/client/python/docs/EnableRowLineageUpdate.md
deleted file mode 100644
index a6bd1f3a5e..0000000000
--- a/client/python/docs/EnableRowLineageUpdate.md
+++ /dev/null
@@ -1,49 +0,0 @@
-
-# EnableRowLineageUpdate
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**action** | **str** | | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.enable_row_lineage_update import EnableRowLineageUpdate
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of EnableRowLineageUpdate from a JSON string
-enable_row_lineage_update_instance = EnableRowLineageUpdate.from_json(json)
-# print the JSON string representation of the object
-print(EnableRowLineageUpdate.to_json())
-
-# convert the object into a dict
-enable_row_lineage_update_dict = enable_row_lineage_update_instance.to_dict()
-# create an instance of EnableRowLineageUpdate from a dict
-enable_row_lineage_update_from_dict = EnableRowLineageUpdate.from_dict(enable_row_lineage_update_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/EqualityDeleteFile.md b/client/python/docs/EqualityDeleteFile.md
deleted file mode 100644
index e296766e6f..0000000000
--- a/client/python/docs/EqualityDeleteFile.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# EqualityDeleteFile
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**content** | **str** | |
-**equality_ids** | **List[int]** | List of equality field IDs | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.equality_delete_file import EqualityDeleteFile
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of EqualityDeleteFile from a JSON string
-equality_delete_file_instance = EqualityDeleteFile.from_json(json)
-# print the JSON string representation of the object
-print(EqualityDeleteFile.to_json())
-
-# convert the object into a dict
-equality_delete_file_dict = equality_delete_file_instance.to_dict()
-# create an instance of EqualityDeleteFile from a dict
-equality_delete_file_from_dict = EqualityDeleteFile.from_dict(equality_delete_file_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/ErrorModel.md b/client/python/docs/ErrorModel.md
deleted file mode 100644
index 6b181924cc..0000000000
--- a/client/python/docs/ErrorModel.md
+++ /dev/null
@@ -1,53 +0,0 @@
-
-# ErrorModel
-
-JSON error payload returned in a response with further details on the error
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**message** | **str** | Human-readable error message |
-**type** | **str** | Internal type definition of the error |
-**code** | **int** | HTTP response code |
-**stack** | **List[str]** | | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.error_model import ErrorModel
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of ErrorModel from a JSON string
-error_model_instance = ErrorModel.from_json(json)
-# print the JSON string representation of the object
-print(ErrorModel.to_json())
-
-# convert the object into a dict
-error_model_dict = error_model_instance.to_dict()
-# create an instance of ErrorModel from a dict
-error_model_from_dict = ErrorModel.from_dict(error_model_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/Expression.md b/client/python/docs/Expression.md
deleted file mode 100644
index e17a83487d..0000000000
--- a/client/python/docs/Expression.md
+++ /dev/null
@@ -1,55 +0,0 @@
-
-# Expression
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**type** | **str** | |
-**left** | [**Expression**](Expression.md) | |
-**right** | [**Expression**](Expression.md) | |
-**child** | [**Expression**](Expression.md) | |
-**term** | [**Term**](Term.md) | |
-**values** | **List[object]** | |
-**value** | **object** | |
-
-## Example
-
-```python
-from polaris.catalog.models.expression import Expression
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of Expression from a JSON string
-expression_instance = Expression.from_json(json)
-# print the JSON string representation of the object
-print(Expression.to_json())
-
-# convert the object into a dict
-expression_dict = expression_instance.to_dict()
-# create an instance of Expression from a dict
-expression_from_dict = Expression.from_dict(expression_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/ExternalCatalog.md b/client/python/docs/ExternalCatalog.md
deleted file mode 100644
index 0ac343e615..0000000000
--- a/client/python/docs/ExternalCatalog.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# ExternalCatalog
-
-An externally managed catalog
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**connection_config_info** | [**ConnectionConfigInfo**](ConnectionConfigInfo.md) | | [optional]
-
-## Example
-
-```python
-from polaris.management.models.external_catalog import ExternalCatalog
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of ExternalCatalog from a JSON string
-external_catalog_instance = ExternalCatalog.from_json(json)
-# print the JSON string representation of the object
-print(ExternalCatalog.to_json())
-
-# convert the object into a dict
-external_catalog_dict = external_catalog_instance.to_dict()
-# create an instance of ExternalCatalog from a dict
-external_catalog_from_dict = ExternalCatalog.from_dict(external_catalog_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/FailedPlanningResult.md b/client/python/docs/FailedPlanningResult.md
deleted file mode 100644
index 941d7b314e..0000000000
--- a/client/python/docs/FailedPlanningResult.md
+++ /dev/null
@@ -1,51 +0,0 @@
-
-# FailedPlanningResult
-
-Failed server-side planning result
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**error** | [**ErrorModel**](ErrorModel.md) | |
-**status** | [**PlanStatus**](PlanStatus.md) | |
-
-## Example
-
-```python
-from polaris.catalog.models.failed_planning_result import FailedPlanningResult
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of FailedPlanningResult from a JSON string
-failed_planning_result_instance = FailedPlanningResult.from_json(json)
-# print the JSON string representation of the object
-print(FailedPlanningResult.to_json())
-
-# convert the object into a dict
-failed_planning_result_dict = failed_planning_result_instance.to_dict()
-# create an instance of FailedPlanningResult from a dict
-failed_planning_result_from_dict = FailedPlanningResult.from_dict(failed_planning_result_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/FalseExpression.md b/client/python/docs/FalseExpression.md
deleted file mode 100644
index 2b2086e6c7..0000000000
--- a/client/python/docs/FalseExpression.md
+++ /dev/null
@@ -1,49 +0,0 @@
-
-# FalseExpression
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**type** | **str** | |
-
-## Example
-
-```python
-from polaris.catalog.models.false_expression import FalseExpression
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of FalseExpression from a JSON string
-false_expression_instance = FalseExpression.from_json(json)
-# print the JSON string representation of the object
-print(FalseExpression.to_json())
-
-# convert the object into a dict
-false_expression_dict = false_expression_instance.to_dict()
-# create an instance of FalseExpression from a dict
-false_expression_from_dict = FalseExpression.from_dict(false_expression_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/FetchPlanningResult.md b/client/python/docs/FetchPlanningResult.md
deleted file mode 100644
index 34337fa102..0000000000
--- a/client/python/docs/FetchPlanningResult.md
+++ /dev/null
@@ -1,54 +0,0 @@
-
-# FetchPlanningResult
-
-Result of server-side scan planning for fetchPlanningResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**delete_files** | [**List[DeleteFile]**](DeleteFile.md) | Delete files referenced by file scan tasks | [optional]
-**file_scan_tasks** | [**List[FileScanTask]**](FileScanTask.md) | | [optional]
-**plan_tasks** | **List[str]** | | [optional]
-**status** | [**PlanStatus**](PlanStatus.md) | |
-**error** | [**ErrorModel**](ErrorModel.md) | |
-
-## Example
-
-```python
-from polaris.catalog.models.fetch_planning_result import FetchPlanningResult
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of FetchPlanningResult from a JSON string
-fetch_planning_result_instance = FetchPlanningResult.from_json(json)
-# print the JSON string representation of the object
-print(FetchPlanningResult.to_json())
-
-# convert the object into a dict
-fetch_planning_result_dict = fetch_planning_result_instance.to_dict()
-# create an instance of FetchPlanningResult from a dict
-fetch_planning_result_from_dict = FetchPlanningResult.from_dict(fetch_planning_result_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/FetchScanTasksRequest.md b/client/python/docs/FetchScanTasksRequest.md
deleted file mode 100644
index 7772872a48..0000000000
--- a/client/python/docs/FetchScanTasksRequest.md
+++ /dev/null
@@ -1,49 +0,0 @@
-
-# FetchScanTasksRequest
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**plan_task** | **str** | An opaque string provided by the REST server that represents a unit of work to produce file scan tasks for scan planning. This allows clients to fetch tasks across multiple requests to accommodate large result sets. |
-
-## Example
-
-```python
-from polaris.catalog.models.fetch_scan_tasks_request import FetchScanTasksRequest
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of FetchScanTasksRequest from a JSON string
-fetch_scan_tasks_request_instance = FetchScanTasksRequest.from_json(json)
-# print the JSON string representation of the object
-print(FetchScanTasksRequest.to_json())
-
-# convert the object into a dict
-fetch_scan_tasks_request_dict = fetch_scan_tasks_request_instance.to_dict()
-# create an instance of FetchScanTasksRequest from a dict
-fetch_scan_tasks_request_from_dict = FetchScanTasksRequest.from_dict(fetch_scan_tasks_request_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/FetchScanTasksResult.md b/client/python/docs/FetchScanTasksResult.md
deleted file mode 100644
index 360ac8608d..0000000000
--- a/client/python/docs/FetchScanTasksResult.md
+++ /dev/null
@@ -1,52 +0,0 @@
-
-# FetchScanTasksResult
-
-Response schema for fetchScanTasks
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**delete_files** | [**List[DeleteFile]**](DeleteFile.md) | Delete files referenced by file scan tasks | [optional]
-**file_scan_tasks** | [**List[FileScanTask]**](FileScanTask.md) | | [optional]
-**plan_tasks** | **List[str]** | | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.fetch_scan_tasks_result import FetchScanTasksResult
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of FetchScanTasksResult from a JSON string
-fetch_scan_tasks_result_instance = FetchScanTasksResult.from_json(json)
-# print the JSON string representation of the object
-print(FetchScanTasksResult.to_json())
-
-# convert the object into a dict
-fetch_scan_tasks_result_dict = fetch_scan_tasks_result_instance.to_dict()
-# create an instance of FetchScanTasksResult from a dict
-fetch_scan_tasks_result_from_dict = FetchScanTasksResult.from_dict(fetch_scan_tasks_result_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/FileFormat.md b/client/python/docs/FileFormat.md
deleted file mode 100644
index 49b948a533..0000000000
--- a/client/python/docs/FileFormat.md
+++ /dev/null
@@ -1,36 +0,0 @@
-
-# FileFormat
-
-
-## Enum
-
-* `AVRO` (value: `'avro'`)
-
-* `ORC` (value: `'orc'`)
-
-* `PARQUET` (value: `'parquet'`)
-
-* `PUFFIN` (value: `'puffin'`)
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/FileScanTask.md b/client/python/docs/FileScanTask.md
deleted file mode 100644
index 29f648fbae..0000000000
--- a/client/python/docs/FileScanTask.md
+++ /dev/null
@@ -1,51 +0,0 @@
-
-# FileScanTask
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**data_file** | [**DataFile**](DataFile.md) | |
-**delete_file_references** | **List[int]** | A list of indices in the delete files array (0-based) | [optional]
-**residual_filter** | [**Expression**](Expression.md) | An optional filter to be applied to rows in this file scan task. If the residual is not present, the client must produce the residual or use the original filter. | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.file_scan_task import FileScanTask
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of FileScanTask from a JSON string
-file_scan_task_instance = FileScanTask.from_json(json)
-# print the JSON string representation of the object
-print(FileScanTask.to_json())
-
-# convert the object into a dict
-file_scan_task_dict = file_scan_task_instance.to_dict()
-# create an instance of FileScanTask from a dict
-file_scan_task_from_dict = FileScanTask.from_dict(file_scan_task_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/FileStorageConfigInfo.md b/client/python/docs/FileStorageConfigInfo.md
deleted file mode 100644
index a070aa37c5..0000000000
--- a/client/python/docs/FileStorageConfigInfo.md
+++ /dev/null
@@ -1,49 +0,0 @@
-
-# FileStorageConfigInfo
-
-file storage configuration info
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-
-## Example
-
-```python
-from polaris.management.models.file_storage_config_info import FileStorageConfigInfo
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of FileStorageConfigInfo from a JSON string
-file_storage_config_info_instance = FileStorageConfigInfo.from_json(json)
-# print the JSON string representation of the object
-print(FileStorageConfigInfo.to_json())
-
-# convert the object into a dict
-file_storage_config_info_dict = file_storage_config_info_instance.to_dict()
-# create an instance of FileStorageConfigInfo from a dict
-file_storage_config_info_from_dict = FileStorageConfigInfo.from_dict(file_storage_config_info_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/GcpStorageConfigInfo.md b/client/python/docs/GcpStorageConfigInfo.md
deleted file mode 100644
index 76e3736fd7..0000000000
--- a/client/python/docs/GcpStorageConfigInfo.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# GcpStorageConfigInfo
-
-gcp storage configuration info
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**gcs_service_account** | **str** | a Google cloud storage service account | [optional]
-
-## Example
-
-```python
-from polaris.management.models.gcp_storage_config_info import GcpStorageConfigInfo
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of GcpStorageConfigInfo from a JSON string
-gcp_storage_config_info_instance = GcpStorageConfigInfo.from_json(json)
-# print the JSON string representation of the object
-print(GcpStorageConfigInfo.to_json())
-
-# convert the object into a dict
-gcp_storage_config_info_dict = gcp_storage_config_info_instance.to_dict()
-# create an instance of GcpStorageConfigInfo from a dict
-gcp_storage_config_info_from_dict = GcpStorageConfigInfo.from_dict(gcp_storage_config_info_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/GenericTable.md b/client/python/docs/GenericTable.md
deleted file mode 100644
index 9f9bce8ffc..0000000000
--- a/client/python/docs/GenericTable.md
+++ /dev/null
@@ -1,53 +0,0 @@
-
-# GenericTable
-
-Generic Table information. - `name` name for the generic table - `format` format for the generic table, i.e. \"delta\", \"csv\" - `properties` properties for the generic table passed on creation - `doc` comment or description for the generic table
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **str** | |
-**format** | **str** | |
-**doc** | **str** | | [optional]
-**properties** | **Dict[str, str]** | | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.generic_table import GenericTable
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of GenericTable from a JSON string
-generic_table_instance = GenericTable.from_json(json)
-# print the JSON string representation of the object
-print(GenericTable.to_json())
-
-# convert the object into a dict
-generic_table_dict = generic_table_instance.to_dict()
-# create an instance of GenericTable from a dict
-generic_table_from_dict = GenericTable.from_dict(generic_table_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/GenericTableAPI.md b/client/python/docs/GenericTableAPI.md
deleted file mode 100644
index 658c9a49e4..0000000000
--- a/client/python/docs/GenericTableAPI.md
+++ /dev/null
@@ -1,397 +0,0 @@
-
-# polaris.catalog.GenericTableAPI
-
-All URIs are relative to *https://localhost*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**create_generic_table**](GenericTableAPI.md#create_generic_table) | **POST** /polaris/v1/{prefix}/namespaces/{namespace}/generic-tables | Create a generic table under the given namespace
-[**drop_generic_table**](GenericTableAPI.md#drop_generic_table) | **DELETE** /polaris/v1/{prefix}/namespaces/{namespace}/generic-tables/{generic-table} | Drop a generic table under the given namespace from the catalog
-[**list_generic_tables**](GenericTableAPI.md#list_generic_tables) | **GET** /polaris/v1/{prefix}/namespaces/{namespace}/generic-tables | List all generic tables identifiers underneath a given namespace
-[**load_generic_table**](GenericTableAPI.md#load_generic_table) | **GET** /polaris/v1/{prefix}/namespaces/{namespace}/generic-tables/{generic-table} | Load a generic table under the given namespace from the catalog
-
-
-# **create_generic_table**
-> LoadGenericTableResponse create_generic_table(prefix, namespace, create_generic_table_request)
-
-Create a generic table under the given namespace
-
-Create a generic table under the given namespace, and return the created table information as a response.
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.create_generic_table_request import CreateGenericTableRequest
-from polaris.catalog.models.load_generic_table_response import LoadGenericTableResponse
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.GenericTableAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- create_generic_table_request = polaris.catalog.CreateGenericTableRequest() # CreateGenericTableRequest |
-
- try:
- # Create a generic table under the given namespace
- api_response = api_instance.create_generic_table(prefix, namespace, create_generic_table_request)
- print("The response of GenericTableAPI->create_generic_table:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling GenericTableAPI->create_generic_table: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
- **create_generic_table_request** | [**CreateGenericTableRequest**](CreateGenericTableRequest.md)| |
-
-### Return type
-
-[**LoadGenericTableResponse**](LoadGenericTableResponse.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | Table result if successfully created a generic table. | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - The namespace specified does not exist | - |
-**409** | Conflict - The table already exists under the given namespace | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **drop_generic_table**
-> drop_generic_table(prefix, namespace, generic_table)
-
-Drop a generic table under the given namespace from the catalog
-
-Remove a table under the given namespace from the catalog
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.GenericTableAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- generic_table = 'sales' # str | A generic table name
-
- try:
- # Drop a generic table under the given namespace from the catalog
- api_instance.drop_generic_table(prefix, namespace, generic_table)
- except Exception as e:
- print("Exception when calling GenericTableAPI->drop_generic_table: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
- **generic_table** | **str**| A generic table name |
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**204** | Success, no content | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - NoSuchTableError, Generic table to drop does not exist | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **list_generic_tables**
-> ListGenericTablesResponse list_generic_tables(prefix, namespace, page_token=page_token, page_size=page_size)
-
-List all generic tables identifiers underneath a given namespace
-
-Return all generic table identifiers under this namespace
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.list_generic_tables_response import ListGenericTablesResponse
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.GenericTableAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- page_token = 'page_token_example' # str | (optional)
- page_size = 56 # int | For servers that support pagination, this signals an upper bound of the number of results that a client will receive. For servers that do not support pagination, clients may receive results larger than the indicated `pageSize`. (optional)
-
- try:
- # List all generic tables identifiers underneath a given namespace
- api_response = api_instance.list_generic_tables(prefix, namespace, page_token=page_token, page_size=page_size)
- print("The response of GenericTableAPI->list_generic_tables:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling GenericTableAPI->list_generic_tables: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
- **page_token** | **str**| | [optional]
- **page_size** | **int**| For servers that support pagination, this signals an upper bound of the number of results that a client will receive. For servers that do not support pagination, clients may receive results larger than the indicated `pageSize`. | [optional]
-
-### Return type
-
-[**ListGenericTablesResponse**](ListGenericTablesResponse.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | List of generic table identifiers. | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - The namespace specified does not exist | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **load_generic_table**
-> LoadGenericTableResponse load_generic_table(prefix, namespace, generic_table)
-
-Load a generic table under the given namespace from the catalog
-
-Load a generic table from the catalog under the given namespace. The response contains all table information passed during create.
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.load_generic_table_response import LoadGenericTableResponse
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.GenericTableAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- generic_table = 'sales' # str | A generic table name
-
- try:
- # Load a generic table under the given namespace from the catalog
- api_response = api_instance.load_generic_table(prefix, namespace, generic_table)
- print("The response of GenericTableAPI->load_generic_table:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling GenericTableAPI->load_generic_table: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
- **generic_table** | **str**| A generic table name |
-
-### Return type
-
-[**LoadGenericTableResponse**](LoadGenericTableResponse.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | Table result if successfully load a generic table. | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - NoSuchTableError, generic table to load does not exist | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
diff --git a/client/python/docs/GetApplicablePoliciesResponse.md b/client/python/docs/GetApplicablePoliciesResponse.md
deleted file mode 100644
index fed67b9a1a..0000000000
--- a/client/python/docs/GetApplicablePoliciesResponse.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# GetApplicablePoliciesResponse
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**next_page_token** | **str** | An opaque token that allows clients to make use of pagination for list APIs (e.g. ListTables). Clients may initiate the first paginated request by sending an empty query parameter `pageToken` to the server. Servers that support pagination should identify the `pageToken` parameter and return a `next-page-token` in the response if there are more results available. After the initial request, the value of `next-page-token` from each response must be used as the `pageToken` parameter value for the next request. The server must return `null` value for the `next-page-token` in the last response. Servers that support pagination must return all results in a single response with the value of `next-page-token` set to `null` if the query parameter `pageToken` is not set in the request. Servers that do not support pagination should ignore the `pageToken` parameter and return all results in a single response. The `next-page-token` must be omitted from the response. Clients must interpret either `null` or missing response value of `next-page-token` as the end of the listing results. | [optional]
-**applicable_policies** | [**List[ApplicablePolicy]**](ApplicablePolicy.md) | |
-
-## Example
-
-```python
-from polaris.catalog.models.get_applicable_policies_response import GetApplicablePoliciesResponse
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of GetApplicablePoliciesResponse from a JSON string
-get_applicable_policies_response_instance = GetApplicablePoliciesResponse.from_json(json)
-# print the JSON string representation of the object
-print(GetApplicablePoliciesResponse.to_json())
-
-# convert the object into a dict
-get_applicable_policies_response_dict = get_applicable_policies_response_instance.to_dict()
-# create an instance of GetApplicablePoliciesResponse from a dict
-get_applicable_policies_response_from_dict = GetApplicablePoliciesResponse.from_dict(get_applicable_policies_response_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/GetNamespaceResponse.md b/client/python/docs/GetNamespaceResponse.md
deleted file mode 100644
index 4d4a880e7a..0000000000
--- a/client/python/docs/GetNamespaceResponse.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# GetNamespaceResponse
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**namespace** | **List[str]** | Reference to one or more levels of a namespace |
-**properties** | **Dict[str, str]** | Properties stored on the namespace, if supported by the server. If the server does not support namespace properties, it should return null for this field. If namespace properties are supported, but none are set, it should return an empty object. | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.get_namespace_response import GetNamespaceResponse
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of GetNamespaceResponse from a JSON string
-get_namespace_response_instance = GetNamespaceResponse.from_json(json)
-# print the JSON string representation of the object
-print(GetNamespaceResponse.to_json())
-
-# convert the object into a dict
-get_namespace_response_dict = get_namespace_response_instance.to_dict()
-# create an instance of GetNamespaceResponse from a dict
-get_namespace_response_from_dict = GetNamespaceResponse.from_dict(get_namespace_response_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/GrantCatalogRoleRequest.md b/client/python/docs/GrantCatalogRoleRequest.md
deleted file mode 100644
index aba7fa2124..0000000000
--- a/client/python/docs/GrantCatalogRoleRequest.md
+++ /dev/null
@@ -1,49 +0,0 @@
-
-# GrantCatalogRoleRequest
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**catalog_role** | [**CatalogRole**](CatalogRole.md) | | [optional]
-
-## Example
-
-```python
-from polaris.management.models.grant_catalog_role_request import GrantCatalogRoleRequest
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of GrantCatalogRoleRequest from a JSON string
-grant_catalog_role_request_instance = GrantCatalogRoleRequest.from_json(json)
-# print the JSON string representation of the object
-print(GrantCatalogRoleRequest.to_json())
-
-# convert the object into a dict
-grant_catalog_role_request_dict = grant_catalog_role_request_instance.to_dict()
-# create an instance of GrantCatalogRoleRequest from a dict
-grant_catalog_role_request_from_dict = GrantCatalogRoleRequest.from_dict(grant_catalog_role_request_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/GrantPrincipalRoleRequest.md b/client/python/docs/GrantPrincipalRoleRequest.md
deleted file mode 100644
index 8c6b0494dd..0000000000
--- a/client/python/docs/GrantPrincipalRoleRequest.md
+++ /dev/null
@@ -1,49 +0,0 @@
-
-# GrantPrincipalRoleRequest
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**principal_role** | [**PrincipalRole**](PrincipalRole.md) | | [optional]
-
-## Example
-
-```python
-from polaris.management.models.grant_principal_role_request import GrantPrincipalRoleRequest
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of GrantPrincipalRoleRequest from a JSON string
-grant_principal_role_request_instance = GrantPrincipalRoleRequest.from_json(json)
-# print the JSON string representation of the object
-print(GrantPrincipalRoleRequest.to_json())
-
-# convert the object into a dict
-grant_principal_role_request_dict = grant_principal_role_request_instance.to_dict()
-# create an instance of GrantPrincipalRoleRequest from a dict
-grant_principal_role_request_from_dict = GrantPrincipalRoleRequest.from_dict(grant_principal_role_request_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/GrantResource.md b/client/python/docs/GrantResource.md
deleted file mode 100644
index 657e55c16e..0000000000
--- a/client/python/docs/GrantResource.md
+++ /dev/null
@@ -1,49 +0,0 @@
-
-# GrantResource
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**type** | **str** | |
-
-## Example
-
-```python
-from polaris.management.models.grant_resource import GrantResource
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of GrantResource from a JSON string
-grant_resource_instance = GrantResource.from_json(json)
-# print the JSON string representation of the object
-print(GrantResource.to_json())
-
-# convert the object into a dict
-grant_resource_dict = grant_resource_instance.to_dict()
-# create an instance of GrantResource from a dict
-grant_resource_from_dict = GrantResource.from_dict(grant_resource_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/GrantResources.md b/client/python/docs/GrantResources.md
deleted file mode 100644
index 2d5856829d..0000000000
--- a/client/python/docs/GrantResources.md
+++ /dev/null
@@ -1,49 +0,0 @@
-
-# GrantResources
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**grants** | [**List[GrantResource]**](GrantResource.md) | |
-
-## Example
-
-```python
-from polaris.management.models.grant_resources import GrantResources
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of GrantResources from a JSON string
-grant_resources_instance = GrantResources.from_json(json)
-# print the JSON string representation of the object
-print(GrantResources.to_json())
-
-# convert the object into a dict
-grant_resources_dict = grant_resources_instance.to_dict()
-# create an instance of GrantResources from a dict
-grant_resources_from_dict = GrantResources.from_dict(grant_resources_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/HadoopConnectionConfigInfo.md b/client/python/docs/HadoopConnectionConfigInfo.md
deleted file mode 100644
index 3bcbe05fb7..0000000000
--- a/client/python/docs/HadoopConnectionConfigInfo.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# HadoopConnectionConfigInfo
-
-Configuration necessary for connecting to a Hadoop Catalog
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**warehouse** | **str** | The file path to where this catalog should store tables | [optional]
-
-## Example
-
-```python
-from polaris.management.models.hadoop_connection_config_info import HadoopConnectionConfigInfo
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of HadoopConnectionConfigInfo from a JSON string
-hadoop_connection_config_info_instance = HadoopConnectionConfigInfo.from_json(json)
-# print the JSON string representation of the object
-print(HadoopConnectionConfigInfo.to_json())
-
-# convert the object into a dict
-hadoop_connection_config_info_dict = hadoop_connection_config_info_instance.to_dict()
-# create an instance of HadoopConnectionConfigInfo from a dict
-hadoop_connection_config_info_from_dict = HadoopConnectionConfigInfo.from_dict(hadoop_connection_config_info_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/IcebergCatalogAPI.md b/client/python/docs/IcebergCatalogAPI.md
deleted file mode 100644
index a90cc387f6..0000000000
--- a/client/python/docs/IcebergCatalogAPI.md
+++ /dev/null
@@ -1,2645 +0,0 @@
-
-# polaris.catalog.IcebergCatalogAPI
-
-All URIs are relative to *https://localhost*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**cancel_planning**](IcebergCatalogAPI.md#cancel_planning) | **DELETE** /v1/{prefix}/namespaces/{namespace}/tables/{table}/plan/{plan-id} | Cancels scan planning for a plan-id
-[**commit_transaction**](IcebergCatalogAPI.md#commit_transaction) | **POST** /v1/{prefix}/transactions/commit | Commit updates to multiple tables in an atomic operation
-[**create_namespace**](IcebergCatalogAPI.md#create_namespace) | **POST** /v1/{prefix}/namespaces | Create a namespace
-[**create_table**](IcebergCatalogAPI.md#create_table) | **POST** /v1/{prefix}/namespaces/{namespace}/tables | Create a table in the given namespace
-[**create_view**](IcebergCatalogAPI.md#create_view) | **POST** /v1/{prefix}/namespaces/{namespace}/views | Create a view in the given namespace
-[**drop_namespace**](IcebergCatalogAPI.md#drop_namespace) | **DELETE** /v1/{prefix}/namespaces/{namespace} | Drop a namespace from the catalog. Namespace must be empty.
-[**drop_table**](IcebergCatalogAPI.md#drop_table) | **DELETE** /v1/{prefix}/namespaces/{namespace}/tables/{table} | Drop a table from the catalog
-[**drop_view**](IcebergCatalogAPI.md#drop_view) | **DELETE** /v1/{prefix}/namespaces/{namespace}/views/{view} | Drop a view from the catalog
-[**fetch_planning_result**](IcebergCatalogAPI.md#fetch_planning_result) | **GET** /v1/{prefix}/namespaces/{namespace}/tables/{table}/plan/{plan-id} | Fetches the result of scan planning for a plan-id
-[**fetch_scan_tasks**](IcebergCatalogAPI.md#fetch_scan_tasks) | **POST** /v1/{prefix}/namespaces/{namespace}/tables/{table}/tasks | Fetches result tasks for a plan task
-[**list_namespaces**](IcebergCatalogAPI.md#list_namespaces) | **GET** /v1/{prefix}/namespaces | List namespaces, optionally providing a parent namespace to list underneath
-[**list_tables**](IcebergCatalogAPI.md#list_tables) | **GET** /v1/{prefix}/namespaces/{namespace}/tables | List all table identifiers underneath a given namespace
-[**list_views**](IcebergCatalogAPI.md#list_views) | **GET** /v1/{prefix}/namespaces/{namespace}/views | List all view identifiers underneath a given namespace
-[**load_credentials**](IcebergCatalogAPI.md#load_credentials) | **GET** /v1/{prefix}/namespaces/{namespace}/tables/{table}/credentials | Load vended credentials for a table from the catalog
-[**load_namespace_metadata**](IcebergCatalogAPI.md#load_namespace_metadata) | **GET** /v1/{prefix}/namespaces/{namespace} | Load the metadata properties for a namespace
-[**load_table**](IcebergCatalogAPI.md#load_table) | **GET** /v1/{prefix}/namespaces/{namespace}/tables/{table} | Load a table from the catalog
-[**load_view**](IcebergCatalogAPI.md#load_view) | **GET** /v1/{prefix}/namespaces/{namespace}/views/{view} | Load a view from the catalog
-[**namespace_exists**](IcebergCatalogAPI.md#namespace_exists) | **HEAD** /v1/{prefix}/namespaces/{namespace} | Check if a namespace exists
-[**plan_table_scan**](IcebergCatalogAPI.md#plan_table_scan) | **POST** /v1/{prefix}/namespaces/{namespace}/tables/{table}/plan | Submit a scan for planning
-[**register_table**](IcebergCatalogAPI.md#register_table) | **POST** /v1/{prefix}/namespaces/{namespace}/register | Register a table in the given namespace using given metadata file location
-[**rename_table**](IcebergCatalogAPI.md#rename_table) | **POST** /v1/{prefix}/tables/rename | Rename a table from its current name to a new name
-[**rename_view**](IcebergCatalogAPI.md#rename_view) | **POST** /v1/{prefix}/views/rename | Rename a view from its current name to a new name
-[**replace_view**](IcebergCatalogAPI.md#replace_view) | **POST** /v1/{prefix}/namespaces/{namespace}/views/{view} | Replace a view
-[**report_metrics**](IcebergCatalogAPI.md#report_metrics) | **POST** /v1/{prefix}/namespaces/{namespace}/tables/{table}/metrics | Send a metrics report to this endpoint to be processed by the backend
-[**table_exists**](IcebergCatalogAPI.md#table_exists) | **HEAD** /v1/{prefix}/namespaces/{namespace}/tables/{table} | Check if a table exists
-[**update_properties**](IcebergCatalogAPI.md#update_properties) | **POST** /v1/{prefix}/namespaces/{namespace}/properties | Set or remove properties on a namespace
-[**update_table**](IcebergCatalogAPI.md#update_table) | **POST** /v1/{prefix}/namespaces/{namespace}/tables/{table} | Commit updates to a table
-[**view_exists**](IcebergCatalogAPI.md#view_exists) | **HEAD** /v1/{prefix}/namespaces/{namespace}/views/{view} | Check if a view exists
-
-
-# **cancel_planning**
-> cancel_planning(prefix, namespace, table, plan_id)
-
-Cancels scan planning for a plan-id
-
-Cancels scan planning for a plan-id. This notifies the service that it can release resources held for the scan. Clients should cancel scans that are no longer needed, either while the plan-id returns a \"submitted\" status or while there are remaining plan tasks that have not been fetched. Cancellation is not necessary when - Scan tasks for each plan task have been fetched using fetchScanTasks - A plan-id has produced a \"failed\" or \"cancelled\" status from planTableScan or fetchPlanningResult
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.IcebergCatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- table = 'sales' # str | A table name
- plan_id = 'plan_id_example' # str | ID used to track a planning request
-
- try:
- # Cancels scan planning for a plan-id
- api_instance.cancel_planning(prefix, namespace, table, plan_id)
- except Exception as e:
- print("Exception when calling IcebergCatalogAPI->cancel_planning: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
- **table** | **str**| A table name |
- **plan_id** | **str**| ID used to track a planning request |
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**204** | Success, no content | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - NoSuchTableException, the table does not exist - NoSuchNamespaceException, the namespace does not exist | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **commit_transaction**
-> commit_transaction(prefix, commit_transaction_request)
-
-Commit updates to multiple tables in an atomic operation
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.commit_transaction_request import CommitTransactionRequest
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.IcebergCatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- commit_transaction_request = polaris.catalog.CommitTransactionRequest() # CommitTransactionRequest | Commit updates to multiple tables in an atomic operation A commit for a single table consists of a table identifier with requirements and updates. Requirements are assertions that will be validated before attempting to make and commit changes. For example, `assert-ref-snapshot-id` will check that a named ref's snapshot ID has a certain value. Server implementations are required to fail with a 400 status code if any unknown updates or requirements are received. Updates are changes to make to table metadata. For example, after asserting that the current main ref is at the expected snapshot, a commit may add a new child snapshot and set the ref to the new snapshot id.
-
- try:
- # Commit updates to multiple tables in an atomic operation
- api_instance.commit_transaction(prefix, commit_transaction_request)
- except Exception as e:
- print("Exception when calling IcebergCatalogAPI->commit_transaction: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **commit_transaction_request** | [**CommitTransactionRequest**](CommitTransactionRequest.md)| Commit updates to multiple tables in an atomic operation A commit for a single table consists of a table identifier with requirements and updates. Requirements are assertions that will be validated before attempting to make and commit changes. For example, `assert-ref-snapshot-id` will check that a named ref's snapshot ID has a certain value. Server implementations are required to fail with a 400 status code if any unknown updates or requirements are received. Updates are changes to make to table metadata. For example, after asserting that the current main ref is at the expected snapshot, a commit may add a new child snapshot and set the ref to the new snapshot id. |
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**204** | Success, no content | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - NoSuchTableException, table to load does not exist | - |
-**409** | Conflict - CommitFailedException, one or more requirements failed. The client may retry. | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**500** | An unknown server-side problem occurred; the commit state is unknown. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**502** | A gateway or proxy received an invalid response from the upstream server; the commit state is unknown. | - |
-**504** | A server-side gateway timeout occurred; the commit state is unknown. | - |
-**5XX** | A server-side problem that might not be addressable on the client. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **create_namespace**
-> CreateNamespaceResponse create_namespace(prefix, create_namespace_request)
-
-Create a namespace
-
-Create a namespace, with an optional set of properties. The server might also add properties, such as `last_modified_time` etc.
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.create_namespace_request import CreateNamespaceRequest
-from polaris.catalog.models.create_namespace_response import CreateNamespaceResponse
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.IcebergCatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- create_namespace_request = polaris.catalog.CreateNamespaceRequest() # CreateNamespaceRequest |
-
- try:
- # Create a namespace
- api_response = api_instance.create_namespace(prefix, create_namespace_request)
- print("The response of IcebergCatalogAPI->create_namespace:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling IcebergCatalogAPI->create_namespace: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **create_namespace_request** | [**CreateNamespaceRequest**](CreateNamespaceRequest.md)| |
-
-### Return type
-
-[**CreateNamespaceResponse**](CreateNamespaceResponse.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | Represents a successful call to create a namespace. Returns the namespace created, as well as any properties that were stored for the namespace, including those the server might have added. Implementations are not required to support namespace properties. | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**406** | Not Acceptable / Unsupported Operation. The server does not support this operation. | - |
-**409** | Conflict - The namespace already exists | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **create_table**
-> LoadTableResult create_table(prefix, namespace, create_table_request, x_iceberg_access_delegation=x_iceberg_access_delegation)
-
-Create a table in the given namespace
-
-Create a table or start a create transaction, like atomic CTAS. If `stage-create` is false, the table is created immediately. If `stage-create` is true, the table is not created, but table metadata is initialized and returned. The service should prepare as needed for a commit to the table commit endpoint to complete the create transaction. The client uses the returned metadata to begin a transaction. To commit the transaction, the client sends all create and subsequent changes to the table commit route. Changes from the table create operation include changes like AddSchemaUpdate and SetCurrentSchemaUpdate that set the initial table state.
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.create_table_request import CreateTableRequest
-from polaris.catalog.models.load_table_result import LoadTableResult
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.IcebergCatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- create_table_request = polaris.catalog.CreateTableRequest() # CreateTableRequest |
- x_iceberg_access_delegation = 'vended-credentials,remote-signing' # str | Optional signal to the server that the client supports delegated access via a comma-separated list of access mechanisms. The server may choose to supply access via any or none of the requested mechanisms. Specific properties and handling for `vended-credentials` is documented in the `LoadTableResult` schema section of this spec document. The protocol and specification for `remote-signing` is documented in the `s3-signer-open-api.yaml` OpenApi spec in the `aws` module. (optional)
-
- try:
- # Create a table in the given namespace
- api_response = api_instance.create_table(prefix, namespace, create_table_request, x_iceberg_access_delegation=x_iceberg_access_delegation)
- print("The response of IcebergCatalogAPI->create_table:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling IcebergCatalogAPI->create_table: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
- **create_table_request** | [**CreateTableRequest**](CreateTableRequest.md)| |
- **x_iceberg_access_delegation** | **str**| Optional signal to the server that the client supports delegated access via a comma-separated list of access mechanisms. The server may choose to supply access via any or none of the requested mechanisms. Specific properties and handling for `vended-credentials` is documented in the `LoadTableResult` schema section of this spec document. The protocol and specification for `remote-signing` is documented in the `s3-signer-open-api.yaml` OpenApi spec in the `aws` module. | [optional]
-
-### Return type
-
-[**LoadTableResult**](LoadTableResult.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | Table metadata result after creating a table | * etag -
|
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - The namespace specified does not exist | - |
-**409** | Conflict - The table already exists | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **create_view**
-> LoadViewResult create_view(prefix, namespace, create_view_request)
-
-Create a view in the given namespace
-
-Create a view in the given namespace.
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.create_view_request import CreateViewRequest
-from polaris.catalog.models.load_view_result import LoadViewResult
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.IcebergCatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- create_view_request = polaris.catalog.CreateViewRequest() # CreateViewRequest |
-
- try:
- # Create a view in the given namespace
- api_response = api_instance.create_view(prefix, namespace, create_view_request)
- print("The response of IcebergCatalogAPI->create_view:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling IcebergCatalogAPI->create_view: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
- **create_view_request** | [**CreateViewRequest**](CreateViewRequest.md)| |
-
-### Return type
-
-[**LoadViewResult**](LoadViewResult.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | View metadata result when loading a view | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - The namespace specified does not exist | - |
-**409** | Conflict - The view already exists | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **drop_namespace**
-> drop_namespace(prefix, namespace)
-
-Drop a namespace from the catalog. Namespace must be empty.
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.IcebergCatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
-
- try:
- # Drop a namespace from the catalog. Namespace must be empty.
- api_instance.drop_namespace(prefix, namespace)
- except Exception as e:
- print("Exception when calling IcebergCatalogAPI->drop_namespace: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**204** | Success, no content | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - Namespace to delete does not exist. | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **drop_table**
-> drop_table(prefix, namespace, table, purge_requested=purge_requested)
-
-Drop a table from the catalog
-
-Remove a table from the catalog
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.IcebergCatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- table = 'sales' # str | A table name
- purge_requested = False # bool | Whether the user requested to purge the underlying table's data and metadata (optional) (default to False)
-
- try:
- # Drop a table from the catalog
- api_instance.drop_table(prefix, namespace, table, purge_requested=purge_requested)
- except Exception as e:
- print("Exception when calling IcebergCatalogAPI->drop_table: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
- **table** | **str**| A table name |
- **purge_requested** | **bool**| Whether the user requested to purge the underlying table's data and metadata | [optional] [default to False]
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**204** | Success, no content | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - NoSuchTableException, Table to drop does not exist | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **drop_view**
-> drop_view(prefix, namespace, view)
-
-Drop a view from the catalog
-
-Remove a view from the catalog
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.IcebergCatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- view = 'sales' # str | A view name
-
- try:
- # Drop a view from the catalog
- api_instance.drop_view(prefix, namespace, view)
- except Exception as e:
- print("Exception when calling IcebergCatalogAPI->drop_view: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
- **view** | **str**| A view name |
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**204** | Success, no content | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - NoSuchViewException, view to drop does not exist | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **fetch_planning_result**
-> FetchPlanningResult fetch_planning_result(prefix, namespace, table, plan_id)
-
-Fetches the result of scan planning for a plan-id
-
-Fetches the result of scan planning for a plan-id. Responses must include a valid status - When \"completed\" the planning operation has produced plan-tasks and file-scan-tasks that must be returned in the response - When \"submitted\" the planning operation has not completed; the client should wait to call this endpoint again to fetch a completed response - When \"failed\" the response must be a valid error response - When \"cancelled\" the plan-id is invalid and should be discarded The response for a \"completed\" planning operation includes two types of tasks (file scan tasks and plan tasks) and both may be included in the response. Tasks must not be included for any other response status.
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.fetch_planning_result import FetchPlanningResult
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.IcebergCatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- table = 'sales' # str | A table name
- plan_id = 'plan_id_example' # str | ID used to track a planning request
-
- try:
- # Fetches the result of scan planning for a plan-id
- api_response = api_instance.fetch_planning_result(prefix, namespace, table, plan_id)
- print("The response of IcebergCatalogAPI->fetch_planning_result:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling IcebergCatalogAPI->fetch_planning_result: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
- **table** | **str**| A table name |
- **plan_id** | **str**| ID used to track a planning request |
-
-### Return type
-
-[**FetchPlanningResult**](FetchPlanningResult.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | Result of fetching a submitted scan planning operation | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - NoSuchPlanIdException, the plan-id does not exist - NoSuchTableException, the table does not exist - NoSuchNamespaceException, the namespace does not exist | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **fetch_scan_tasks**
-> FetchScanTasksResult fetch_scan_tasks(prefix, namespace, table, fetch_scan_tasks_request=fetch_scan_tasks_request)
-
-Fetches result tasks for a plan task
-
-Fetches result tasks for a plan task.
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.fetch_scan_tasks_request import FetchScanTasksRequest
-from polaris.catalog.models.fetch_scan_tasks_result import FetchScanTasksResult
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.IcebergCatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- table = 'sales' # str | A table name
- fetch_scan_tasks_request = polaris.catalog.FetchScanTasksRequest() # FetchScanTasksRequest | (optional)
-
- try:
- # Fetches result tasks for a plan task
- api_response = api_instance.fetch_scan_tasks(prefix, namespace, table, fetch_scan_tasks_request=fetch_scan_tasks_request)
- print("The response of IcebergCatalogAPI->fetch_scan_tasks:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling IcebergCatalogAPI->fetch_scan_tasks: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
- **table** | **str**| A table name |
- **fetch_scan_tasks_request** | [**FetchScanTasksRequest**](FetchScanTasksRequest.md)| | [optional]
-
-### Return type
-
-[**FetchScanTasksResult**](FetchScanTasksResult.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | Result of retrieving additional plan tasks and file scan tasks. | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - NoSuchPlanTaskException, the plan-task does not exist - NoSuchTableException, the table does not exist - NoSuchNamespaceException, the namespace does not exist | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **list_namespaces**
-> ListNamespacesResponse list_namespaces(prefix, page_token=page_token, page_size=page_size, parent=parent)
-
-List namespaces, optionally providing a parent namespace to list underneath
-
-List all namespaces at a certain level, optionally starting from a given parent namespace. If table accounting.tax.paid.info exists, using 'SELECT NAMESPACE IN accounting' would translate into `GET /namespaces?parent=accounting` and must return a namespace, [\"accounting\", \"tax\"] only. Using 'SELECT NAMESPACE IN accounting.tax' would translate into `GET /namespaces?parent=accounting%1Ftax` and must return a namespace, [\"accounting\", \"tax\", \"paid\"]. If `parent` is not provided, all top-level namespaces should be listed.
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.list_namespaces_response import ListNamespacesResponse
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.IcebergCatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- page_token = 'page_token_example' # str | (optional)
- page_size = 56 # int | For servers that support pagination, this signals an upper bound of the number of results that a client will receive. For servers that do not support pagination, clients may receive results larger than the indicated `pageSize`. (optional)
- parent = 'accounting%1Ftax' # str | An optional namespace, underneath which to list namespaces. If not provided or empty, all top-level namespaces should be listed. If parent is a multipart namespace, the parts must be separated by the unit separator (`0x1F`) byte. (optional)
-
- try:
- # List namespaces, optionally providing a parent namespace to list underneath
- api_response = api_instance.list_namespaces(prefix, page_token=page_token, page_size=page_size, parent=parent)
- print("The response of IcebergCatalogAPI->list_namespaces:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling IcebergCatalogAPI->list_namespaces: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **page_token** | **str**| | [optional]
- **page_size** | **int**| For servers that support pagination, this signals an upper bound of the number of results that a client will receive. For servers that do not support pagination, clients may receive results larger than the indicated `pageSize`. | [optional]
- **parent** | **str**| An optional namespace, underneath which to list namespaces. If not provided or empty, all top-level namespaces should be listed. If parent is a multipart namespace, the parts must be separated by the unit separator (`0x1F`) byte. | [optional]
-
-### Return type
-
-[**ListNamespacesResponse**](ListNamespacesResponse.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | A list of namespaces | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - Namespace provided in the `parent` query parameter is not found. | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **list_tables**
-> ListTablesResponse list_tables(prefix, namespace, page_token=page_token, page_size=page_size)
-
-List all table identifiers underneath a given namespace
-
-Return all table identifiers under this namespace
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.list_tables_response import ListTablesResponse
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.IcebergCatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- page_token = 'page_token_example' # str | (optional)
- page_size = 56 # int | For servers that support pagination, this signals an upper bound of the number of results that a client will receive. For servers that do not support pagination, clients may receive results larger than the indicated `pageSize`. (optional)
-
- try:
- # List all table identifiers underneath a given namespace
- api_response = api_instance.list_tables(prefix, namespace, page_token=page_token, page_size=page_size)
- print("The response of IcebergCatalogAPI->list_tables:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling IcebergCatalogAPI->list_tables: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
- **page_token** | **str**| | [optional]
- **page_size** | **int**| For servers that support pagination, this signals an upper bound of the number of results that a client will receive. For servers that do not support pagination, clients may receive results larger than the indicated `pageSize`. | [optional]
-
-### Return type
-
-[**ListTablesResponse**](ListTablesResponse.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | A list of table identifiers | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - The namespace specified does not exist | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **list_views**
-> ListTablesResponse list_views(prefix, namespace, page_token=page_token, page_size=page_size)
-
-List all view identifiers underneath a given namespace
-
-Return all view identifiers under this namespace
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.list_tables_response import ListTablesResponse
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.IcebergCatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- page_token = 'page_token_example' # str | (optional)
- page_size = 56 # int | For servers that support pagination, this signals an upper bound of the number of results that a client will receive. For servers that do not support pagination, clients may receive results larger than the indicated `pageSize`. (optional)
-
- try:
- # List all view identifiers underneath a given namespace
- api_response = api_instance.list_views(prefix, namespace, page_token=page_token, page_size=page_size)
- print("The response of IcebergCatalogAPI->list_views:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling IcebergCatalogAPI->list_views: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
- **page_token** | **str**| | [optional]
- **page_size** | **int**| For servers that support pagination, this signals an upper bound of the number of results that a client will receive. For servers that do not support pagination, clients may receive results larger than the indicated `pageSize`. | [optional]
-
-### Return type
-
-[**ListTablesResponse**](ListTablesResponse.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | A list of table identifiers | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - The namespace specified does not exist | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **load_credentials**
-> LoadCredentialsResponse load_credentials(prefix, namespace, table)
-
-Load vended credentials for a table from the catalog
-
-Load vended credentials for a table from the catalog.
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.load_credentials_response import LoadCredentialsResponse
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.IcebergCatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- table = 'sales' # str | A table name
-
- try:
- # Load vended credentials for a table from the catalog
- api_response = api_instance.load_credentials(prefix, namespace, table)
- print("The response of IcebergCatalogAPI->load_credentials:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling IcebergCatalogAPI->load_credentials: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
- **table** | **str**| A table name |
-
-### Return type
-
-[**LoadCredentialsResponse**](LoadCredentialsResponse.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | Table credentials result when loading credentials for a table | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - NoSuchTableException, table to load credentials for does not exist | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **load_namespace_metadata**
-> GetNamespaceResponse load_namespace_metadata(prefix, namespace)
-
-Load the metadata properties for a namespace
-
-Return all stored metadata properties for a given namespace
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.get_namespace_response import GetNamespaceResponse
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.IcebergCatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
-
- try:
- # Load the metadata properties for a namespace
- api_response = api_instance.load_namespace_metadata(prefix, namespace)
- print("The response of IcebergCatalogAPI->load_namespace_metadata:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling IcebergCatalogAPI->load_namespace_metadata: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
-
-### Return type
-
-[**GetNamespaceResponse**](GetNamespaceResponse.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | Returns a namespace, as well as any properties stored on the namespace if namespace properties are supported by the server. | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - Namespace not found | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **load_table**
-> LoadTableResult load_table(prefix, namespace, table, x_iceberg_access_delegation=x_iceberg_access_delegation, if_none_match=if_none_match, snapshots=snapshots)
-
-Load a table from the catalog
-
-Load a table from the catalog. The response contains both configuration and table metadata. The configuration, if non-empty is used as additional configuration for the table that overrides catalog configuration. For example, this configuration may change the FileIO implementation to be used for the table. The response also contains the table's full metadata, matching the table metadata JSON file. The catalog configuration may contain credentials that should be used for subsequent requests for the table. The configuration key \"token\" is used to pass an access token to be used as a bearer token for table requests. Otherwise, a token may be passed using a RFC 8693 token type as a configuration key. For example, \"urn:ietf:params:oauth:token-type:jwt=\".
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.load_table_result import LoadTableResult
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.IcebergCatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- table = 'sales' # str | A table name
- x_iceberg_access_delegation = 'vended-credentials,remote-signing' # str | Optional signal to the server that the client supports delegated access via a comma-separated list of access mechanisms. The server may choose to supply access via any or none of the requested mechanisms. Specific properties and handling for `vended-credentials` is documented in the `LoadTableResult` schema section of this spec document. The protocol and specification for `remote-signing` is documented in the `s3-signer-open-api.yaml` OpenApi spec in the `aws` module. (optional)
- if_none_match = 'if_none_match_example' # str | An optional header that allows the server to return 304 (Not Modified) if the metadata is current. The content is the value of the ETag received in a CreateTableResponse or LoadTableResponse. (optional)
- snapshots = 'snapshots_example' # str | The snapshots to return in the body of the metadata. Setting the value to `all` would return the full set of snapshots currently valid for the table. Setting the value to `refs` would load all snapshots referenced by branches or tags. Default if no param is provided is `all`. (optional)
-
- try:
- # Load a table from the catalog
- api_response = api_instance.load_table(prefix, namespace, table, x_iceberg_access_delegation=x_iceberg_access_delegation, if_none_match=if_none_match, snapshots=snapshots)
- print("The response of IcebergCatalogAPI->load_table:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling IcebergCatalogAPI->load_table: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
- **table** | **str**| A table name |
- **x_iceberg_access_delegation** | **str**| Optional signal to the server that the client supports delegated access via a comma-separated list of access mechanisms. The server may choose to supply access via any or none of the requested mechanisms. Specific properties and handling for `vended-credentials` is documented in the `LoadTableResult` schema section of this spec document. The protocol and specification for `remote-signing` is documented in the `s3-signer-open-api.yaml` OpenApi spec in the `aws` module. | [optional]
- **if_none_match** | **str**| An optional header that allows the server to return 304 (Not Modified) if the metadata is current. The content is the value of the ETag received in a CreateTableResponse or LoadTableResponse. | [optional]
- **snapshots** | **str**| The snapshots to return in the body of the metadata. Setting the value to `all` would return the full set of snapshots currently valid for the table. Setting the value to `refs` would load all snapshots referenced by branches or tags. Default if no param is provided is `all`. | [optional]
-
-### Return type
-
-[**LoadTableResult**](LoadTableResult.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | Table metadata result when loading a table | * etag -
|
-**304** | Not Modified - Based on the content of the 'If-None-Match' header the table metadata has not changed since. | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - NoSuchTableException, table to load does not exist | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **load_view**
-> LoadViewResult load_view(prefix, namespace, view)
-
-Load a view from the catalog
-
-Load a view from the catalog. The response contains both configuration and view metadata. The configuration, if non-empty is used as additional configuration for the view that overrides catalog configuration. The response also contains the view's full metadata, matching the view metadata JSON file. The catalog configuration may contain credentials that should be used for subsequent requests for the view. The configuration key \"token\" is used to pass an access token to be used as a bearer token for view requests. Otherwise, a token may be passed using a RFC 8693 token type as a configuration key. For example, \"urn:ietf:params:oauth:token-type:jwt=\".
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.load_view_result import LoadViewResult
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.IcebergCatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- view = 'sales' # str | A view name
-
- try:
- # Load a view from the catalog
- api_response = api_instance.load_view(prefix, namespace, view)
- print("The response of IcebergCatalogAPI->load_view:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling IcebergCatalogAPI->load_view: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
- **view** | **str**| A view name |
-
-### Return type
-
-[**LoadViewResult**](LoadViewResult.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | View metadata result when loading a view | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - NoSuchViewException, view to load does not exist | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **namespace_exists**
-> namespace_exists(prefix, namespace)
-
-Check if a namespace exists
-
-Check if a namespace exists. The response does not contain a body.
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.IcebergCatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
-
- try:
- # Check if a namespace exists
- api_instance.namespace_exists(prefix, namespace)
- except Exception as e:
- print("Exception when calling IcebergCatalogAPI->namespace_exists: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**204** | Success, no content | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - Namespace not found | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **plan_table_scan**
-> PlanTableScanResult plan_table_scan(prefix, namespace, table, plan_table_scan_request=plan_table_scan_request)
-
-Submit a scan for planning
-
-Submits a scan for server-side planning. Point-in-time scans are planned by passing snapshot-id to identify the table snapshot to scan. Incremental scans are planned by passing both start-snapshot-id and end-snapshot-id. Requests that include both point in time config properties and incremental config properties are invalid. If the request does not include either incremental or point-in-time config properties, scan planning should produce a point-in-time scan of the latest snapshot in the table's main branch. Responses must include a valid status listed below. A \"cancelled\" status is considered invalid for this endpoint. - When \"completed\" the planning operation has produced plan tasks and file scan tasks that must be returned in the response (not fetched later by calling fetchPlanningResult) - When \"submitted\" the response must include a plan-id used to poll fetchPlanningResult to fetch the planning result when it is ready - When \"failed\" the response must be a valid error response The response for a \"completed\" planning operation includes two types of tasks (file scan tasks and plan tasks) and both may be included in the response. Tasks must not be included for any other response status. Responses that include a plan-id indicate that the service is holding state or performing work for the client. - Clients should use the plan-id to fetch results from fetchPlanningResult when the response status is \"submitted\" - Clients should inform the service if planning results are no longer needed by calling cancelPlanning. Cancellation is not necessary after fetchScanTasks has been used to fetch scan tasks for each plan task.
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.plan_table_scan_request import PlanTableScanRequest
-from polaris.catalog.models.plan_table_scan_result import PlanTableScanResult
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.IcebergCatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- table = 'sales' # str | A table name
- plan_table_scan_request = polaris.catalog.PlanTableScanRequest() # PlanTableScanRequest | (optional)
-
- try:
- # Submit a scan for planning
- api_response = api_instance.plan_table_scan(prefix, namespace, table, plan_table_scan_request=plan_table_scan_request)
- print("The response of IcebergCatalogAPI->plan_table_scan:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling IcebergCatalogAPI->plan_table_scan: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
- **table** | **str**| A table name |
- **plan_table_scan_request** | [**PlanTableScanRequest**](PlanTableScanRequest.md)| | [optional]
-
-### Return type
-
-[**PlanTableScanResult**](PlanTableScanResult.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | Result of submitting a table scan to plan | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - NoSuchTableException, the table does not exist - NoSuchNamespaceException, the namespace does not exist | - |
-**406** | Not Acceptable / Unsupported Operation. The server does not support this operation. | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **register_table**
-> LoadTableResult register_table(prefix, namespace, register_table_request)
-
-Register a table in the given namespace using given metadata file location
-
-Register a table using given metadata file location.
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.load_table_result import LoadTableResult
-from polaris.catalog.models.register_table_request import RegisterTableRequest
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.IcebergCatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- register_table_request = polaris.catalog.RegisterTableRequest() # RegisterTableRequest |
-
- try:
- # Register a table in the given namespace using given metadata file location
- api_response = api_instance.register_table(prefix, namespace, register_table_request)
- print("The response of IcebergCatalogAPI->register_table:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling IcebergCatalogAPI->register_table: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
- **register_table_request** | [**RegisterTableRequest**](RegisterTableRequest.md)| |
-
-### Return type
-
-[**LoadTableResult**](LoadTableResult.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | Table metadata result when loading a table | * etag -
|
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - The namespace specified does not exist | - |
-**409** | Conflict - The table already exists | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **rename_table**
-> rename_table(prefix, rename_table_request)
-
-Rename a table from its current name to a new name
-
-Rename a table from one identifier to another. It's valid to move a table across namespaces, but the server implementation is not required to support it.
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.rename_table_request import RenameTableRequest
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.IcebergCatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- rename_table_request = polaris.catalog.RenameTableRequest() # RenameTableRequest | Current table identifier to rename and new table identifier to rename to
-
- try:
- # Rename a table from its current name to a new name
- api_instance.rename_table(prefix, rename_table_request)
- except Exception as e:
- print("Exception when calling IcebergCatalogAPI->rename_table: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **rename_table_request** | [**RenameTableRequest**](RenameTableRequest.md)| Current table identifier to rename and new table identifier to rename to |
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**204** | Success, no content | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - NoSuchTableException, Table to rename does not exist - NoSuchNamespaceException, The target namespace of the new table identifier does not exist | - |
-**406** | Not Acceptable / Unsupported Operation. The server does not support this operation. | - |
-**409** | Conflict - The target identifier to rename to already exists as a table or view | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **rename_view**
-> rename_view(prefix, rename_table_request)
-
-Rename a view from its current name to a new name
-
-Rename a view from one identifier to another. It's valid to move a view across namespaces, but the server implementation is not required to support it.
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.rename_table_request import RenameTableRequest
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.IcebergCatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- rename_table_request = polaris.catalog.RenameTableRequest() # RenameTableRequest | Current view identifier to rename and new view identifier to rename to
-
- try:
- # Rename a view from its current name to a new name
- api_instance.rename_view(prefix, rename_table_request)
- except Exception as e:
- print("Exception when calling IcebergCatalogAPI->rename_view: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **rename_table_request** | [**RenameTableRequest**](RenameTableRequest.md)| Current view identifier to rename and new view identifier to rename to |
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**204** | Success, no content | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - NoSuchViewException, view to rename does not exist - NoSuchNamespaceException, The target namespace of the new identifier does not exist | - |
-**406** | Not Acceptable / Unsupported Operation. The server does not support this operation. | - |
-**409** | Conflict - The target identifier to rename to already exists as a table or view | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **replace_view**
-> LoadViewResult replace_view(prefix, namespace, view, commit_view_request)
-
-Replace a view
-
-Commit updates to a view.
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.commit_view_request import CommitViewRequest
-from polaris.catalog.models.load_view_result import LoadViewResult
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.IcebergCatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- view = 'sales' # str | A view name
- commit_view_request = polaris.catalog.CommitViewRequest() # CommitViewRequest |
-
- try:
- # Replace a view
- api_response = api_instance.replace_view(prefix, namespace, view, commit_view_request)
- print("The response of IcebergCatalogAPI->replace_view:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling IcebergCatalogAPI->replace_view: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
- **view** | **str**| A view name |
- **commit_view_request** | [**CommitViewRequest**](CommitViewRequest.md)| |
-
-### Return type
-
-[**LoadViewResult**](LoadViewResult.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | View metadata result when loading a view | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - NoSuchViewException, view to load does not exist | - |
-**409** | Conflict - CommitFailedException. The client may retry. | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**500** | An unknown server-side problem occurred; the commit state is unknown. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**502** | A gateway or proxy received an invalid response from the upstream server; the commit state is unknown. | - |
-**504** | A server-side gateway timeout occurred; the commit state is unknown. | - |
-**5XX** | A server-side problem that might not be addressable on the client. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **report_metrics**
-> report_metrics(prefix, namespace, table, report_metrics_request)
-
-Send a metrics report to this endpoint to be processed by the backend
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.report_metrics_request import ReportMetricsRequest
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.IcebergCatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- table = 'sales' # str | A table name
- report_metrics_request = polaris.catalog.ReportMetricsRequest() # ReportMetricsRequest | The request containing the metrics report to be sent
-
- try:
- # Send a metrics report to this endpoint to be processed by the backend
- api_instance.report_metrics(prefix, namespace, table, report_metrics_request)
- except Exception as e:
- print("Exception when calling IcebergCatalogAPI->report_metrics: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
- **table** | **str**| A table name |
- **report_metrics_request** | [**ReportMetricsRequest**](ReportMetricsRequest.md)| The request containing the metrics report to be sent |
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**204** | Success, no content | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - NoSuchTableException, table to load does not exist | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **table_exists**
-> table_exists(prefix, namespace, table)
-
-Check if a table exists
-
-Check if a table exists within a given namespace. The response does not contain a body.
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.IcebergCatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- table = 'sales' # str | A table name
-
- try:
- # Check if a table exists
- api_instance.table_exists(prefix, namespace, table)
- except Exception as e:
- print("Exception when calling IcebergCatalogAPI->table_exists: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
- **table** | **str**| A table name |
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**204** | Success, no content | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - NoSuchTableException, Table not found | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **update_properties**
-> UpdateNamespacePropertiesResponse update_properties(prefix, namespace, update_namespace_properties_request)
-
-Set or remove properties on a namespace
-
-Set and/or remove properties on a namespace. The request body specifies a list of properties to remove and a map of key value pairs to update. Properties that are not in the request are not modified or removed by this call. Server implementations are not required to support namespace properties.
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.update_namespace_properties_request import UpdateNamespacePropertiesRequest
-from polaris.catalog.models.update_namespace_properties_response import UpdateNamespacePropertiesResponse
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.IcebergCatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- update_namespace_properties_request = polaris.catalog.UpdateNamespacePropertiesRequest() # UpdateNamespacePropertiesRequest |
-
- try:
- # Set or remove properties on a namespace
- api_response = api_instance.update_properties(prefix, namespace, update_namespace_properties_request)
- print("The response of IcebergCatalogAPI->update_properties:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling IcebergCatalogAPI->update_properties: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
- **update_namespace_properties_request** | [**UpdateNamespacePropertiesRequest**](UpdateNamespacePropertiesRequest.md)| |
-
-### Return type
-
-[**UpdateNamespacePropertiesResponse**](UpdateNamespacePropertiesResponse.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | JSON data response for a synchronous update properties request. | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - Namespace not found | - |
-**406** | Not Acceptable / Unsupported Operation. The server does not support this operation. | - |
-**422** | Unprocessable Entity - A property key was included in both `removals` and `updates` | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **update_table**
-> CommitTableResponse update_table(prefix, namespace, table, commit_table_request)
-
-Commit updates to a table
-
-Commit updates to a table. Commits have two parts, requirements and updates. Requirements are assertions that will be validated before attempting to make and commit changes. For example, `assert-ref-snapshot-id` will check that a named ref's snapshot ID has a certain value. Server implementations are required to fail with a 400 status code if any unknown updates or requirements are received. Updates are changes to make to table metadata. For example, after asserting that the current main ref is at the expected snapshot, a commit may add a new child snapshot and set the ref to the new snapshot id. Create table transactions that are started by createTable with `stage-create` set to true are committed using this route. Transactions should include all changes to the table, including table initialization, like AddSchemaUpdate and SetCurrentSchemaUpdate. The `assert-create` requirement is used to ensure that the table was not created concurrently.
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.commit_table_request import CommitTableRequest
-from polaris.catalog.models.commit_table_response import CommitTableResponse
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.IcebergCatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- table = 'sales' # str | A table name
- commit_table_request = polaris.catalog.CommitTableRequest() # CommitTableRequest |
-
- try:
- # Commit updates to a table
- api_response = api_instance.update_table(prefix, namespace, table, commit_table_request)
- print("The response of IcebergCatalogAPI->update_table:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling IcebergCatalogAPI->update_table: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
- **table** | **str**| A table name |
- **commit_table_request** | [**CommitTableRequest**](CommitTableRequest.md)| |
-
-### Return type
-
-[**CommitTableResponse**](CommitTableResponse.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | Response used when a table is successfully updated. The table metadata JSON is returned in the metadata field. The corresponding file location of table metadata must be returned in the metadata-location field. Clients can check whether metadata has changed by comparing metadata locations. | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - NoSuchTableException, table to load does not exist | - |
-**409** | Conflict - CommitFailedException, one or more requirements failed. The client may retry. | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**500** | An unknown server-side problem occurred; the commit state is unknown. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**502** | A gateway or proxy received an invalid response from the upstream server; the commit state is unknown. | - |
-**504** | A server-side gateway timeout occurred; the commit state is unknown. | - |
-**5XX** | A server-side problem that might not be addressable on the client. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **view_exists**
-> view_exists(prefix, namespace, view)
-
-Check if a view exists
-
-Check if a view exists within a given namespace. This request does not return a response body.
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.IcebergCatalogAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- view = 'sales' # str | A view name
-
- try:
- # Check if a view exists
- api_instance.view_exists(prefix, namespace, view)
- except Exception as e:
- print("Exception when calling IcebergCatalogAPI->view_exists: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
- **view** | **str**| A view name |
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**204** | Success, no content | - |
-**400** | Bad Request | - |
-**401** | Unauthorized | - |
-**404** | Not Found | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
diff --git a/client/python/docs/IcebergConfigurationAPI.md b/client/python/docs/IcebergConfigurationAPI.md
deleted file mode 100644
index eaada8968a..0000000000
--- a/client/python/docs/IcebergConfigurationAPI.md
+++ /dev/null
@@ -1,116 +0,0 @@
-
-# polaris.catalog.IcebergConfigurationAPI
-
-All URIs are relative to *https://localhost*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**get_config**](IcebergConfigurationAPI.md#get_config) | **GET** /v1/config | List all catalog configuration settings
-
-
-# **get_config**
-> CatalogConfig get_config(warehouse=warehouse)
-
-List all catalog configuration settings
-
- All REST clients should first call this route to get catalog configuration properties from the server to configure the catalog and its HTTP client. Configuration from the server consists of two sets of key/value pairs. - defaults - properties that should be used as default configuration; applied before client configuration - overrides - properties that should be used to override client configuration; applied after defaults and client configuration Catalog configuration is constructed by setting the defaults, then client- provided configuration, and finally overrides. The final property set is then used to configure the catalog. For example, a default configuration property might set the size of the client pool, which can be replaced with a client-specific setting. An override might be used to set the warehouse location, which is stored on the server rather than in client configuration. Common catalog configuration settings are documented at https://iceberg.apache.org/docs/latest/configuration/#catalog-properties The catalog configuration also holds an optional `endpoints` field that contains information about the endpoints supported by the server. If a server does not send the `endpoints` field, a default set of endpoints is assumed: - GET /v1/{prefix}/namespaces - POST /v1/{prefix}/namespaces - GET /v1/{prefix}/namespaces/{namespace} - DELETE /v1/{prefix}/namespaces/{namespace} - POST /v1/{prefix}/namespaces/{namespace}/properties - GET /v1/{prefix}/namespaces/{namespace}/tables - POST /v1/{prefix}/namespaces/{namespace}/tables - GET /v1/{prefix}/namespaces/{namespace}/tables/{table} - POST /v1/{prefix}/namespaces/{namespace}/tables/{table} - DELETE /v1/{prefix}/namespaces/{namespace}/tables/{table} - POST /v1/{prefix}/namespaces/{namespace}/register - POST /v1/{prefix}/namespaces/{namespace}/tables/{table}/metrics - POST /v1/{prefix}/tables/rename - POST /v1/{prefix}/transactions/commit
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.catalog_config import CatalogConfig
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.IcebergConfigurationAPI(api_client)
- warehouse = 'warehouse_example' # str | Warehouse location or identifier to request from the service (optional)
-
- try:
- # List all catalog configuration settings
- api_response = api_instance.get_config(warehouse=warehouse)
- print("The response of IcebergConfigurationAPI->get_config:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling IcebergConfigurationAPI->get_config: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **warehouse** | **str**| Warehouse location or identifier to request from the service | [optional]
-
-### Return type
-
-[**CatalogConfig**](CatalogConfig.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | Server specified configuration values. | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**419** | Credentials have timed out. If possible, the client should refresh credentials and retry. | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
diff --git a/client/python/docs/IcebergErrorResponse.md b/client/python/docs/IcebergErrorResponse.md
deleted file mode 100644
index 81446f0fbc..0000000000
--- a/client/python/docs/IcebergErrorResponse.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# IcebergErrorResponse
-
-JSON wrapper for all error responses (non-2xx)
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**error** | [**ErrorModel**](ErrorModel.md) | |
-
-## Example
-
-```python
-from polaris.catalog.models.iceberg_error_response import IcebergErrorResponse
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of IcebergErrorResponse from a JSON string
-iceberg_error_response_instance = IcebergErrorResponse.from_json(json)
-# print the JSON string representation of the object
-print(IcebergErrorResponse.to_json())
-
-# convert the object into a dict
-iceberg_error_response_dict = iceberg_error_response_instance.to_dict()
-# create an instance of IcebergErrorResponse from a dict
-iceberg_error_response_from_dict = IcebergErrorResponse.from_dict(iceberg_error_response_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/IcebergErrorResponse1.md b/client/python/docs/IcebergErrorResponse1.md
deleted file mode 100644
index 2e2dbf24e1..0000000000
--- a/client/python/docs/IcebergErrorResponse1.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# IcebergErrorResponse1
-
-JSON wrapper for all error responses (non-2xx)
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**error** | [**ErrorModel**](ErrorModel.md) | |
-
-## Example
-
-```python
-from polaris.catalog.models.iceberg_error_response1 import IcebergErrorResponse1
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of IcebergErrorResponse1 from a JSON string
-iceberg_error_response1_instance = IcebergErrorResponse1.from_json(json)
-# print the JSON string representation of the object
-print(IcebergErrorResponse1.to_json())
-
-# convert the object into a dict
-iceberg_error_response1_dict = iceberg_error_response1_instance.to_dict()
-# create an instance of IcebergErrorResponse1 from a dict
-iceberg_error_response1_from_dict = IcebergErrorResponse1.from_dict(iceberg_error_response1_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/IcebergOAuth2API.md b/client/python/docs/IcebergOAuth2API.md
deleted file mode 100644
index b93d99b325..0000000000
--- a/client/python/docs/IcebergOAuth2API.md
+++ /dev/null
@@ -1,130 +0,0 @@
-
-# polaris.catalog.IcebergOAuth2API
-
-All URIs are relative to *https://localhost*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**get_token**](IcebergOAuth2API.md#get_token) | **POST** /v1/oauth/tokens | Get a token using an OAuth2 flow (DEPRECATED for REMOVAL)
-
-
-# **get_token**
-> OAuthTokenResponse get_token(grant_type=grant_type, scope=scope, client_id=client_id, client_secret=client_secret, requested_token_type=requested_token_type, subject_token=subject_token, subject_token_type=subject_token_type, actor_token=actor_token, actor_token_type=actor_token_type)
-
-Get a token using an OAuth2 flow (DEPRECATED for REMOVAL)
-
-The `oauth/tokens` endpoint is **DEPRECATED for REMOVAL**. It is _not_ recommended to implement this endpoint, unless you are fully aware of the potential security implications. All clients are encouraged to explicitly set the configuration property `oauth2-server-uri` to the correct OAuth endpoint. Deprecated since Iceberg (Java) 1.6.0. The endpoint and related types will be removed from this spec in Iceberg (Java) 2.0. See [Security improvements in the Iceberg REST specification](https://github.com/apache/iceberg/issues/10537) Exchange credentials for a token using the OAuth2 client credentials flow or token exchange. This endpoint is used for three purposes - 1. To exchange client credentials (client ID and secret) for an access token This uses the client credentials flow. 2. To exchange a client token and an identity token for a more specific access token This uses the token exchange flow. 3. To exchange an access token for one with the same claims and a refreshed expiration period This uses the token exchange flow. For example, a catalog client may be configured with client credentials from the OAuth2 Authorization flow. This client would exchange its client ID and secret for an access token using the client credentials request with this endpoint (1). Subsequent requests would then use that access token. Some clients may also handle sessions that have additional user context. These clients would use the token exchange flow to exchange a user token (the \"subject\" token) from the session for a more specific access token for that user, using the catalog's access token as the \"actor\" token (2). The user ID token is the \"subject\" token and can be any token type allowed by the OAuth2 token exchange flow, including a unsecured JWT token with a sub claim. This request should use the catalog's bearer token in the \"Authorization\" header. Clients may also use the token exchange flow to refresh a token that is about to expire by sending a token exchange request (3). The request's \"subject\" token should be the expiring token. This request should use the subject token in the \"Authorization\" header.
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.o_auth_token_response import OAuthTokenResponse
-from polaris.catalog.models.token_type import TokenType
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.IcebergOAuth2API(api_client)
- grant_type = 'grant_type_example' # str | (optional)
- scope = 'scope_example' # str | (optional)
- client_id = 'client_id_example' # str | Client ID This can be sent in the request body, but OAuth2 recommends sending it in a Basic Authorization header. (optional)
- client_secret = 'client_secret_example' # str | Client secret This can be sent in the request body, but OAuth2 recommends sending it in a Basic Authorization header. (optional)
- requested_token_type = polaris.catalog.TokenType() # TokenType | (optional)
- subject_token = 'subject_token_example' # str | Subject token for token exchange request (optional)
- subject_token_type = polaris.catalog.TokenType() # TokenType | (optional)
- actor_token = 'actor_token_example' # str | Actor token for token exchange request (optional)
- actor_token_type = polaris.catalog.TokenType() # TokenType | (optional)
-
- try:
- # Get a token using an OAuth2 flow (DEPRECATED for REMOVAL)
- api_response = api_instance.get_token(grant_type=grant_type, scope=scope, client_id=client_id, client_secret=client_secret, requested_token_type=requested_token_type, subject_token=subject_token, subject_token_type=subject_token_type, actor_token=actor_token, actor_token_type=actor_token_type)
- print("The response of IcebergOAuth2API->get_token:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling IcebergOAuth2API->get_token: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **grant_type** | **str**| | [optional]
- **scope** | **str**| | [optional]
- **client_id** | **str**| Client ID This can be sent in the request body, but OAuth2 recommends sending it in a Basic Authorization header. | [optional]
- **client_secret** | **str**| Client secret This can be sent in the request body, but OAuth2 recommends sending it in a Basic Authorization header. | [optional]
- **requested_token_type** | [**TokenType**](TokenType.md)| | [optional]
- **subject_token** | **str**| Subject token for token exchange request | [optional]
- **subject_token_type** | [**TokenType**](TokenType.md)| | [optional]
- **actor_token** | **str**| Actor token for token exchange request | [optional]
- **actor_token_type** | [**TokenType**](TokenType.md)| | [optional]
-
-### Return type
-
-[**OAuthTokenResponse**](OAuthTokenResponse.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/x-www-form-urlencoded
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | OAuth2 token response for client credentials or token exchange | - |
-**400** | OAuth2 error response | - |
-**401** | OAuth2 error response | - |
-**5XX** | OAuth2 error response | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
diff --git a/client/python/docs/IcebergRestConnectionConfigInfo.md b/client/python/docs/IcebergRestConnectionConfigInfo.md
deleted file mode 100644
index 1e018ee01b..0000000000
--- a/client/python/docs/IcebergRestConnectionConfigInfo.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# IcebergRestConnectionConfigInfo
-
-Configuration necessary for connecting to an Iceberg REST Catalog
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**remote_catalog_name** | **str** | The name of a remote catalog instance within the remote catalog service; in some older systems this is specified as the 'warehouse' when multiple logical catalogs are served under the same base uri, and often translates into a 'prefix' added to all REST resource paths | [optional]
-
-## Example
-
-```python
-from polaris.management.models.iceberg_rest_connection_config_info import IcebergRestConnectionConfigInfo
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of IcebergRestConnectionConfigInfo from a JSON string
-iceberg_rest_connection_config_info_instance = IcebergRestConnectionConfigInfo.from_json(json)
-# print the JSON string representation of the object
-print(IcebergRestConnectionConfigInfo.to_json())
-
-# convert the object into a dict
-iceberg_rest_connection_config_info_dict = iceberg_rest_connection_config_info_instance.to_dict()
-# create an instance of IcebergRestConnectionConfigInfo from a dict
-iceberg_rest_connection_config_info_from_dict = IcebergRestConnectionConfigInfo.from_dict(iceberg_rest_connection_config_info_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/ListGenericTablesResponse.md b/client/python/docs/ListGenericTablesResponse.md
deleted file mode 100644
index b601ee6fae..0000000000
--- a/client/python/docs/ListGenericTablesResponse.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# ListGenericTablesResponse
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**next_page_token** | **str** | An opaque token that allows clients to make use of pagination for list APIs (e.g. ListTables). Clients may initiate the first paginated request by sending an empty query parameter `pageToken` to the server. Servers that support pagination should identify the `pageToken` parameter and return a `next-page-token` in the response if there are more results available. After the initial request, the value of `next-page-token` from each response must be used as the `pageToken` parameter value for the next request. The server must return `null` value for the `next-page-token` in the last response. Servers that support pagination must return all results in a single response with the value of `next-page-token` set to `null` if the query parameter `pageToken` is not set in the request. Servers that do not support pagination should ignore the `pageToken` parameter and return all results in a single response. The `next-page-token` must be omitted from the response. Clients must interpret either `null` or missing response value of `next-page-token` as the end of the listing results. | [optional]
-**identifiers** | [**List[TableIdentifier]**](TableIdentifier.md) | | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.list_generic_tables_response import ListGenericTablesResponse
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of ListGenericTablesResponse from a JSON string
-list_generic_tables_response_instance = ListGenericTablesResponse.from_json(json)
-# print the JSON string representation of the object
-print(ListGenericTablesResponse.to_json())
-
-# convert the object into a dict
-list_generic_tables_response_dict = list_generic_tables_response_instance.to_dict()
-# create an instance of ListGenericTablesResponse from a dict
-list_generic_tables_response_from_dict = ListGenericTablesResponse.from_dict(list_generic_tables_response_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/ListNamespacesResponse.md b/client/python/docs/ListNamespacesResponse.md
deleted file mode 100644
index 4f235a060a..0000000000
--- a/client/python/docs/ListNamespacesResponse.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# ListNamespacesResponse
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**next_page_token** | **str** | An opaque token that allows clients to make use of pagination for list APIs (e.g. ListTables). Clients may initiate the first paginated request by sending an empty query parameter `pageToken` to the server. Servers that support pagination should identify the `pageToken` parameter and return a `next-page-token` in the response if there are more results available. After the initial request, the value of `next-page-token` from each response must be used as the `pageToken` parameter value for the next request. The server must return `null` value for the `next-page-token` in the last response. Servers that support pagination must return all results in a single response with the value of `next-page-token` set to `null` if the query parameter `pageToken` is not set in the request. Servers that do not support pagination should ignore the `pageToken` parameter and return all results in a single response. The `next-page-token` must be omitted from the response. Clients must interpret either `null` or missing response value of `next-page-token` as the end of the listing results. | [optional]
-**namespaces** | **List[List[str]]** | | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.list_namespaces_response import ListNamespacesResponse
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of ListNamespacesResponse from a JSON string
-list_namespaces_response_instance = ListNamespacesResponse.from_json(json)
-# print the JSON string representation of the object
-print(ListNamespacesResponse.to_json())
-
-# convert the object into a dict
-list_namespaces_response_dict = list_namespaces_response_instance.to_dict()
-# create an instance of ListNamespacesResponse from a dict
-list_namespaces_response_from_dict = ListNamespacesResponse.from_dict(list_namespaces_response_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/ListPoliciesResponse.md b/client/python/docs/ListPoliciesResponse.md
deleted file mode 100644
index d80d3484f8..0000000000
--- a/client/python/docs/ListPoliciesResponse.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# ListPoliciesResponse
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**next_page_token** | **str** | An opaque token that allows clients to make use of pagination for list APIs (e.g. ListTables). Clients may initiate the first paginated request by sending an empty query parameter `pageToken` to the server. Servers that support pagination should identify the `pageToken` parameter and return a `next-page-token` in the response if there are more results available. After the initial request, the value of `next-page-token` from each response must be used as the `pageToken` parameter value for the next request. The server must return `null` value for the `next-page-token` in the last response. Servers that support pagination must return all results in a single response with the value of `next-page-token` set to `null` if the query parameter `pageToken` is not set in the request. Servers that do not support pagination should ignore the `pageToken` parameter and return all results in a single response. The `next-page-token` must be omitted from the response. Clients must interpret either `null` or missing response value of `next-page-token` as the end of the listing results. | [optional]
-**identifiers** | [**List[PolicyIdentifier]**](PolicyIdentifier.md) | | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.list_policies_response import ListPoliciesResponse
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of ListPoliciesResponse from a JSON string
-list_policies_response_instance = ListPoliciesResponse.from_json(json)
-# print the JSON string representation of the object
-print(ListPoliciesResponse.to_json())
-
-# convert the object into a dict
-list_policies_response_dict = list_policies_response_instance.to_dict()
-# create an instance of ListPoliciesResponse from a dict
-list_policies_response_from_dict = ListPoliciesResponse.from_dict(list_policies_response_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/ListTablesResponse.md b/client/python/docs/ListTablesResponse.md
deleted file mode 100644
index 1ffee15db7..0000000000
--- a/client/python/docs/ListTablesResponse.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# ListTablesResponse
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**next_page_token** | **str** | An opaque token that allows clients to make use of pagination for list APIs (e.g. ListTables). Clients may initiate the first paginated request by sending an empty query parameter `pageToken` to the server. Servers that support pagination should identify the `pageToken` parameter and return a `next-page-token` in the response if there are more results available. After the initial request, the value of `next-page-token` from each response must be used as the `pageToken` parameter value for the next request. The server must return `null` value for the `next-page-token` in the last response. Servers that support pagination must return all results in a single response with the value of `next-page-token` set to `null` if the query parameter `pageToken` is not set in the request. Servers that do not support pagination should ignore the `pageToken` parameter and return all results in a single response. The `next-page-token` must be omitted from the response. Clients must interpret either `null` or missing response value of `next-page-token` as the end of the listing results. | [optional]
-**identifiers** | [**List[TableIdentifier]**](TableIdentifier.md) | | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.list_tables_response import ListTablesResponse
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of ListTablesResponse from a JSON string
-list_tables_response_instance = ListTablesResponse.from_json(json)
-# print the JSON string representation of the object
-print(ListTablesResponse.to_json())
-
-# convert the object into a dict
-list_tables_response_dict = list_tables_response_instance.to_dict()
-# create an instance of ListTablesResponse from a dict
-list_tables_response_from_dict = ListTablesResponse.from_dict(list_tables_response_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/ListType.md b/client/python/docs/ListType.md
deleted file mode 100644
index ae847eb69e..0000000000
--- a/client/python/docs/ListType.md
+++ /dev/null
@@ -1,52 +0,0 @@
-
-# ListType
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**type** | **str** | |
-**element_id** | **int** | |
-**element** | [**Type**](Type.md) | |
-**element_required** | **bool** | |
-
-## Example
-
-```python
-from polaris.catalog.models.list_type import ListType
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of ListType from a JSON string
-list_type_instance = ListType.from_json(json)
-# print the JSON string representation of the object
-print(ListType.to_json())
-
-# convert the object into a dict
-list_type_dict = list_type_instance.to_dict()
-# create an instance of ListType from a dict
-list_type_from_dict = ListType.from_dict(list_type_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/LiteralExpression.md b/client/python/docs/LiteralExpression.md
deleted file mode 100644
index e047570cf3..0000000000
--- a/client/python/docs/LiteralExpression.md
+++ /dev/null
@@ -1,51 +0,0 @@
-
-# LiteralExpression
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**type** | **str** | |
-**term** | [**Term**](Term.md) | |
-**value** | **object** | |
-
-## Example
-
-```python
-from polaris.catalog.models.literal_expression import LiteralExpression
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of LiteralExpression from a JSON string
-literal_expression_instance = LiteralExpression.from_json(json)
-# print the JSON string representation of the object
-print(LiteralExpression.to_json())
-
-# convert the object into a dict
-literal_expression_dict = literal_expression_instance.to_dict()
-# create an instance of LiteralExpression from a dict
-literal_expression_from_dict = LiteralExpression.from_dict(literal_expression_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/LoadCredentialsResponse.md b/client/python/docs/LoadCredentialsResponse.md
deleted file mode 100644
index 562af36d30..0000000000
--- a/client/python/docs/LoadCredentialsResponse.md
+++ /dev/null
@@ -1,49 +0,0 @@
-
-# LoadCredentialsResponse
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**storage_credentials** | [**List[StorageCredential]**](StorageCredential.md) | |
-
-## Example
-
-```python
-from polaris.catalog.models.load_credentials_response import LoadCredentialsResponse
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of LoadCredentialsResponse from a JSON string
-load_credentials_response_instance = LoadCredentialsResponse.from_json(json)
-# print the JSON string representation of the object
-print(LoadCredentialsResponse.to_json())
-
-# convert the object into a dict
-load_credentials_response_dict = load_credentials_response_instance.to_dict()
-# create an instance of LoadCredentialsResponse from a dict
-load_credentials_response_from_dict = LoadCredentialsResponse.from_dict(load_credentials_response_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/LoadGenericTableResponse.md b/client/python/docs/LoadGenericTableResponse.md
deleted file mode 100644
index 86899ee5cd..0000000000
--- a/client/python/docs/LoadGenericTableResponse.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# LoadGenericTableResponse
-
-Result used when a table is successfully loaded.
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**table** | [**GenericTable**](GenericTable.md) | |
-
-## Example
-
-```python
-from polaris.catalog.models.load_generic_table_response import LoadGenericTableResponse
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of LoadGenericTableResponse from a JSON string
-load_generic_table_response_instance = LoadGenericTableResponse.from_json(json)
-# print the JSON string representation of the object
-print(LoadGenericTableResponse.to_json())
-
-# convert the object into a dict
-load_generic_table_response_dict = load_generic_table_response_instance.to_dict()
-# create an instance of LoadGenericTableResponse from a dict
-load_generic_table_response_from_dict = LoadGenericTableResponse.from_dict(load_generic_table_response_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/LoadPolicyResponse.md b/client/python/docs/LoadPolicyResponse.md
deleted file mode 100644
index 30283bd55c..0000000000
--- a/client/python/docs/LoadPolicyResponse.md
+++ /dev/null
@@ -1,49 +0,0 @@
-
-# LoadPolicyResponse
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**policy** | [**Policy**](Policy.md) | | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.load_policy_response import LoadPolicyResponse
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of LoadPolicyResponse from a JSON string
-load_policy_response_instance = LoadPolicyResponse.from_json(json)
-# print the JSON string representation of the object
-print(LoadPolicyResponse.to_json())
-
-# convert the object into a dict
-load_policy_response_dict = load_policy_response_instance.to_dict()
-# create an instance of LoadPolicyResponse from a dict
-load_policy_response_from_dict = LoadPolicyResponse.from_dict(load_policy_response_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/LoadTableResult.md b/client/python/docs/LoadTableResult.md
deleted file mode 100644
index bbb8789ca7..0000000000
--- a/client/python/docs/LoadTableResult.md
+++ /dev/null
@@ -1,53 +0,0 @@
-
-# LoadTableResult
-
-Result used when a table is successfully loaded. The table metadata JSON is returned in the `metadata` field. The corresponding file location of table metadata should be returned in the `metadata-location` field, unless the metadata is not yet committed. For example, a create transaction may return metadata that is staged but not committed. Clients can check whether metadata has changed by comparing metadata locations after the table has been created. The `config` map returns table-specific configuration for the table's resources, including its HTTP client and FileIO. For example, config may contain a specific FileIO implementation class for the table depending on its underlying storage. The following configurations should be respected by clients: ## General Configurations - `token`: Authorization bearer token to use for table requests if OAuth2 security is enabled ## AWS Configurations The following configurations should be respected when working with tables stored in AWS S3 - `client.region`: region to configure client for making requests to AWS - `s3.access-key-id`: id for credentials that provide access to the data in S3 - `s3.secret-access-key`: secret for credentials that provide access to data in S3 - `s3.session-token`: if present, this value should be used for as the session token - `s3.remote-signing-enabled`: if `true` remote signing should be performed as described in the `s3-signer-open-api.yaml` specification - `s3.cross-region-access-enabled`: if `true`, S3 Cross-Region bucket access is enabled ## Storage Credentials Credentials for ADLS / GCS / S3 / ... are provided through the `storage-credentials` field. Clients must first check whether the respective credentials exist in the `storage-credentials` field before checking the `config` for credentials.
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**metadata_location** | **str** | May be null if the table is staged as part of a transaction | [optional]
-**metadata** | [**TableMetadata**](TableMetadata.md) | |
-**config** | **Dict[str, str]** | | [optional]
-**storage_credentials** | [**List[StorageCredential]**](StorageCredential.md) | | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.load_table_result import LoadTableResult
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of LoadTableResult from a JSON string
-load_table_result_instance = LoadTableResult.from_json(json)
-# print the JSON string representation of the object
-print(LoadTableResult.to_json())
-
-# convert the object into a dict
-load_table_result_dict = load_table_result_instance.to_dict()
-# create an instance of LoadTableResult from a dict
-load_table_result_from_dict = LoadTableResult.from_dict(load_table_result_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/LoadViewResult.md b/client/python/docs/LoadViewResult.md
deleted file mode 100644
index 0c537bcae7..0000000000
--- a/client/python/docs/LoadViewResult.md
+++ /dev/null
@@ -1,52 +0,0 @@
-
-# LoadViewResult
-
-Result used when a view is successfully loaded. The view metadata JSON is returned in the `metadata` field. The corresponding file location of view metadata is returned in the `metadata-location` field. Clients can check whether metadata has changed by comparing metadata locations after the view has been created. The `config` map returns view-specific configuration for the view's resources. The following configurations should be respected by clients: ## General Configurations - `token`: Authorization bearer token to use for view requests if OAuth2 security is enabled
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**metadata_location** | **str** | |
-**metadata** | [**ViewMetadata**](ViewMetadata.md) | |
-**config** | **Dict[str, str]** | | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.load_view_result import LoadViewResult
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of LoadViewResult from a JSON string
-load_view_result_instance = LoadViewResult.from_json(json)
-# print the JSON string representation of the object
-print(LoadViewResult.to_json())
-
-# convert the object into a dict
-load_view_result_dict = load_view_result_instance.to_dict()
-# create an instance of LoadViewResult from a dict
-load_view_result_from_dict = LoadViewResult.from_dict(load_view_result_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/MapType.md b/client/python/docs/MapType.md
deleted file mode 100644
index 26ad4cda0d..0000000000
--- a/client/python/docs/MapType.md
+++ /dev/null
@@ -1,54 +0,0 @@
-
-# MapType
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**type** | **str** | |
-**key_id** | **int** | |
-**key** | [**Type**](Type.md) | |
-**value_id** | **int** | |
-**value** | [**Type**](Type.md) | |
-**value_required** | **bool** | |
-
-## Example
-
-```python
-from polaris.catalog.models.map_type import MapType
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of MapType from a JSON string
-map_type_instance = MapType.from_json(json)
-# print the JSON string representation of the object
-print(MapType.to_json())
-
-# convert the object into a dict
-map_type_dict = map_type_instance.to_dict()
-# create an instance of MapType from a dict
-map_type_from_dict = MapType.from_dict(map_type_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/MetadataLogInner.md b/client/python/docs/MetadataLogInner.md
deleted file mode 100644
index 2c2897c777..0000000000
--- a/client/python/docs/MetadataLogInner.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# MetadataLogInner
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**metadata_file** | **str** | |
-**timestamp_ms** | **int** | |
-
-## Example
-
-```python
-from polaris.catalog.models.metadata_log_inner import MetadataLogInner
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of MetadataLogInner from a JSON string
-metadata_log_inner_instance = MetadataLogInner.from_json(json)
-# print the JSON string representation of the object
-print(MetadataLogInner.to_json())
-
-# convert the object into a dict
-metadata_log_inner_dict = metadata_log_inner_instance.to_dict()
-# create an instance of MetadataLogInner from a dict
-metadata_log_inner_from_dict = MetadataLogInner.from_dict(metadata_log_inner_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/MetricResult.md b/client/python/docs/MetricResult.md
deleted file mode 100644
index 23e90d47f7..0000000000
--- a/client/python/docs/MetricResult.md
+++ /dev/null
@@ -1,53 +0,0 @@
-
-# MetricResult
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**unit** | **str** | |
-**value** | **int** | |
-**time_unit** | **str** | |
-**count** | **int** | |
-**total_duration** | **int** | |
-
-## Example
-
-```python
-from polaris.catalog.models.metric_result import MetricResult
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of MetricResult from a JSON string
-metric_result_instance = MetricResult.from_json(json)
-# print the JSON string representation of the object
-print(MetricResult.to_json())
-
-# convert the object into a dict
-metric_result_dict = metric_result_instance.to_dict()
-# create an instance of MetricResult from a dict
-metric_result_from_dict = MetricResult.from_dict(metric_result_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/ModelSchema.md b/client/python/docs/ModelSchema.md
deleted file mode 100644
index 7a54e5b237..0000000000
--- a/client/python/docs/ModelSchema.md
+++ /dev/null
@@ -1,52 +0,0 @@
-
-# ModelSchema
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**type** | **str** | |
-**fields** | [**List[StructField]**](StructField.md) | |
-**schema_id** | **int** | | [optional] [readonly]
-**identifier_field_ids** | **List[int]** | | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.model_schema import ModelSchema
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of ModelSchema from a JSON string
-model_schema_instance = ModelSchema.from_json(json)
-# print the JSON string representation of the object
-print(ModelSchema.to_json())
-
-# convert the object into a dict
-model_schema_dict = model_schema_instance.to_dict()
-# create an instance of ModelSchema from a dict
-model_schema_from_dict = ModelSchema.from_dict(model_schema_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/NamespaceGrant.md b/client/python/docs/NamespaceGrant.md
deleted file mode 100644
index 7c8d248820..0000000000
--- a/client/python/docs/NamespaceGrant.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# NamespaceGrant
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**namespace** | **List[str]** | |
-**privilege** | [**NamespacePrivilege**](NamespacePrivilege.md) | |
-
-## Example
-
-```python
-from polaris.management.models.namespace_grant import NamespaceGrant
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of NamespaceGrant from a JSON string
-namespace_grant_instance = NamespaceGrant.from_json(json)
-# print the JSON string representation of the object
-print(NamespaceGrant.to_json())
-
-# convert the object into a dict
-namespace_grant_dict = namespace_grant_instance.to_dict()
-# create an instance of NamespaceGrant from a dict
-namespace_grant_from_dict = NamespaceGrant.from_dict(namespace_grant_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/NamespacePrivilege.md b/client/python/docs/NamespacePrivilege.md
deleted file mode 100644
index 7c406a7fdf..0000000000
--- a/client/python/docs/NamespacePrivilege.md
+++ /dev/null
@@ -1,90 +0,0 @@
-
-# NamespacePrivilege
-
-
-## Enum
-
-* `CATALOG_MANAGE_ACCESS` (value: `'CATALOG_MANAGE_ACCESS'`)
-
-* `CATALOG_MANAGE_CONTENT` (value: `'CATALOG_MANAGE_CONTENT'`)
-
-* `CATALOG_MANAGE_METADATA` (value: `'CATALOG_MANAGE_METADATA'`)
-
-* `NAMESPACE_CREATE` (value: `'NAMESPACE_CREATE'`)
-
-* `TABLE_CREATE` (value: `'TABLE_CREATE'`)
-
-* `VIEW_CREATE` (value: `'VIEW_CREATE'`)
-
-* `NAMESPACE_DROP` (value: `'NAMESPACE_DROP'`)
-
-* `TABLE_DROP` (value: `'TABLE_DROP'`)
-
-* `VIEW_DROP` (value: `'VIEW_DROP'`)
-
-* `NAMESPACE_LIST` (value: `'NAMESPACE_LIST'`)
-
-* `TABLE_LIST` (value: `'TABLE_LIST'`)
-
-* `VIEW_LIST` (value: `'VIEW_LIST'`)
-
-* `NAMESPACE_READ_PROPERTIES` (value: `'NAMESPACE_READ_PROPERTIES'`)
-
-* `TABLE_READ_PROPERTIES` (value: `'TABLE_READ_PROPERTIES'`)
-
-* `VIEW_READ_PROPERTIES` (value: `'VIEW_READ_PROPERTIES'`)
-
-* `NAMESPACE_WRITE_PROPERTIES` (value: `'NAMESPACE_WRITE_PROPERTIES'`)
-
-* `TABLE_WRITE_PROPERTIES` (value: `'TABLE_WRITE_PROPERTIES'`)
-
-* `VIEW_WRITE_PROPERTIES` (value: `'VIEW_WRITE_PROPERTIES'`)
-
-* `TABLE_READ_DATA` (value: `'TABLE_READ_DATA'`)
-
-* `TABLE_WRITE_DATA` (value: `'TABLE_WRITE_DATA'`)
-
-* `NAMESPACE_FULL_METADATA` (value: `'NAMESPACE_FULL_METADATA'`)
-
-* `TABLE_FULL_METADATA` (value: `'TABLE_FULL_METADATA'`)
-
-* `VIEW_FULL_METADATA` (value: `'VIEW_FULL_METADATA'`)
-
-* `POLICY_CREATE` (value: `'POLICY_CREATE'`)
-
-* `POLICY_WRITE` (value: `'POLICY_WRITE'`)
-
-* `POLICY_READ` (value: `'POLICY_READ'`)
-
-* `POLICY_DROP` (value: `'POLICY_DROP'`)
-
-* `POLICY_LIST` (value: `'POLICY_LIST'`)
-
-* `POLICY_FULL_METADATA` (value: `'POLICY_FULL_METADATA'`)
-
-* `NAMESPACE_ATTACH_POLICY` (value: `'NAMESPACE_ATTACH_POLICY'`)
-
-* `NAMESPACE_DETACH_POLICY` (value: `'NAMESPACE_DETACH_POLICY'`)
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/NotExpression.md b/client/python/docs/NotExpression.md
deleted file mode 100644
index 9e8ce70e01..0000000000
--- a/client/python/docs/NotExpression.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# NotExpression
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**type** | **str** | |
-**child** | [**Expression**](Expression.md) | |
-
-## Example
-
-```python
-from polaris.catalog.models.not_expression import NotExpression
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of NotExpression from a JSON string
-not_expression_instance = NotExpression.from_json(json)
-# print the JSON string representation of the object
-print(NotExpression.to_json())
-
-# convert the object into a dict
-not_expression_dict = not_expression_instance.to_dict()
-# create an instance of NotExpression from a dict
-not_expression_from_dict = NotExpression.from_dict(not_expression_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/NotificationRequest.md b/client/python/docs/NotificationRequest.md
deleted file mode 100644
index e0b67e5e99..0000000000
--- a/client/python/docs/NotificationRequest.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# NotificationRequest
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**notification_type** | [**NotificationType**](NotificationType.md) | |
-**payload** | [**TableUpdateNotification**](TableUpdateNotification.md) | |
-
-## Example
-
-```python
-from polaris.catalog.models.notification_request import NotificationRequest
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of NotificationRequest from a JSON string
-notification_request_instance = NotificationRequest.from_json(json)
-# print the JSON string representation of the object
-print(NotificationRequest.to_json())
-
-# convert the object into a dict
-notification_request_dict = notification_request_instance.to_dict()
-# create an instance of NotificationRequest from a dict
-notification_request_from_dict = NotificationRequest.from_dict(notification_request_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/NotificationType.md b/client/python/docs/NotificationType.md
deleted file mode 100644
index 6a19b717bd..0000000000
--- a/client/python/docs/NotificationType.md
+++ /dev/null
@@ -1,38 +0,0 @@
-
-# NotificationType
-
-
-## Enum
-
-* `UNKNOWN` (value: `'UNKNOWN'`)
-
-* `CREATE` (value: `'CREATE'`)
-
-* `UPDATE` (value: `'UPDATE'`)
-
-* `DROP` (value: `'DROP'`)
-
-* `VALIDATE` (value: `'VALIDATE'`)
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/NullOrder.md b/client/python/docs/NullOrder.md
deleted file mode 100644
index 8af4ead9ec..0000000000
--- a/client/python/docs/NullOrder.md
+++ /dev/null
@@ -1,32 +0,0 @@
-
-# NullOrder
-
-
-## Enum
-
-* `NULLS_MINUS_FIRST` (value: `'nulls-first'`)
-
-* `NULLS_MINUS_LAST` (value: `'nulls-last'`)
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/OAuth2API.md b/client/python/docs/OAuth2API.md
deleted file mode 100644
index 9e25d433b7..0000000000
--- a/client/python/docs/OAuth2API.md
+++ /dev/null
@@ -1,129 +0,0 @@
-
-# polaris.catalog.OAuth2API
-
-All URIs are relative to *https://localhost*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**get_token**](OAuth2API.md#get_token) | **POST** /v1/oauth/tokens | Get a token using an OAuth2 flow (DEPRECATED for REMOVAL)
-
-
-# **get_token**
-> OAuthTokenResponse get_token(authorization=authorization, grant_type=grant_type, scope=scope, client_id=client_id, client_secret=client_secret, requested_token_type=requested_token_type, subject_token=subject_token, subject_token_type=subject_token_type, actor_token=actor_token, actor_token_type=actor_token_type)
-
-Get a token using an OAuth2 flow (DEPRECATED for REMOVAL)
-
-The `oauth/tokens` endpoint is **DEPRECATED for REMOVAL**. It is _not_ recommended to implement this endpoint, unless you are fully aware of the potential security implications. All clients are encouraged to explicitly set the configuration property `oauth2-server-uri` to the correct OAuth endpoint. Deprecated since Iceberg (Java) 1.6.0. The endpoint and related types will be removed from this spec in Iceberg (Java) 2.0. See [Security improvements in the Iceberg REST specification](https://github.com/apache/iceberg/issues/10537) Exchange credentials for a token using the OAuth2 client credentials flow or token exchange. This endpoint is used for three purposes - 1. To exchange client credentials (client ID and secret) for an access token This uses the client credentials flow. 2. To exchange a client token and an identity token for a more specific access token This uses the token exchange flow. 3. To exchange an access token for one with the same claims and a refreshed expiration period This uses the token exchange flow. For example, a catalog client may be configured with client credentials from the OAuth2 Authorization flow. This client would exchange its client ID and secret for an access token using the client credentials request with this endpoint (1). Subsequent requests would then use that access token. Some clients may also handle sessions that have additional user context. These clients would use the token exchange flow to exchange a user token (the \"subject\" token) from the session for a more specific access token for that user, using the catalog's access token as the \"actor\" token (2). The user ID token is the \"subject\" token and can be any token type allowed by the OAuth2 token exchange flow, including a unsecured JWT token with a sub claim. This request should use the catalog's bearer token in the \"Authorization\" header. Clients may also use the token exchange flow to refresh a token that is about to expire by sending a token exchange request (3). The request's \"subject\" token should be the expiring token. This request should use the subject token in the \"Authorization\" header.
-
-### Example
-
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.o_auth_token_response import OAuthTokenResponse
-from polaris.catalog.models.token_type import TokenType
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.OAuth2API(api_client)
- authorization = 'authorization_example' # str | (optional)
- grant_type = 'grant_type_example' # str | (optional)
- scope = 'scope_example' # str | (optional)
- client_id = 'client_id_example' # str | Client ID This can be sent in the request body, but OAuth2 recommends sending it in a Basic Authorization header. (optional)
- client_secret = 'client_secret_example' # str | Client secret This can be sent in the request body, but OAuth2 recommends sending it in a Basic Authorization header. (optional)
- requested_token_type = polaris.catalog.TokenType() # TokenType | (optional)
- subject_token = 'subject_token_example' # str | Subject token for token exchange request (optional)
- subject_token_type = polaris.catalog.TokenType() # TokenType | (optional)
- actor_token = 'actor_token_example' # str | Actor token for token exchange request (optional)
- actor_token_type = polaris.catalog.TokenType() # TokenType | (optional)
-
- try:
- # Get a token using an OAuth2 flow (DEPRECATED for REMOVAL)
- api_response = api_instance.get_token(authorization=authorization, grant_type=grant_type, scope=scope, client_id=client_id, client_secret=client_secret, requested_token_type=requested_token_type, subject_token=subject_token, subject_token_type=subject_token_type, actor_token=actor_token, actor_token_type=actor_token_type)
- print("The response of OAuth2API->get_token:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling OAuth2API->get_token: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **authorization** | **str**| | [optional]
- **grant_type** | **str**| | [optional]
- **scope** | **str**| | [optional]
- **client_id** | **str**| Client ID This can be sent in the request body, but OAuth2 recommends sending it in a Basic Authorization header. | [optional]
- **client_secret** | **str**| Client secret This can be sent in the request body, but OAuth2 recommends sending it in a Basic Authorization header. | [optional]
- **requested_token_type** | [**TokenType**](TokenType.md)| | [optional]
- **subject_token** | **str**| Subject token for token exchange request | [optional]
- **subject_token_type** | [**TokenType**](TokenType.md)| | [optional]
- **actor_token** | **str**| Actor token for token exchange request | [optional]
- **actor_token_type** | [**TokenType**](TokenType.md)| | [optional]
-
-### Return type
-
-[**OAuthTokenResponse**](OAuthTokenResponse.md)
-
-### Authorization
-
-[BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/x-www-form-urlencoded
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | OAuth2 token response for client credentials or token exchange | - |
-**400** | OAuth2 error response | - |
-**401** | OAuth2 error response | - |
-**5XX** | OAuth2 error response | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
diff --git a/client/python/docs/OAuthClientCredentialsParameters.md b/client/python/docs/OAuthClientCredentialsParameters.md
deleted file mode 100644
index 556429d45b..0000000000
--- a/client/python/docs/OAuthClientCredentialsParameters.md
+++ /dev/null
@@ -1,53 +0,0 @@
-
-# OAuthClientCredentialsParameters
-
-OAuth authentication based on client_id/client_secret
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**token_uri** | **str** | Token server URI | [optional]
-**client_id** | **str** | oauth client id | [optional]
-**client_secret** | **str** | oauth client secret (input-only) | [optional]
-**scopes** | **List[str]** | oauth scopes to specify when exchanging for a short-lived access token | [optional]
-
-## Example
-
-```python
-from polaris.management.models.o_auth_client_credentials_parameters import OAuthClientCredentialsParameters
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of OAuthClientCredentialsParameters from a JSON string
-o_auth_client_credentials_parameters_instance = OAuthClientCredentialsParameters.from_json(json)
-# print the JSON string representation of the object
-print(OAuthClientCredentialsParameters.to_json())
-
-# convert the object into a dict
-o_auth_client_credentials_parameters_dict = o_auth_client_credentials_parameters_instance.to_dict()
-# create an instance of OAuthClientCredentialsParameters from a dict
-o_auth_client_credentials_parameters_from_dict = OAuthClientCredentialsParameters.from_dict(o_auth_client_credentials_parameters_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/OAuthError.md b/client/python/docs/OAuthError.md
deleted file mode 100644
index a5ac2da523..0000000000
--- a/client/python/docs/OAuthError.md
+++ /dev/null
@@ -1,52 +0,0 @@
-
-# OAuthError
-
-The `oauth/tokens` endpoint and related schemas are **DEPRECATED for REMOVAL** from this spec, see description of the endpoint.
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**error** | **str** | |
-**error_description** | **str** | | [optional]
-**error_uri** | **str** | | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.o_auth_error import OAuthError
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of OAuthError from a JSON string
-o_auth_error_instance = OAuthError.from_json(json)
-# print the JSON string representation of the object
-print(OAuthError.to_json())
-
-# convert the object into a dict
-o_auth_error_dict = o_auth_error_instance.to_dict()
-# create an instance of OAuthError from a dict
-o_auth_error_from_dict = OAuthError.from_dict(o_auth_error_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/OAuthTokenResponse.md b/client/python/docs/OAuthTokenResponse.md
deleted file mode 100644
index b7e390f02d..0000000000
--- a/client/python/docs/OAuthTokenResponse.md
+++ /dev/null
@@ -1,55 +0,0 @@
-
-# OAuthTokenResponse
-
-The `oauth/tokens` endpoint and related schemas are **DEPRECATED for REMOVAL** from this spec, see description of the endpoint.
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**access_token** | **str** | The access token, for client credentials or token exchange |
-**token_type** | **str** | Access token type for client credentials or token exchange See https://datatracker.ietf.org/doc/html/rfc6749#section-7.1 |
-**expires_in** | **int** | Lifetime of the access token in seconds for client credentials or token exchange | [optional]
-**issued_token_type** | [**TokenType**](TokenType.md) | | [optional]
-**refresh_token** | **str** | Refresh token for client credentials or token exchange | [optional]
-**scope** | **str** | Authorization scope for client credentials or token exchange | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.o_auth_token_response import OAuthTokenResponse
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of OAuthTokenResponse from a JSON string
-o_auth_token_response_instance = OAuthTokenResponse.from_json(json)
-# print the JSON string representation of the object
-print(OAuthTokenResponse.to_json())
-
-# convert the object into a dict
-o_auth_token_response_dict = o_auth_token_response_instance.to_dict()
-# create an instance of OAuthTokenResponse from a dict
-o_auth_token_response_from_dict = OAuthTokenResponse.from_dict(o_auth_token_response_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/PartitionField.md b/client/python/docs/PartitionField.md
deleted file mode 100644
index b8269635d3..0000000000
--- a/client/python/docs/PartitionField.md
+++ /dev/null
@@ -1,52 +0,0 @@
-
-# PartitionField
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**field_id** | **int** | | [optional]
-**source_id** | **int** | |
-**name** | **str** | |
-**transform** | **str** | |
-
-## Example
-
-```python
-from polaris.catalog.models.partition_field import PartitionField
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of PartitionField from a JSON string
-partition_field_instance = PartitionField.from_json(json)
-# print the JSON string representation of the object
-print(PartitionField.to_json())
-
-# convert the object into a dict
-partition_field_dict = partition_field_instance.to_dict()
-# create an instance of PartitionField from a dict
-partition_field_from_dict = PartitionField.from_dict(partition_field_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/PartitionSpec.md b/client/python/docs/PartitionSpec.md
deleted file mode 100644
index 0953eedd65..0000000000
--- a/client/python/docs/PartitionSpec.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# PartitionSpec
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**spec_id** | **int** | | [optional] [readonly]
-**fields** | [**List[PartitionField]**](PartitionField.md) | |
-
-## Example
-
-```python
-from polaris.catalog.models.partition_spec import PartitionSpec
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of PartitionSpec from a JSON string
-partition_spec_instance = PartitionSpec.from_json(json)
-# print the JSON string representation of the object
-print(PartitionSpec.to_json())
-
-# convert the object into a dict
-partition_spec_dict = partition_spec_instance.to_dict()
-# create an instance of PartitionSpec from a dict
-partition_spec_from_dict = PartitionSpec.from_dict(partition_spec_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/PartitionStatisticsFile.md b/client/python/docs/PartitionStatisticsFile.md
deleted file mode 100644
index 973c4fdbb7..0000000000
--- a/client/python/docs/PartitionStatisticsFile.md
+++ /dev/null
@@ -1,51 +0,0 @@
-
-# PartitionStatisticsFile
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**snapshot_id** | **int** | |
-**statistics_path** | **str** | |
-**file_size_in_bytes** | **int** | |
-
-## Example
-
-```python
-from polaris.catalog.models.partition_statistics_file import PartitionStatisticsFile
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of PartitionStatisticsFile from a JSON string
-partition_statistics_file_instance = PartitionStatisticsFile.from_json(json)
-# print the JSON string representation of the object
-print(PartitionStatisticsFile.to_json())
-
-# convert the object into a dict
-partition_statistics_file_dict = partition_statistics_file_instance.to_dict()
-# create an instance of PartitionStatisticsFile from a dict
-partition_statistics_file_from_dict = PartitionStatisticsFile.from_dict(partition_statistics_file_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/PlanStatus.md b/client/python/docs/PlanStatus.md
deleted file mode 100644
index 62ce19a16a..0000000000
--- a/client/python/docs/PlanStatus.md
+++ /dev/null
@@ -1,37 +0,0 @@
-
-# PlanStatus
-
-Status of a server-side planning operation
-
-## Enum
-
-* `COMPLETED` (value: `'completed'`)
-
-* `SUBMITTED` (value: `'submitted'`)
-
-* `CANCELLED` (value: `'cancelled'`)
-
-* `FAILED` (value: `'failed'`)
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/PlanTableScanRequest.md b/client/python/docs/PlanTableScanRequest.md
deleted file mode 100644
index c1744738e7..0000000000
--- a/client/python/docs/PlanTableScanRequest.md
+++ /dev/null
@@ -1,56 +0,0 @@
-
-# PlanTableScanRequest
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**snapshot_id** | **int** | Identifier for the snapshot to scan in a point-in-time scan | [optional]
-**select** | **List[str]** | List of selected schema fields | [optional]
-**filter** | [**Expression**](Expression.md) | Expression used to filter the table data | [optional]
-**case_sensitive** | **bool** | Enables case sensitive field matching for filter and select | [optional] [default to True]
-**use_snapshot_schema** | **bool** | Whether to use the schema at the time the snapshot was written. When time travelling, the snapshot schema should be used (true). When scanning a branch, the table schema should be used (false). | [optional] [default to False]
-**start_snapshot_id** | **int** | Starting snapshot ID for an incremental scan (exclusive) | [optional]
-**end_snapshot_id** | **int** | Ending snapshot ID for an incremental scan (inclusive). Required when start-snapshot-id is specified. | [optional]
-**stats_fields** | **List[str]** | List of fields for which the service should send column stats. | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.plan_table_scan_request import PlanTableScanRequest
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of PlanTableScanRequest from a JSON string
-plan_table_scan_request_instance = PlanTableScanRequest.from_json(json)
-# print the JSON string representation of the object
-print(PlanTableScanRequest.to_json())
-
-# convert the object into a dict
-plan_table_scan_request_dict = plan_table_scan_request_instance.to_dict()
-# create an instance of PlanTableScanRequest from a dict
-plan_table_scan_request_from_dict = PlanTableScanRequest.from_dict(plan_table_scan_request_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/PlanTableScanResult.md b/client/python/docs/PlanTableScanResult.md
deleted file mode 100644
index 306d49e4ab..0000000000
--- a/client/python/docs/PlanTableScanResult.md
+++ /dev/null
@@ -1,55 +0,0 @@
-
-# PlanTableScanResult
-
-Result of server-side scan planning for planTableScan
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**delete_files** | [**List[DeleteFile]**](DeleteFile.md) | Delete files referenced by file scan tasks | [optional]
-**file_scan_tasks** | [**List[FileScanTask]**](FileScanTask.md) | | [optional]
-**plan_tasks** | **List[str]** | | [optional]
-**status** | [**PlanStatus**](PlanStatus.md) | |
-**plan_id** | **str** | ID used to track a planning request | [optional]
-**error** | [**ErrorModel**](ErrorModel.md) | |
-
-## Example
-
-```python
-from polaris.catalog.models.plan_table_scan_result import PlanTableScanResult
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of PlanTableScanResult from a JSON string
-plan_table_scan_result_instance = PlanTableScanResult.from_json(json)
-# print the JSON string representation of the object
-print(PlanTableScanResult.to_json())
-
-# convert the object into a dict
-plan_table_scan_result_dict = plan_table_scan_result_instance.to_dict()
-# create an instance of PlanTableScanResult from a dict
-plan_table_scan_result_from_dict = PlanTableScanResult.from_dict(plan_table_scan_result_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/PolarisCatalog.md b/client/python/docs/PolarisCatalog.md
deleted file mode 100644
index c60e0e41e4..0000000000
--- a/client/python/docs/PolarisCatalog.md
+++ /dev/null
@@ -1,49 +0,0 @@
-
-# PolarisCatalog
-
-The base catalog type - this contains all the fields necessary to construct an INTERNAL catalog
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-
-## Example
-
-```python
-from polaris.management.models.polaris_catalog import PolarisCatalog
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of PolarisCatalog from a JSON string
-polaris_catalog_instance = PolarisCatalog.from_json(json)
-# print the JSON string representation of the object
-print(PolarisCatalog.to_json())
-
-# convert the object into a dict
-polaris_catalog_dict = polaris_catalog_instance.to_dict()
-# create an instance of PolarisCatalog from a dict
-polaris_catalog_from_dict = PolarisCatalog.from_dict(polaris_catalog_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/PolarisDefaultApi.md b/client/python/docs/PolarisDefaultApi.md
deleted file mode 100644
index 533cbe99af..0000000000
--- a/client/python/docs/PolarisDefaultApi.md
+++ /dev/null
@@ -1,2494 +0,0 @@
-
-# polaris.management.PolarisDefaultApi
-
-All URIs are relative to *https://localhost/api/management/v1*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**add_grant_to_catalog_role**](PolarisDefaultApi.md#add_grant_to_catalog_role) | **PUT** /catalogs/{catalogName}/catalog-roles/{catalogRoleName}/grants |
-[**assign_catalog_role_to_principal_role**](PolarisDefaultApi.md#assign_catalog_role_to_principal_role) | **PUT** /principal-roles/{principalRoleName}/catalog-roles/{catalogName} |
-[**assign_principal_role**](PolarisDefaultApi.md#assign_principal_role) | **PUT** /principals/{principalName}/principal-roles |
-[**create_catalog**](PolarisDefaultApi.md#create_catalog) | **POST** /catalogs |
-[**create_catalog_role**](PolarisDefaultApi.md#create_catalog_role) | **POST** /catalogs/{catalogName}/catalog-roles |
-[**create_principal**](PolarisDefaultApi.md#create_principal) | **POST** /principals |
-[**create_principal_role**](PolarisDefaultApi.md#create_principal_role) | **POST** /principal-roles |
-[**delete_catalog**](PolarisDefaultApi.md#delete_catalog) | **DELETE** /catalogs/{catalogName} |
-[**delete_catalog_role**](PolarisDefaultApi.md#delete_catalog_role) | **DELETE** /catalogs/{catalogName}/catalog-roles/{catalogRoleName} |
-[**delete_principal**](PolarisDefaultApi.md#delete_principal) | **DELETE** /principals/{principalName} |
-[**delete_principal_role**](PolarisDefaultApi.md#delete_principal_role) | **DELETE** /principal-roles/{principalRoleName} |
-[**get_catalog**](PolarisDefaultApi.md#get_catalog) | **GET** /catalogs/{catalogName} |
-[**get_catalog_role**](PolarisDefaultApi.md#get_catalog_role) | **GET** /catalogs/{catalogName}/catalog-roles/{catalogRoleName} |
-[**get_principal**](PolarisDefaultApi.md#get_principal) | **GET** /principals/{principalName} |
-[**get_principal_role**](PolarisDefaultApi.md#get_principal_role) | **GET** /principal-roles/{principalRoleName} |
-[**list_assignee_principal_roles_for_catalog_role**](PolarisDefaultApi.md#list_assignee_principal_roles_for_catalog_role) | **GET** /catalogs/{catalogName}/catalog-roles/{catalogRoleName}/principal-roles |
-[**list_assignee_principals_for_principal_role**](PolarisDefaultApi.md#list_assignee_principals_for_principal_role) | **GET** /principal-roles/{principalRoleName}/principals |
-[**list_catalog_roles**](PolarisDefaultApi.md#list_catalog_roles) | **GET** /catalogs/{catalogName}/catalog-roles |
-[**list_catalog_roles_for_principal_role**](PolarisDefaultApi.md#list_catalog_roles_for_principal_role) | **GET** /principal-roles/{principalRoleName}/catalog-roles/{catalogName} |
-[**list_catalogs**](PolarisDefaultApi.md#list_catalogs) | **GET** /catalogs |
-[**list_grants_for_catalog_role**](PolarisDefaultApi.md#list_grants_for_catalog_role) | **GET** /catalogs/{catalogName}/catalog-roles/{catalogRoleName}/grants |
-[**list_principal_roles**](PolarisDefaultApi.md#list_principal_roles) | **GET** /principal-roles |
-[**list_principal_roles_assigned**](PolarisDefaultApi.md#list_principal_roles_assigned) | **GET** /principals/{principalName}/principal-roles |
-[**list_principals**](PolarisDefaultApi.md#list_principals) | **GET** /principals |
-[**revoke_catalog_role_from_principal_role**](PolarisDefaultApi.md#revoke_catalog_role_from_principal_role) | **DELETE** /principal-roles/{principalRoleName}/catalog-roles/{catalogName}/{catalogRoleName} |
-[**revoke_grant_from_catalog_role**](PolarisDefaultApi.md#revoke_grant_from_catalog_role) | **POST** /catalogs/{catalogName}/catalog-roles/{catalogRoleName}/grants |
-[**revoke_principal_role**](PolarisDefaultApi.md#revoke_principal_role) | **DELETE** /principals/{principalName}/principal-roles/{principalRoleName} |
-[**rotate_credentials**](PolarisDefaultApi.md#rotate_credentials) | **POST** /principals/{principalName}/rotate |
-[**update_catalog**](PolarisDefaultApi.md#update_catalog) | **PUT** /catalogs/{catalogName} |
-[**update_catalog_role**](PolarisDefaultApi.md#update_catalog_role) | **PUT** /catalogs/{catalogName}/catalog-roles/{catalogRoleName} |
-[**update_principal**](PolarisDefaultApi.md#update_principal) | **PUT** /principals/{principalName} |
-[**update_principal_role**](PolarisDefaultApi.md#update_principal_role) | **PUT** /principal-roles/{principalRoleName} |
-
-
-# **add_grant_to_catalog_role**
-> add_grant_to_catalog_role(catalog_name, catalog_role_name, add_grant_request=add_grant_request)
-
-
-
-Add a new grant to the catalog role
-
-### Example
-
-* OAuth Authentication (OAuth2):
-
-```python
-import polaris.management
-from polaris.management.models.add_grant_request import AddGrantRequest
-from polaris.management.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost/api/management/v1
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.management.Configuration(
- host = "https://localhost/api/management/v1"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Enter a context with an instance of the API client
-with polaris.management.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.management.PolarisDefaultApi(api_client)
- catalog_name = 'catalog_name_example' # str | The name of the catalog where the role will receive the grant
- catalog_role_name = 'catalog_role_name_example' # str | The name of the role receiving the grant (must exist)
- add_grant_request = polaris.management.AddGrantRequest() # AddGrantRequest | (optional)
-
- try:
- api_instance.add_grant_to_catalog_role(catalog_name, catalog_role_name, add_grant_request=add_grant_request)
- except Exception as e:
- print("Exception when calling PolarisDefaultApi->add_grant_to_catalog_role: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **catalog_name** | **str**| The name of the catalog where the role will receive the grant |
- **catalog_role_name** | **str**| The name of the role receiving the grant (must exist) |
- **add_grant_request** | [**AddGrantRequest**](AddGrantRequest.md)| | [optional]
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: Not defined
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**201** | Successful response | - |
-**403** | The principal is not authorized to create grants | - |
-**404** | The catalog or the role does not exist | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **assign_catalog_role_to_principal_role**
-> assign_catalog_role_to_principal_role(principal_role_name, catalog_name, grant_catalog_role_request)
-
-
-
-Assign a catalog role to a principal role
-
-### Example
-
-* OAuth Authentication (OAuth2):
-
-```python
-import polaris.management
-from polaris.management.models.grant_catalog_role_request import GrantCatalogRoleRequest
-from polaris.management.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost/api/management/v1
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.management.Configuration(
- host = "https://localhost/api/management/v1"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Enter a context with an instance of the API client
-with polaris.management.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.management.PolarisDefaultApi(api_client)
- principal_role_name = 'principal_role_name_example' # str | The principal role name
- catalog_name = 'catalog_name_example' # str | The name of the catalog where the catalogRoles reside
- grant_catalog_role_request = polaris.management.GrantCatalogRoleRequest() # GrantCatalogRoleRequest | The principal to create
-
- try:
- api_instance.assign_catalog_role_to_principal_role(principal_role_name, catalog_name, grant_catalog_role_request)
- except Exception as e:
- print("Exception when calling PolarisDefaultApi->assign_catalog_role_to_principal_role: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **principal_role_name** | **str**| The principal role name |
- **catalog_name** | **str**| The name of the catalog where the catalogRoles reside |
- **grant_catalog_role_request** | [**GrantCatalogRoleRequest**](GrantCatalogRoleRequest.md)| The principal to create |
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: Not defined
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**201** | Successful response | - |
-**403** | The caller does not have permission to assign a catalog role | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **assign_principal_role**
-> assign_principal_role(principal_name, grant_principal_role_request)
-
-
-
-Add a role to the principal
-
-### Example
-
-* OAuth Authentication (OAuth2):
-
-```python
-import polaris.management
-from polaris.management.models.grant_principal_role_request import GrantPrincipalRoleRequest
-from polaris.management.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost/api/management/v1
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.management.Configuration(
- host = "https://localhost/api/management/v1"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Enter a context with an instance of the API client
-with polaris.management.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.management.PolarisDefaultApi(api_client)
- principal_name = 'principal_name_example' # str | The name of the target principal
- grant_principal_role_request = polaris.management.GrantPrincipalRoleRequest() # GrantPrincipalRoleRequest | The principal role to assign
-
- try:
- api_instance.assign_principal_role(principal_name, grant_principal_role_request)
- except Exception as e:
- print("Exception when calling PolarisDefaultApi->assign_principal_role: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **principal_name** | **str**| The name of the target principal |
- **grant_principal_role_request** | [**GrantPrincipalRoleRequest**](GrantPrincipalRoleRequest.md)| The principal role to assign |
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: Not defined
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**201** | Successful response | - |
-**403** | The caller does not have permission to add assign a role to the principal | - |
-**404** | The catalog, the principal, or the role does not exist | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **create_catalog**
-> create_catalog(create_catalog_request)
-
-
-
-Add a new Catalog
-
-### Example
-
-* OAuth Authentication (OAuth2):
-
-```python
-import polaris.management
-from polaris.management.models.create_catalog_request import CreateCatalogRequest
-from polaris.management.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost/api/management/v1
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.management.Configuration(
- host = "https://localhost/api/management/v1"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Enter a context with an instance of the API client
-with polaris.management.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.management.PolarisDefaultApi(api_client)
- create_catalog_request = polaris.management.CreateCatalogRequest() # CreateCatalogRequest | The Catalog to create
-
- try:
- api_instance.create_catalog(create_catalog_request)
- except Exception as e:
- print("Exception when calling PolarisDefaultApi->create_catalog: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **create_catalog_request** | [**CreateCatalogRequest**](CreateCatalogRequest.md)| The Catalog to create |
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: Not defined
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**201** | Successful response | - |
-**403** | The caller does not have permission to create a catalog | - |
-**404** | The catalog does not exist | - |
-**409** | A catalog with the specified name already exists | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **create_catalog_role**
-> create_catalog_role(catalog_name, create_catalog_role_request=create_catalog_role_request)
-
-
-
-Create a new role in the catalog
-
-### Example
-
-* OAuth Authentication (OAuth2):
-
-```python
-import polaris.management
-from polaris.management.models.create_catalog_role_request import CreateCatalogRoleRequest
-from polaris.management.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost/api/management/v1
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.management.Configuration(
- host = "https://localhost/api/management/v1"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Enter a context with an instance of the API client
-with polaris.management.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.management.PolarisDefaultApi(api_client)
- catalog_name = 'catalog_name_example' # str | The catalog for which we are reading/updating roles
- create_catalog_role_request = polaris.management.CreateCatalogRoleRequest() # CreateCatalogRoleRequest | (optional)
-
- try:
- api_instance.create_catalog_role(catalog_name, create_catalog_role_request=create_catalog_role_request)
- except Exception as e:
- print("Exception when calling PolarisDefaultApi->create_catalog_role: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **catalog_name** | **str**| The catalog for which we are reading/updating roles |
- **create_catalog_role_request** | [**CreateCatalogRoleRequest**](CreateCatalogRoleRequest.md)| | [optional]
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: Not defined
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**201** | Successful response | - |
-**403** | The principal is not authorized to create roles | - |
-**404** | The catalog does not exist | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **create_principal**
-> PrincipalWithCredentials create_principal(create_principal_request)
-
-
-
-Create a principal
-
-### Example
-
-* OAuth Authentication (OAuth2):
-
-```python
-import polaris.management
-from polaris.management.models.create_principal_request import CreatePrincipalRequest
-from polaris.management.models.principal_with_credentials import PrincipalWithCredentials
-from polaris.management.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost/api/management/v1
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.management.Configuration(
- host = "https://localhost/api/management/v1"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Enter a context with an instance of the API client
-with polaris.management.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.management.PolarisDefaultApi(api_client)
- create_principal_request = polaris.management.CreatePrincipalRequest() # CreatePrincipalRequest | The principal to create
-
- try:
- api_response = api_instance.create_principal(create_principal_request)
- print("The response of PolarisDefaultApi->create_principal:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling PolarisDefaultApi->create_principal: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **create_principal_request** | [**CreatePrincipalRequest**](CreatePrincipalRequest.md)| The principal to create |
-
-### Return type
-
-[**PrincipalWithCredentials**](PrincipalWithCredentials.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**201** | Successful response | - |
-**403** | The caller does not have permission to add a principal | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **create_principal_role**
-> create_principal_role(create_principal_role_request)
-
-
-
-Create a principal role
-
-### Example
-
-* OAuth Authentication (OAuth2):
-
-```python
-import polaris.management
-from polaris.management.models.create_principal_role_request import CreatePrincipalRoleRequest
-from polaris.management.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost/api/management/v1
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.management.Configuration(
- host = "https://localhost/api/management/v1"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Enter a context with an instance of the API client
-with polaris.management.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.management.PolarisDefaultApi(api_client)
- create_principal_role_request = polaris.management.CreatePrincipalRoleRequest() # CreatePrincipalRoleRequest | The principal to create
-
- try:
- api_instance.create_principal_role(create_principal_role_request)
- except Exception as e:
- print("Exception when calling PolarisDefaultApi->create_principal_role: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **create_principal_role_request** | [**CreatePrincipalRoleRequest**](CreatePrincipalRoleRequest.md)| The principal to create |
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: Not defined
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**201** | Successful response | - |
-**403** | The caller does not have permission to add a principal role | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **delete_catalog**
-> delete_catalog(catalog_name)
-
-
-
-Delete an existing catalog. The catalog must be empty.
-
-### Example
-
-* OAuth Authentication (OAuth2):
-
-```python
-import polaris.management
-from polaris.management.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost/api/management/v1
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.management.Configuration(
- host = "https://localhost/api/management/v1"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Enter a context with an instance of the API client
-with polaris.management.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.management.PolarisDefaultApi(api_client)
- catalog_name = 'catalog_name_example' # str | The name of the catalog
-
- try:
- api_instance.delete_catalog(catalog_name)
- except Exception as e:
- print("Exception when calling PolarisDefaultApi->delete_catalog: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **catalog_name** | **str**| The name of the catalog |
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: Not defined
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**204** | Success, no content | - |
-**403** | The caller does not have permission to delete a catalog | - |
-**404** | The catalog does not exist | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **delete_catalog_role**
-> delete_catalog_role(catalog_name, catalog_role_name)
-
-
-
-Delete an existing role from the catalog. All associated grants will also be deleted
-
-### Example
-
-* OAuth Authentication (OAuth2):
-
-```python
-import polaris.management
-from polaris.management.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost/api/management/v1
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.management.Configuration(
- host = "https://localhost/api/management/v1"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Enter a context with an instance of the API client
-with polaris.management.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.management.PolarisDefaultApi(api_client)
- catalog_name = 'catalog_name_example' # str | The catalog for which we are retrieving roles
- catalog_role_name = 'catalog_role_name_example' # str | The name of the role
-
- try:
- api_instance.delete_catalog_role(catalog_name, catalog_role_name)
- except Exception as e:
- print("Exception when calling PolarisDefaultApi->delete_catalog_role: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **catalog_name** | **str**| The catalog for which we are retrieving roles |
- **catalog_role_name** | **str**| The name of the role |
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: Not defined
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**204** | Success, no content | - |
-**403** | The principal is not authorized to delete roles | - |
-**404** | The catalog or the role does not exist | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **delete_principal**
-> delete_principal(principal_name)
-
-
-
-Remove a principal from polaris
-
-### Example
-
-* OAuth Authentication (OAuth2):
-
-```python
-import polaris.management
-from polaris.management.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost/api/management/v1
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.management.Configuration(
- host = "https://localhost/api/management/v1"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Enter a context with an instance of the API client
-with polaris.management.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.management.PolarisDefaultApi(api_client)
- principal_name = 'principal_name_example' # str | The principal name
-
- try:
- api_instance.delete_principal(principal_name)
- except Exception as e:
- print("Exception when calling PolarisDefaultApi->delete_principal: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **principal_name** | **str**| The principal name |
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: Not defined
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**204** | Success, no content | - |
-**403** | The caller does not have permission to delete a principal | - |
-**404** | The principal does not exist | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **delete_principal_role**
-> delete_principal_role(principal_role_name)
-
-
-
-Remove a principal role from polaris
-
-### Example
-
-* OAuth Authentication (OAuth2):
-
-```python
-import polaris.management
-from polaris.management.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost/api/management/v1
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.management.Configuration(
- host = "https://localhost/api/management/v1"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Enter a context with an instance of the API client
-with polaris.management.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.management.PolarisDefaultApi(api_client)
- principal_role_name = 'principal_role_name_example' # str | The principal role name
-
- try:
- api_instance.delete_principal_role(principal_role_name)
- except Exception as e:
- print("Exception when calling PolarisDefaultApi->delete_principal_role: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **principal_role_name** | **str**| The principal role name |
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: Not defined
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**204** | Success, no content | - |
-**403** | The caller does not have permission to delete a principal role | - |
-**404** | The principal role does not exist | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **get_catalog**
-> Catalog get_catalog(catalog_name)
-
-
-
-Get the details of a catalog
-
-### Example
-
-* OAuth Authentication (OAuth2):
-
-```python
-import polaris.management
-from polaris.management.models.catalog import Catalog
-from polaris.management.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost/api/management/v1
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.management.Configuration(
- host = "https://localhost/api/management/v1"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Enter a context with an instance of the API client
-with polaris.management.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.management.PolarisDefaultApi(api_client)
- catalog_name = 'catalog_name_example' # str | The name of the catalog
-
- try:
- api_response = api_instance.get_catalog(catalog_name)
- print("The response of PolarisDefaultApi->get_catalog:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling PolarisDefaultApi->get_catalog: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **catalog_name** | **str**| The name of the catalog |
-
-### Return type
-
-[**Catalog**](Catalog.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | The catalog details | - |
-**403** | The caller does not have permission to read catalog details | - |
-**404** | The catalog does not exist | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **get_catalog_role**
-> CatalogRole get_catalog_role(catalog_name, catalog_role_name)
-
-
-
-Get the details of an existing role
-
-### Example
-
-* OAuth Authentication (OAuth2):
-
-```python
-import polaris.management
-from polaris.management.models.catalog_role import CatalogRole
-from polaris.management.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost/api/management/v1
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.management.Configuration(
- host = "https://localhost/api/management/v1"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Enter a context with an instance of the API client
-with polaris.management.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.management.PolarisDefaultApi(api_client)
- catalog_name = 'catalog_name_example' # str | The catalog for which we are retrieving roles
- catalog_role_name = 'catalog_role_name_example' # str | The name of the role
-
- try:
- api_response = api_instance.get_catalog_role(catalog_name, catalog_role_name)
- print("The response of PolarisDefaultApi->get_catalog_role:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling PolarisDefaultApi->get_catalog_role: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **catalog_name** | **str**| The catalog for which we are retrieving roles |
- **catalog_role_name** | **str**| The name of the role |
-
-### Return type
-
-[**CatalogRole**](CatalogRole.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | The specified role details | - |
-**403** | The principal is not authorized to read role data | - |
-**404** | The catalog or the role does not exist | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **get_principal**
-> Principal get_principal(principal_name)
-
-
-
-Get the principal details
-
-### Example
-
-* OAuth Authentication (OAuth2):
-
-```python
-import polaris.management
-from polaris.management.models.principal import Principal
-from polaris.management.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost/api/management/v1
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.management.Configuration(
- host = "https://localhost/api/management/v1"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Enter a context with an instance of the API client
-with polaris.management.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.management.PolarisDefaultApi(api_client)
- principal_name = 'principal_name_example' # str | The principal name
-
- try:
- api_response = api_instance.get_principal(principal_name)
- print("The response of PolarisDefaultApi->get_principal:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling PolarisDefaultApi->get_principal: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **principal_name** | **str**| The principal name |
-
-### Return type
-
-[**Principal**](Principal.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | The requested principal | - |
-**403** | The caller does not have permission to get principal details | - |
-**404** | The catalog or principal does not exist | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **get_principal_role**
-> PrincipalRole get_principal_role(principal_role_name)
-
-
-
-Get the principal role details
-
-### Example
-
-* OAuth Authentication (OAuth2):
-
-```python
-import polaris.management
-from polaris.management.models.principal_role import PrincipalRole
-from polaris.management.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost/api/management/v1
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.management.Configuration(
- host = "https://localhost/api/management/v1"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Enter a context with an instance of the API client
-with polaris.management.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.management.PolarisDefaultApi(api_client)
- principal_role_name = 'principal_role_name_example' # str | The principal role name
-
- try:
- api_response = api_instance.get_principal_role(principal_role_name)
- print("The response of PolarisDefaultApi->get_principal_role:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling PolarisDefaultApi->get_principal_role: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **principal_role_name** | **str**| The principal role name |
-
-### Return type
-
-[**PrincipalRole**](PrincipalRole.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | The requested principal role | - |
-**403** | The caller does not have permission to get principal role details | - |
-**404** | The principal role does not exist | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **list_assignee_principal_roles_for_catalog_role**
-> PrincipalRoles list_assignee_principal_roles_for_catalog_role(catalog_name, catalog_role_name)
-
-
-
-List the PrincipalRoles to which the target catalog role has been assigned
-
-### Example
-
-* OAuth Authentication (OAuth2):
-
-```python
-import polaris.management
-from polaris.management.models.principal_roles import PrincipalRoles
-from polaris.management.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost/api/management/v1
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.management.Configuration(
- host = "https://localhost/api/management/v1"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Enter a context with an instance of the API client
-with polaris.management.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.management.PolarisDefaultApi(api_client)
- catalog_name = 'catalog_name_example' # str | The name of the catalog where the catalog role resides
- catalog_role_name = 'catalog_role_name_example' # str | The name of the catalog role
-
- try:
- api_response = api_instance.list_assignee_principal_roles_for_catalog_role(catalog_name, catalog_role_name)
- print("The response of PolarisDefaultApi->list_assignee_principal_roles_for_catalog_role:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling PolarisDefaultApi->list_assignee_principal_roles_for_catalog_role: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **catalog_name** | **str**| The name of the catalog where the catalog role resides |
- **catalog_role_name** | **str**| The name of the catalog role |
-
-### Return type
-
-[**PrincipalRoles**](PrincipalRoles.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | List the PrincipalRoles to which the target catalog role has been assigned | - |
-**403** | The caller does not have permission to list principal roles | - |
-**404** | The catalog or catalog role does not exist | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **list_assignee_principals_for_principal_role**
-> Principals list_assignee_principals_for_principal_role(principal_role_name)
-
-
-
-List the Principals to whom the target principal role has been assigned
-
-### Example
-
-* OAuth Authentication (OAuth2):
-
-```python
-import polaris.management
-from polaris.management.models.principals import Principals
-from polaris.management.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost/api/management/v1
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.management.Configuration(
- host = "https://localhost/api/management/v1"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Enter a context with an instance of the API client
-with polaris.management.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.management.PolarisDefaultApi(api_client)
- principal_role_name = 'principal_role_name_example' # str | The principal role name
-
- try:
- api_response = api_instance.list_assignee_principals_for_principal_role(principal_role_name)
- print("The response of PolarisDefaultApi->list_assignee_principals_for_principal_role:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling PolarisDefaultApi->list_assignee_principals_for_principal_role: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **principal_role_name** | **str**| The principal role name |
-
-### Return type
-
-[**Principals**](Principals.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | List the Principals to whom the target principal role has been assigned | - |
-**403** | The caller does not have permission to list principals | - |
-**404** | The principal role does not exist | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **list_catalog_roles**
-> CatalogRoles list_catalog_roles(catalog_name)
-
-
-
-List existing roles in the catalog
-
-### Example
-
-* OAuth Authentication (OAuth2):
-
-```python
-import polaris.management
-from polaris.management.models.catalog_roles import CatalogRoles
-from polaris.management.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost/api/management/v1
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.management.Configuration(
- host = "https://localhost/api/management/v1"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Enter a context with an instance of the API client
-with polaris.management.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.management.PolarisDefaultApi(api_client)
- catalog_name = 'catalog_name_example' # str | The catalog for which we are reading/updating roles
-
- try:
- api_response = api_instance.list_catalog_roles(catalog_name)
- print("The response of PolarisDefaultApi->list_catalog_roles:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling PolarisDefaultApi->list_catalog_roles: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **catalog_name** | **str**| The catalog for which we are reading/updating roles |
-
-### Return type
-
-[**CatalogRoles**](CatalogRoles.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | The list of roles that exist in this catalog | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **list_catalog_roles_for_principal_role**
-> CatalogRoles list_catalog_roles_for_principal_role(principal_role_name, catalog_name)
-
-
-
-Get the catalog roles mapped to the principal role
-
-### Example
-
-* OAuth Authentication (OAuth2):
-
-```python
-import polaris.management
-from polaris.management.models.catalog_roles import CatalogRoles
-from polaris.management.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost/api/management/v1
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.management.Configuration(
- host = "https://localhost/api/management/v1"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Enter a context with an instance of the API client
-with polaris.management.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.management.PolarisDefaultApi(api_client)
- principal_role_name = 'principal_role_name_example' # str | The principal role name
- catalog_name = 'catalog_name_example' # str | The name of the catalog where the catalogRoles reside
-
- try:
- api_response = api_instance.list_catalog_roles_for_principal_role(principal_role_name, catalog_name)
- print("The response of PolarisDefaultApi->list_catalog_roles_for_principal_role:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling PolarisDefaultApi->list_catalog_roles_for_principal_role: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **principal_role_name** | **str**| The principal role name |
- **catalog_name** | **str**| The name of the catalog where the catalogRoles reside |
-
-### Return type
-
-[**CatalogRoles**](CatalogRoles.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | The list of catalog roles mapped to the principal role | - |
-**403** | The caller does not have permission to list catalog roles | - |
-**404** | The principal role does not exist | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **list_catalogs**
-> Catalogs list_catalogs()
-
-
-
-List all catalogs in this polaris service
-
-### Example
-
-* OAuth Authentication (OAuth2):
-
-```python
-import polaris.management
-from polaris.management.models.catalogs import Catalogs
-from polaris.management.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost/api/management/v1
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.management.Configuration(
- host = "https://localhost/api/management/v1"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Enter a context with an instance of the API client
-with polaris.management.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.management.PolarisDefaultApi(api_client)
-
- try:
- api_response = api_instance.list_catalogs()
- print("The response of PolarisDefaultApi->list_catalogs:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling PolarisDefaultApi->list_catalogs: %s\n" % e)
-```
-
-
-
-### Parameters
-
-This endpoint does not need any parameter.
-
-### Return type
-
-[**Catalogs**](Catalogs.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | List of catalogs in the polaris service | - |
-**403** | The caller does not have permission to list catalog details | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **list_grants_for_catalog_role**
-> GrantResources list_grants_for_catalog_role(catalog_name, catalog_role_name)
-
-
-
-List the grants the catalog role holds
-
-### Example
-
-* OAuth Authentication (OAuth2):
-
-```python
-import polaris.management
-from polaris.management.models.grant_resources import GrantResources
-from polaris.management.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost/api/management/v1
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.management.Configuration(
- host = "https://localhost/api/management/v1"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Enter a context with an instance of the API client
-with polaris.management.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.management.PolarisDefaultApi(api_client)
- catalog_name = 'catalog_name_example' # str | The name of the catalog where the role will receive the grant
- catalog_role_name = 'catalog_role_name_example' # str | The name of the role receiving the grant (must exist)
-
- try:
- api_response = api_instance.list_grants_for_catalog_role(catalog_name, catalog_role_name)
- print("The response of PolarisDefaultApi->list_grants_for_catalog_role:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling PolarisDefaultApi->list_grants_for_catalog_role: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **catalog_name** | **str**| The name of the catalog where the role will receive the grant |
- **catalog_role_name** | **str**| The name of the role receiving the grant (must exist) |
-
-### Return type
-
-[**GrantResources**](GrantResources.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | List of all grants given to the role in this catalog | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **list_principal_roles**
-> PrincipalRoles list_principal_roles()
-
-
-
-List the principal roles
-
-### Example
-
-* OAuth Authentication (OAuth2):
-
-```python
-import polaris.management
-from polaris.management.models.principal_roles import PrincipalRoles
-from polaris.management.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost/api/management/v1
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.management.Configuration(
- host = "https://localhost/api/management/v1"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Enter a context with an instance of the API client
-with polaris.management.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.management.PolarisDefaultApi(api_client)
-
- try:
- api_response = api_instance.list_principal_roles()
- print("The response of PolarisDefaultApi->list_principal_roles:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling PolarisDefaultApi->list_principal_roles: %s\n" % e)
-```
-
-
-
-### Parameters
-
-This endpoint does not need any parameter.
-
-### Return type
-
-[**PrincipalRoles**](PrincipalRoles.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | List of principal roles | - |
-**403** | The caller does not have permission to list principal roles | - |
-**404** | The catalog does not exist | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **list_principal_roles_assigned**
-> PrincipalRoles list_principal_roles_assigned(principal_name)
-
-
-
-List the roles assigned to the principal
-
-### Example
-
-* OAuth Authentication (OAuth2):
-
-```python
-import polaris.management
-from polaris.management.models.principal_roles import PrincipalRoles
-from polaris.management.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost/api/management/v1
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.management.Configuration(
- host = "https://localhost/api/management/v1"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Enter a context with an instance of the API client
-with polaris.management.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.management.PolarisDefaultApi(api_client)
- principal_name = 'principal_name_example' # str | The name of the target principal
-
- try:
- api_response = api_instance.list_principal_roles_assigned(principal_name)
- print("The response of PolarisDefaultApi->list_principal_roles_assigned:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling PolarisDefaultApi->list_principal_roles_assigned: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **principal_name** | **str**| The name of the target principal |
-
-### Return type
-
-[**PrincipalRoles**](PrincipalRoles.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | List of roles assigned to this principal | - |
-**403** | The caller does not have permission to list roles | - |
-**404** | The principal or catalog does not exist | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **list_principals**
-> Principals list_principals()
-
-
-
-List the principals for the current catalog
-
-### Example
-
-* OAuth Authentication (OAuth2):
-
-```python
-import polaris.management
-from polaris.management.models.principals import Principals
-from polaris.management.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost/api/management/v1
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.management.Configuration(
- host = "https://localhost/api/management/v1"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Enter a context with an instance of the API client
-with polaris.management.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.management.PolarisDefaultApi(api_client)
-
- try:
- api_response = api_instance.list_principals()
- print("The response of PolarisDefaultApi->list_principals:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling PolarisDefaultApi->list_principals: %s\n" % e)
-```
-
-
-
-### Parameters
-
-This endpoint does not need any parameter.
-
-### Return type
-
-[**Principals**](Principals.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | List of principals for this catalog | - |
-**403** | The caller does not have permission to list catalog admins | - |
-**404** | The catalog does not exist | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **revoke_catalog_role_from_principal_role**
-> revoke_catalog_role_from_principal_role(principal_role_name, catalog_name, catalog_role_name)
-
-
-
-Remove a catalog role from a principal role
-
-### Example
-
-* OAuth Authentication (OAuth2):
-
-```python
-import polaris.management
-from polaris.management.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost/api/management/v1
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.management.Configuration(
- host = "https://localhost/api/management/v1"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Enter a context with an instance of the API client
-with polaris.management.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.management.PolarisDefaultApi(api_client)
- principal_role_name = 'principal_role_name_example' # str | The principal role name
- catalog_name = 'catalog_name_example' # str | The name of the catalog that contains the role to revoke
- catalog_role_name = 'catalog_role_name_example' # str | The name of the catalog role that should be revoked
-
- try:
- api_instance.revoke_catalog_role_from_principal_role(principal_role_name, catalog_name, catalog_role_name)
- except Exception as e:
- print("Exception when calling PolarisDefaultApi->revoke_catalog_role_from_principal_role: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **principal_role_name** | **str**| The principal role name |
- **catalog_name** | **str**| The name of the catalog that contains the role to revoke |
- **catalog_role_name** | **str**| The name of the catalog role that should be revoked |
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: Not defined
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**204** | Success, no content | - |
-**403** | The caller does not have permission to revoke a catalog role | - |
-**404** | The principal role does not exist | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **revoke_grant_from_catalog_role**
-> revoke_grant_from_catalog_role(catalog_name, catalog_role_name, cascade=cascade, revoke_grant_request=revoke_grant_request)
-
-
-
-Delete a specific grant from the role. This may be a subset or a superset of the grants the role has. In case of a subset, the role will retain the grants not specified. If the `cascade` parameter is true, grant revocation will have a cascading effect - that is, if a principal has specific grants on a subresource, and grants are revoked on a parent resource, the grants present on the subresource will be revoked as well. By default, this behavior is disabled and grant revocation only affects the specified resource.
-
-### Example
-
-* OAuth Authentication (OAuth2):
-
-```python
-import polaris.management
-from polaris.management.models.revoke_grant_request import RevokeGrantRequest
-from polaris.management.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost/api/management/v1
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.management.Configuration(
- host = "https://localhost/api/management/v1"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Enter a context with an instance of the API client
-with polaris.management.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.management.PolarisDefaultApi(api_client)
- catalog_name = 'catalog_name_example' # str | The name of the catalog where the role will receive the grant
- catalog_role_name = 'catalog_role_name_example' # str | The name of the role receiving the grant (must exist)
- cascade = False # bool | If true, the grant revocation cascades to all subresources. (optional) (default to False)
- revoke_grant_request = polaris.management.RevokeGrantRequest() # RevokeGrantRequest | (optional)
-
- try:
- api_instance.revoke_grant_from_catalog_role(catalog_name, catalog_role_name, cascade=cascade, revoke_grant_request=revoke_grant_request)
- except Exception as e:
- print("Exception when calling PolarisDefaultApi->revoke_grant_from_catalog_role: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **catalog_name** | **str**| The name of the catalog where the role will receive the grant |
- **catalog_role_name** | **str**| The name of the role receiving the grant (must exist) |
- **cascade** | **bool**| If true, the grant revocation cascades to all subresources. | [optional] [default to False]
- **revoke_grant_request** | [**RevokeGrantRequest**](RevokeGrantRequest.md)| | [optional]
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: Not defined
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**201** | Successful response | - |
-**403** | The principal is not authorized to create grants | - |
-**404** | The catalog or the role does not exist | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **revoke_principal_role**
-> revoke_principal_role(principal_name, principal_role_name)
-
-
-
-Remove a role from a catalog principal
-
-### Example
-
-* OAuth Authentication (OAuth2):
-
-```python
-import polaris.management
-from polaris.management.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost/api/management/v1
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.management.Configuration(
- host = "https://localhost/api/management/v1"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Enter a context with an instance of the API client
-with polaris.management.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.management.PolarisDefaultApi(api_client)
- principal_name = 'principal_name_example' # str | The name of the target principal
- principal_role_name = 'principal_role_name_example' # str | The name of the role
-
- try:
- api_instance.revoke_principal_role(principal_name, principal_role_name)
- except Exception as e:
- print("Exception when calling PolarisDefaultApi->revoke_principal_role: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **principal_name** | **str**| The name of the target principal |
- **principal_role_name** | **str**| The name of the role |
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: Not defined
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**204** | Success, no content | - |
-**403** | The caller does not have permission to remove a role from the principal | - |
-**404** | The catalog or principal does not exist | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **rotate_credentials**
-> PrincipalWithCredentials rotate_credentials(principal_name)
-
-
-
-Rotate a principal's credentials. The new credentials will be returned in the response. This is the only API, aside from createPrincipal, that returns the user's credentials. This API is *not* idempotent.
-
-### Example
-
-* OAuth Authentication (OAuth2):
-
-```python
-import polaris.management
-from polaris.management.models.principal_with_credentials import PrincipalWithCredentials
-from polaris.management.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost/api/management/v1
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.management.Configuration(
- host = "https://localhost/api/management/v1"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Enter a context with an instance of the API client
-with polaris.management.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.management.PolarisDefaultApi(api_client)
- principal_name = 'principal_name_example' # str | The user name
-
- try:
- api_response = api_instance.rotate_credentials(principal_name)
- print("The response of PolarisDefaultApi->rotate_credentials:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling PolarisDefaultApi->rotate_credentials: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **principal_name** | **str**| The user name |
-
-### Return type
-
-[**PrincipalWithCredentials**](PrincipalWithCredentials.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | The principal details along with the newly rotated credentials | - |
-**403** | The caller does not have permission to rotate credentials | - |
-**404** | The principal does not exist | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **update_catalog**
-> Catalog update_catalog(catalog_name, update_catalog_request)
-
-
-
-Update an existing catalog
-
-### Example
-
-* OAuth Authentication (OAuth2):
-
-```python
-import polaris.management
-from polaris.management.models.catalog import Catalog
-from polaris.management.models.update_catalog_request import UpdateCatalogRequest
-from polaris.management.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost/api/management/v1
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.management.Configuration(
- host = "https://localhost/api/management/v1"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Enter a context with an instance of the API client
-with polaris.management.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.management.PolarisDefaultApi(api_client)
- catalog_name = 'catalog_name_example' # str | The name of the catalog
- update_catalog_request = polaris.management.UpdateCatalogRequest() # UpdateCatalogRequest | The catalog details to use in the update
-
- try:
- api_response = api_instance.update_catalog(catalog_name, update_catalog_request)
- print("The response of PolarisDefaultApi->update_catalog:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling PolarisDefaultApi->update_catalog: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **catalog_name** | **str**| The name of the catalog |
- **update_catalog_request** | [**UpdateCatalogRequest**](UpdateCatalogRequest.md)| The catalog details to use in the update |
-
-### Return type
-
-[**Catalog**](Catalog.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | The catalog details | - |
-**403** | The caller does not have permission to update catalog details | - |
-**404** | The catalog does not exist | - |
-**409** | The entity version doesn't match the currentEntityVersion; retry after fetching latest version | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **update_catalog_role**
-> CatalogRole update_catalog_role(catalog_name, catalog_role_name, update_catalog_role_request=update_catalog_role_request)
-
-
-
-Update an existing role in the catalog
-
-### Example
-
-* OAuth Authentication (OAuth2):
-
-```python
-import polaris.management
-from polaris.management.models.catalog_role import CatalogRole
-from polaris.management.models.update_catalog_role_request import UpdateCatalogRoleRequest
-from polaris.management.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost/api/management/v1
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.management.Configuration(
- host = "https://localhost/api/management/v1"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Enter a context with an instance of the API client
-with polaris.management.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.management.PolarisDefaultApi(api_client)
- catalog_name = 'catalog_name_example' # str | The catalog for which we are retrieving roles
- catalog_role_name = 'catalog_role_name_example' # str | The name of the role
- update_catalog_role_request = polaris.management.UpdateCatalogRoleRequest() # UpdateCatalogRoleRequest | (optional)
-
- try:
- api_response = api_instance.update_catalog_role(catalog_name, catalog_role_name, update_catalog_role_request=update_catalog_role_request)
- print("The response of PolarisDefaultApi->update_catalog_role:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling PolarisDefaultApi->update_catalog_role: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **catalog_name** | **str**| The catalog for which we are retrieving roles |
- **catalog_role_name** | **str**| The name of the role |
- **update_catalog_role_request** | [**UpdateCatalogRoleRequest**](UpdateCatalogRoleRequest.md)| | [optional]
-
-### Return type
-
-[**CatalogRole**](CatalogRole.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | The specified role details | - |
-**403** | The principal is not authorized to update roles | - |
-**404** | The catalog or the role does not exist | - |
-**409** | The entity version doesn't match the currentEntityVersion; retry after fetching latest version | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **update_principal**
-> Principal update_principal(principal_name, update_principal_request)
-
-
-
-Update an existing principal
-
-### Example
-
-* OAuth Authentication (OAuth2):
-
-```python
-import polaris.management
-from polaris.management.models.principal import Principal
-from polaris.management.models.update_principal_request import UpdatePrincipalRequest
-from polaris.management.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost/api/management/v1
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.management.Configuration(
- host = "https://localhost/api/management/v1"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Enter a context with an instance of the API client
-with polaris.management.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.management.PolarisDefaultApi(api_client)
- principal_name = 'principal_name_example' # str | The principal name
- update_principal_request = polaris.management.UpdatePrincipalRequest() # UpdatePrincipalRequest | The principal details to use in the update
-
- try:
- api_response = api_instance.update_principal(principal_name, update_principal_request)
- print("The response of PolarisDefaultApi->update_principal:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling PolarisDefaultApi->update_principal: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **principal_name** | **str**| The principal name |
- **update_principal_request** | [**UpdatePrincipalRequest**](UpdatePrincipalRequest.md)| The principal details to use in the update |
-
-### Return type
-
-[**Principal**](Principal.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | The updated principal | - |
-**403** | The caller does not have permission to update principal details | - |
-**404** | The principal does not exist | - |
-**409** | The entity version doesn't match the currentEntityVersion; retry after fetching latest version | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **update_principal_role**
-> PrincipalRole update_principal_role(principal_role_name, update_principal_role_request)
-
-
-
-Update an existing principalRole
-
-### Example
-
-* OAuth Authentication (OAuth2):
-
-```python
-import polaris.management
-from polaris.management.models.principal_role import PrincipalRole
-from polaris.management.models.update_principal_role_request import UpdatePrincipalRoleRequest
-from polaris.management.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost/api/management/v1
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.management.Configuration(
- host = "https://localhost/api/management/v1"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Enter a context with an instance of the API client
-with polaris.management.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.management.PolarisDefaultApi(api_client)
- principal_role_name = 'principal_role_name_example' # str | The principal role name
- update_principal_role_request = polaris.management.UpdatePrincipalRoleRequest() # UpdatePrincipalRoleRequest | The principalRole details to use in the update
-
- try:
- api_response = api_instance.update_principal_role(principal_role_name, update_principal_role_request)
- print("The response of PolarisDefaultApi->update_principal_role:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling PolarisDefaultApi->update_principal_role: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **principal_role_name** | **str**| The principal role name |
- **update_principal_role_request** | [**UpdatePrincipalRoleRequest**](UpdatePrincipalRoleRequest.md)| The principalRole details to use in the update |
-
-### Return type
-
-[**PrincipalRole**](PrincipalRole.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | The updated principal role | - |
-**403** | The caller does not have permission to update principal role details | - |
-**404** | The principal role does not exist | - |
-**409** | The entity version doesn't match the currentEntityVersion; retry after fetching latest version | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
diff --git a/client/python/docs/Policy.md b/client/python/docs/Policy.md
deleted file mode 100644
index 51fa8225cc..0000000000
--- a/client/python/docs/Policy.md
+++ /dev/null
@@ -1,55 +0,0 @@
-
-# Policy
-
-A policy in Apache Polaris defines a set of rules for governing access, data usage, and operational consistency across various catalog resources. Policies are stored within Polaris and can be attached to catalogs, namespaces, tables, or views. For example, they can be used for fine-grained control over who can perform specific actions on certain resources. The policy object includes - **policy-type:** The type of the policy, which determines the expected format and semantics of the policy content. - **inheritable:** A boolean flag indicating whether the policy is inheritable. - **name:** A human-readable name for the policy, which must be unique within a given namespace. - **description:** Detailed description of the purpose and functionalities of the policy. - **content:** Policy content, which can be validated against predefined schemas of a policy type. - **version:** Indicates the current version of the policy. Versions increased monotonically, the default value is 0 Policies stored in Polaris serve as the persistent definition for access control and governance rules.
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**policy_type** | **str** | |
-**inheritable** | **bool** | |
-**name** | **str** | A policy name. A valid policy name should only consist of uppercase and lowercase letters (A-Z, a-z), digits (0-9), hyphens (-), underscores (_). |
-**description** | **str** | | [optional]
-**content** | **str** | | [optional]
-**version** | **int** | |
-
-## Example
-
-```python
-from polaris.catalog.models.policy import Policy
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of Policy from a JSON string
-policy_instance = Policy.from_json(json)
-# print the JSON string representation of the object
-print(Policy.to_json())
-
-# convert the object into a dict
-policy_dict = policy_instance.to_dict()
-# create an instance of Policy from a dict
-policy_from_dict = Policy.from_dict(policy_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/PolicyAPI.md b/client/python/docs/PolicyAPI.md
deleted file mode 100644
index 92684a6c1d..0000000000
--- a/client/python/docs/PolicyAPI.md
+++ /dev/null
@@ -1,780 +0,0 @@
-
-# polaris.catalog.PolicyAPI
-
-All URIs are relative to *https://localhost*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**attach_policy**](PolicyAPI.md#attach_policy) | **PUT** /polaris/v1/{prefix}/namespaces/{namespace}/policies/{policy-name}/mappings | Create a mapping between a policy and a resource entity
-[**create_policy**](PolicyAPI.md#create_policy) | **POST** /polaris/v1/{prefix}/namespaces/{namespace}/policies | Create a policy in the given namespace
-[**detach_policy**](PolicyAPI.md#detach_policy) | **POST** /polaris/v1/{prefix}/namespaces/{namespace}/policies/{policy-name}/mappings | Remove a mapping between a policy and a target entity
-[**drop_policy**](PolicyAPI.md#drop_policy) | **DELETE** /polaris/v1/{prefix}/namespaces/{namespace}/policies/{policy-name} | Drop a policy from the catalog
-[**get_applicable_policies**](PolicyAPI.md#get_applicable_policies) | **GET** /polaris/v1/{prefix}/applicable-policies | Get Applicable policies for catalog, namespace, table, or views
-[**list_policies**](PolicyAPI.md#list_policies) | **GET** /polaris/v1/{prefix}/namespaces/{namespace}/policies | List all policy identifiers underneath a given namespace
-[**load_policy**](PolicyAPI.md#load_policy) | **GET** /polaris/v1/{prefix}/namespaces/{namespace}/policies/{policy-name} | Load a policy
-[**update_policy**](PolicyAPI.md#update_policy) | **PUT** /polaris/v1/{prefix}/namespaces/{namespace}/policies/{policy-name} | Update a policy
-
-
-# **attach_policy**
-> attach_policy(prefix, namespace, policy_name, attach_policy_request)
-
-Create a mapping between a policy and a resource entity
-
-Create a mapping between a policy and a resource entity Policy can be attached to different levels: 1. **Table-like level:** Policies specific to individual tables or views. 2. **Namespace level:** Policies applies to a namespace. 3. **Catalog level:** Policies that applies to a catalog The ability to attach a policy to a specific entity type is governed by the PolicyValidator. A policy can only be attached if the resource entity is a valid target for the specified policy type. In addition to the validation rules enforced by the PolicyValidator, there are additional constraints on policy attachment: 1. For inheritable policies, only one policy of the same type can be attached to a given resource entity. 2. For non-inheritable policies, multiple policies of the same type can be attached to the same resource entity without restriction. For inheritable policies, the inheritance override rule is: 1. Table-like level policies override namespace and catalog policies. 2. Namespace-level policies override upper level namespace or catalog policies. Additional parameters can be provided in `parameters` when creating a mapping to define specific behavior or constraints. If the policy is already attached to the target entity, the existing mapping record will be updated with the new set of parameters, replacing the previous ones.
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.attach_policy_request import AttachPolicyRequest
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.PolicyAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- policy_name = 'policy_name_example' # str |
- attach_policy_request = polaris.catalog.AttachPolicyRequest() # AttachPolicyRequest |
-
- try:
- # Create a mapping between a policy and a resource entity
- api_instance.attach_policy(prefix, namespace, policy_name, attach_policy_request)
- except Exception as e:
- print("Exception when calling PolicyAPI->attach_policy: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
- **policy_name** | **str**| |
- **attach_policy_request** | [**AttachPolicyRequest**](AttachPolicyRequest.md)| |
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**204** | Success, no content | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - NoSuchPolicyException, NoSuchTargetException | - |
-**409** | Conflict - The policy type is inheritable and there is already a policy of the same type attached to the target entity | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **create_policy**
-> LoadPolicyResponse create_policy(prefix, namespace, create_policy_request)
-
-Create a policy in the given namespace
-
-Creates a policy within the specified namespace. A policy defines a set of rules governing actions on specified resources under predefined conditions. In Apache Polaris, policies are created, stored, and later referenced by external engines to enforce access controls on associated resources. User provides the following inputs when creating a policy - `name` (REQUIRED): The name of the policy. - `type` (REQUIRED): The type of the policy. - **Predefined Policies:** policies have a `system.*` prefix in their type, such as `system.data_compaction` - `description` (OPTIONAL): Provides details about the policy's purpose and functionality - `content` (OPTIONAL): Defines the rules that control actions and access conditions on resources. The format can be JSON, SQL, or any other format. The content field in the request body is validated using the policy's corresponding validator. The policy is created only if the content passes validation. Upon successful creation, the new policy's version will be 0.
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.create_policy_request import CreatePolicyRequest
-from polaris.catalog.models.load_policy_response import LoadPolicyResponse
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.PolicyAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- create_policy_request = polaris.catalog.CreatePolicyRequest() # CreatePolicyRequest |
-
- try:
- # Create a policy in the given namespace
- api_response = api_instance.create_policy(prefix, namespace, create_policy_request)
- print("The response of PolicyAPI->create_policy:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling PolicyAPI->create_policy: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
- **create_policy_request** | [**CreatePolicyRequest**](CreatePolicyRequest.md)| |
-
-### Return type
-
-[**LoadPolicyResponse**](LoadPolicyResponse.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | Policy object result after creating a policy | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - The namespace specified does not exist | - |
-**409** | Conflict - The policy already exists under the given namespace | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **detach_policy**
-> detach_policy(prefix, namespace, policy_name, detach_policy_request)
-
-Remove a mapping between a policy and a target entity
-
-Remove a mapping between a policy and a target entity A target entity can be a catalog, namespace, table or view.
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.detach_policy_request import DetachPolicyRequest
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.PolicyAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- policy_name = 'policy_name_example' # str |
- detach_policy_request = polaris.catalog.DetachPolicyRequest() # DetachPolicyRequest |
-
- try:
- # Remove a mapping between a policy and a target entity
- api_instance.detach_policy(prefix, namespace, policy_name, detach_policy_request)
- except Exception as e:
- print("Exception when calling PolicyAPI->detach_policy: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
- **policy_name** | **str**| |
- **detach_policy_request** | [**DetachPolicyRequest**](DetachPolicyRequest.md)| |
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**204** | Success, no content | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - NoSuchPolicyException, NoSuchTargetException, NoSuchMappingException | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **drop_policy**
-> drop_policy(prefix, namespace, policy_name, detach_all=detach_all)
-
-Drop a policy from the catalog
-
-Remove a policy from the catalog. A policy can only be dropped if it is not attached to any resource entity. To remove the policy along with all its attachments, set detach-all to true.
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.PolicyAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- policy_name = 'policy_name_example' # str |
- detach_all = false # bool | When set to true, the dropPolicy operation will also delete all mappings between the policy and its attached target entities. (optional)
-
- try:
- # Drop a policy from the catalog
- api_instance.drop_policy(prefix, namespace, policy_name, detach_all=detach_all)
- except Exception as e:
- print("Exception when calling PolicyAPI->drop_policy: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
- **policy_name** | **str**| |
- **detach_all** | **bool**| When set to true, the dropPolicy operation will also delete all mappings between the policy and its attached target entities. | [optional]
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**204** | Success, no content | - |
-**400** | Bad Request - the policy to be dropped is attached to one or more targets and detach-all is not set to true | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - NoSuchPolicyException, policy to get does not exist | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **get_applicable_policies**
-> GetApplicablePoliciesResponse get_applicable_policies(prefix, page_token=page_token, page_size=page_size, namespace=namespace, target_name=target_name, policy_type=policy_type)
-
-Get Applicable policies for catalog, namespace, table, or views
-
-Retrieves all applicable policies for a specified entity, including inherited policies from parent entities. An entity can be a table/view, namespace, or catalog. The required parameters depend on the entity type: - Table/View: - The `namespace` parameter is required to specify the entity's namespace. - The `target-name` parameter is required to specify the entity name. - Namespace: - The `namespace` parameter is required to specify the identifier. - The `target-name` parameter should not be set. - Catalog: - Neither `namespace` nor `target-name` should be set. An optional policyType parameter filters results to return only policies of the specified type. This API evaluates the entity's hierarchy and applies inheritable policies from parent entities. The inheritance follows the following override rule: 1. Table-like level policies override namespace and catalog policies. 2. Namespace-level policies override upper level namespace or catalog policies.
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.get_applicable_policies_response import GetApplicablePoliciesResponse
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.PolicyAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- page_token = 'page_token_example' # str | (optional)
- page_size = 56 # int | For servers that support pagination, this signals an upper bound of the number of results that a client will receive. For servers that do not support pagination, clients may receive results larger than the indicated `pageSize`. (optional)
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. (optional)
- target_name = 'test_table' # str | Name of the target table/view (optional)
- policy_type = 'policy_type_example' # str | (optional)
-
- try:
- # Get Applicable policies for catalog, namespace, table, or views
- api_response = api_instance.get_applicable_policies(prefix, page_token=page_token, page_size=page_size, namespace=namespace, target_name=target_name, policy_type=policy_type)
- print("The response of PolicyAPI->get_applicable_policies:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling PolicyAPI->get_applicable_policies: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **page_token** | **str**| | [optional]
- **page_size** | **int**| For servers that support pagination, this signals an upper bound of the number of results that a client will receive. For servers that do not support pagination, clients may receive results larger than the indicated `pageSize`. | [optional]
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. | [optional]
- **target_name** | **str**| Name of the target table/view | [optional]
- **policy_type** | **str**| | [optional]
-
-### Return type
-
-[**GetApplicablePoliciesResponse**](GetApplicablePoliciesResponse.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | A list of policies applicable to the table | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - NoSuchTableException, target table does not exist - NoSuchViewException, target view does not exist - NoSuchNamespaceException, target namespace does not exist | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **list_policies**
-> ListPoliciesResponse list_policies(prefix, namespace, page_token=page_token, page_size=page_size, policy_type=policy_type)
-
-List all policy identifiers underneath a given namespace
-
-Return all policy identifiers under this namespace. Users can optionally filter the result by policy type
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.list_policies_response import ListPoliciesResponse
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.PolicyAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- page_token = 'page_token_example' # str | (optional)
- page_size = 56 # int | For servers that support pagination, this signals an upper bound of the number of results that a client will receive. For servers that do not support pagination, clients may receive results larger than the indicated `pageSize`. (optional)
- policy_type = 'policy_type_example' # str | (optional)
-
- try:
- # List all policy identifiers underneath a given namespace
- api_response = api_instance.list_policies(prefix, namespace, page_token=page_token, page_size=page_size, policy_type=policy_type)
- print("The response of PolicyAPI->list_policies:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling PolicyAPI->list_policies: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
- **page_token** | **str**| | [optional]
- **page_size** | **int**| For servers that support pagination, this signals an upper bound of the number of results that a client will receive. For servers that do not support pagination, clients may receive results larger than the indicated `pageSize`. | [optional]
- **policy_type** | **str**| | [optional]
-
-### Return type
-
-[**ListPoliciesResponse**](ListPoliciesResponse.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | a list of policy identifiers | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - The namespace specified does not exist | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **load_policy**
-> LoadPolicyResponse load_policy(prefix, namespace, policy_name)
-
-Load a policy
-
-Load a policy from the catalog The response contains the policy's metadata and content. For more details, refer to the definition of the `Policy` model.
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.load_policy_response import LoadPolicyResponse
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.PolicyAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- policy_name = 'policy_name_example' # str |
-
- try:
- # Load a policy
- api_response = api_instance.load_policy(prefix, namespace, policy_name)
- print("The response of PolicyAPI->load_policy:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling PolicyAPI->load_policy: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
- **policy_name** | **str**| |
-
-### Return type
-
-[**LoadPolicyResponse**](LoadPolicyResponse.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | Policy object result when getting a policy | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - NoSuchPolicyException, policy to get does not exist | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **update_policy**
-> LoadPolicyResponse update_policy(prefix, namespace, policy_name, update_policy_request)
-
-Update a policy
-
-Update a policy A policy's description and content can be updated. The new content is validated against the policy's corresponding validator. Upon a successful update, the policy's version is incremented by 1. The update will only succeed if the current version matches the one in the catalog.
-
-### Example
-
-* OAuth Authentication (OAuth2):
-* Bearer Authentication (BearerAuth):
-
-```python
-import polaris.catalog
-from polaris.catalog.models.load_policy_response import LoadPolicyResponse
-from polaris.catalog.models.update_policy_request import UpdatePolicyRequest
-from polaris.catalog.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost
-# See configuration.py for a list of all supported configuration parameters.
-configuration = polaris.catalog.Configuration(
- host = "https://localhost"
-)
-
-# The client must configure the authentication and authorization parameters
-# in accordance with the API server security policy.
-# Examples for each auth method are provided below, use the example that
-# satisfies your auth use case.
-
-configuration.access_token = os.environ["ACCESS_TOKEN"]
-
-# Configure Bearer authorization: BearerAuth
-configuration = polaris.catalog.Configuration(
- access_token = os.environ["BEARER_TOKEN"]
-)
-
-# Enter a context with an instance of the API client
-with polaris.catalog.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = polaris.catalog.PolicyAPI(api_client)
- prefix = 'prefix_example' # str | An optional prefix in the path
- namespace = 'accounting' # str | A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte.
- policy_name = 'policy_name_example' # str |
- update_policy_request = polaris.catalog.UpdatePolicyRequest() # UpdatePolicyRequest |
-
- try:
- # Update a policy
- api_response = api_instance.update_policy(prefix, namespace, policy_name, update_policy_request)
- print("The response of PolicyAPI->update_policy:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling PolicyAPI->update_policy: %s\n" % e)
-```
-
-
-
-### Parameters
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **prefix** | **str**| An optional prefix in the path |
- **namespace** | **str**| A namespace identifier as a single string. Multipart namespace parts should be separated by the unit separator (`0x1F`) byte. |
- **policy_name** | **str**| |
- **update_policy_request** | [**UpdatePolicyRequest**](UpdatePolicyRequest.md)| |
-
-### Return type
-
-[**LoadPolicyResponse**](LoadPolicyResponse.md)
-
-### Authorization
-
-[OAuth2](../README.md#OAuth2), [BearerAuth](../README.md#BearerAuth)
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | Response used when a policy is successfully updated The updated policy JSON is returned in the policy field | - |
-**400** | Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware. | - |
-**401** | Unauthorized. Authentication is required and has failed or has not yet been provided. | - |
-**403** | Forbidden. Authenticated user does not have the necessary permissions. | - |
-**404** | Not Found - NoSuchPolicyException, policy to get does not exist | - |
-**409** | The policy version doesn't match the current-policy-version; retry after fetching latest version | - |
-**503** | The service is not ready to handle the request. The client should wait and retry. The service may additionally send a Retry-After header to indicate when to retry. | - |
-**5XX** | A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
diff --git a/client/python/docs/PolicyAttachmentTarget.md b/client/python/docs/PolicyAttachmentTarget.md
deleted file mode 100644
index 05c024dc42..0000000000
--- a/client/python/docs/PolicyAttachmentTarget.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# PolicyAttachmentTarget
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**type** | **str** | Policy can be attached to different levels: 1. table-like: Policies specific to individual tables or views. 2. namespace: Policies applies to a namespace. 3. catalog: Policies that applies to a catalog |
-**path** | **List[str]** | A list representing the hierarchical path to the target, ordered from the namespace level down to the entity. If the target is catalog, the path should be either empty or not set. | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.policy_attachment_target import PolicyAttachmentTarget
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of PolicyAttachmentTarget from a JSON string
-policy_attachment_target_instance = PolicyAttachmentTarget.from_json(json)
-# print the JSON string representation of the object
-print(PolicyAttachmentTarget.to_json())
-
-# convert the object into a dict
-policy_attachment_target_dict = policy_attachment_target_instance.to_dict()
-# create an instance of PolicyAttachmentTarget from a dict
-policy_attachment_target_from_dict = PolicyAttachmentTarget.from_dict(policy_attachment_target_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/PolicyGrant.md b/client/python/docs/PolicyGrant.md
deleted file mode 100644
index 7f4a8aadf9..0000000000
--- a/client/python/docs/PolicyGrant.md
+++ /dev/null
@@ -1,51 +0,0 @@
-
-# PolicyGrant
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**namespace** | **List[str]** | |
-**policy_name** | **str** | |
-**privilege** | [**PolicyPrivilege**](PolicyPrivilege.md) | |
-
-## Example
-
-```python
-from polaris.management.models.policy_grant import PolicyGrant
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of PolicyGrant from a JSON string
-policy_grant_instance = PolicyGrant.from_json(json)
-# print the JSON string representation of the object
-print(PolicyGrant.to_json())
-
-# convert the object into a dict
-policy_grant_dict = policy_grant_instance.to_dict()
-# create an instance of PolicyGrant from a dict
-policy_grant_from_dict = PolicyGrant.from_dict(policy_grant_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/PolicyIdentifier.md b/client/python/docs/PolicyIdentifier.md
deleted file mode 100644
index c49a82c549..0000000000
--- a/client/python/docs/PolicyIdentifier.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# PolicyIdentifier
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**namespace** | **List[str]** | Reference to one or more levels of a namespace |
-**name** | **str** | |
-
-## Example
-
-```python
-from polaris.catalog.models.policy_identifier import PolicyIdentifier
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of PolicyIdentifier from a JSON string
-policy_identifier_instance = PolicyIdentifier.from_json(json)
-# print the JSON string representation of the object
-print(PolicyIdentifier.to_json())
-
-# convert the object into a dict
-policy_identifier_dict = policy_identifier_instance.to_dict()
-# create an instance of PolicyIdentifier from a dict
-policy_identifier_from_dict = PolicyIdentifier.from_dict(policy_identifier_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/PolicyPrivilege.md b/client/python/docs/PolicyPrivilege.md
deleted file mode 100644
index 37e92239a5..0000000000
--- a/client/python/docs/PolicyPrivilege.md
+++ /dev/null
@@ -1,44 +0,0 @@
-
-# PolicyPrivilege
-
-
-## Enum
-
-* `CATALOG_MANAGE_ACCESS` (value: `'CATALOG_MANAGE_ACCESS'`)
-
-* `POLICY_READ` (value: `'POLICY_READ'`)
-
-* `POLICY_DROP` (value: `'POLICY_DROP'`)
-
-* `POLICY_WRITE` (value: `'POLICY_WRITE'`)
-
-* `POLICY_LIST` (value: `'POLICY_LIST'`)
-
-* `POLICY_FULL_METADATA` (value: `'POLICY_FULL_METADATA'`)
-
-* `POLICY_ATTACH` (value: `'POLICY_ATTACH'`)
-
-* `POLICY_DETACH` (value: `'POLICY_DETACH'`)
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/PositionDeleteFile.md b/client/python/docs/PositionDeleteFile.md
deleted file mode 100644
index 1d3d3888c0..0000000000
--- a/client/python/docs/PositionDeleteFile.md
+++ /dev/null
@@ -1,51 +0,0 @@
-
-# PositionDeleteFile
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**content** | **str** | |
-**content_offset** | **int** | Offset within the delete file of delete content | [optional]
-**content_size_in_bytes** | **int** | Length, in bytes, of the delete content; required if content-offset is present | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.position_delete_file import PositionDeleteFile
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of PositionDeleteFile from a JSON string
-position_delete_file_instance = PositionDeleteFile.from_json(json)
-# print the JSON string representation of the object
-print(PositionDeleteFile.to_json())
-
-# convert the object into a dict
-position_delete_file_dict = position_delete_file_instance.to_dict()
-# create an instance of PositionDeleteFile from a dict
-position_delete_file_from_dict = PositionDeleteFile.from_dict(position_delete_file_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/PrimitiveTypeValue.md b/client/python/docs/PrimitiveTypeValue.md
deleted file mode 100644
index c442934eb8..0000000000
--- a/client/python/docs/PrimitiveTypeValue.md
+++ /dev/null
@@ -1,48 +0,0 @@
-
-# PrimitiveTypeValue
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-
-## Example
-
-```python
-from polaris.catalog.models.primitive_type_value import PrimitiveTypeValue
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of PrimitiveTypeValue from a JSON string
-primitive_type_value_instance = PrimitiveTypeValue.from_json(json)
-# print the JSON string representation of the object
-print(PrimitiveTypeValue.to_json())
-
-# convert the object into a dict
-primitive_type_value_dict = primitive_type_value_instance.to_dict()
-# create an instance of PrimitiveTypeValue from a dict
-primitive_type_value_from_dict = PrimitiveTypeValue.from_dict(primitive_type_value_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/Principal.md b/client/python/docs/Principal.md
deleted file mode 100644
index ec43495385..0000000000
--- a/client/python/docs/Principal.md
+++ /dev/null
@@ -1,55 +0,0 @@
-
-# Principal
-
-A Polaris principal.
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **str** | |
-**client_id** | **str** | The output-only OAuth clientId associated with this principal if applicable | [optional]
-**properties** | **Dict[str, str]** | | [optional]
-**create_timestamp** | **int** | | [optional]
-**last_update_timestamp** | **int** | | [optional]
-**entity_version** | **int** | The version of the principal object used to determine if the principal metadata has changed | [optional]
-
-## Example
-
-```python
-from polaris.management.models.principal import Principal
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of Principal from a JSON string
-principal_instance = Principal.from_json(json)
-# print the JSON string representation of the object
-print(Principal.to_json())
-
-# convert the object into a dict
-principal_dict = principal_instance.to_dict()
-# create an instance of Principal from a dict
-principal_from_dict = Principal.from_dict(principal_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/PrincipalRole.md b/client/python/docs/PrincipalRole.md
deleted file mode 100644
index 9e1430b6f2..0000000000
--- a/client/python/docs/PrincipalRole.md
+++ /dev/null
@@ -1,54 +0,0 @@
-
-# PrincipalRole
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **str** | The name of the role |
-**federated** | **bool** | Whether the principal role is a federated role (that is, managed by an external identity provider) | [optional] [default to False]
-**properties** | **Dict[str, str]** | | [optional]
-**create_timestamp** | **int** | | [optional]
-**last_update_timestamp** | **int** | | [optional]
-**entity_version** | **int** | The version of the principal role object used to determine if the principal role metadata has changed | [optional]
-
-## Example
-
-```python
-from polaris.management.models.principal_role import PrincipalRole
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of PrincipalRole from a JSON string
-principal_role_instance = PrincipalRole.from_json(json)
-# print the JSON string representation of the object
-print(PrincipalRole.to_json())
-
-# convert the object into a dict
-principal_role_dict = principal_role_instance.to_dict()
-# create an instance of PrincipalRole from a dict
-principal_role_from_dict = PrincipalRole.from_dict(principal_role_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/PrincipalRoles.md b/client/python/docs/PrincipalRoles.md
deleted file mode 100644
index e90c8e6e3a..0000000000
--- a/client/python/docs/PrincipalRoles.md
+++ /dev/null
@@ -1,49 +0,0 @@
-
-# PrincipalRoles
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**roles** | [**List[PrincipalRole]**](PrincipalRole.md) | |
-
-## Example
-
-```python
-from polaris.management.models.principal_roles import PrincipalRoles
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of PrincipalRoles from a JSON string
-principal_roles_instance = PrincipalRoles.from_json(json)
-# print the JSON string representation of the object
-print(PrincipalRoles.to_json())
-
-# convert the object into a dict
-principal_roles_dict = principal_roles_instance.to_dict()
-# create an instance of PrincipalRoles from a dict
-principal_roles_from_dict = PrincipalRoles.from_dict(principal_roles_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/PrincipalWithCredentials.md b/client/python/docs/PrincipalWithCredentials.md
deleted file mode 100644
index 0554a3bd6f..0000000000
--- a/client/python/docs/PrincipalWithCredentials.md
+++ /dev/null
@@ -1,51 +0,0 @@
-
-# PrincipalWithCredentials
-
-A user with its client id and secret. This type is returned when a new principal is created or when its credentials are rotated
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**principal** | [**Principal**](Principal.md) | |
-**credentials** | [**PrincipalWithCredentialsCredentials**](PrincipalWithCredentialsCredentials.md) | |
-
-## Example
-
-```python
-from polaris.management.models.principal_with_credentials import PrincipalWithCredentials
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of PrincipalWithCredentials from a JSON string
-principal_with_credentials_instance = PrincipalWithCredentials.from_json(json)
-# print the JSON string representation of the object
-print(PrincipalWithCredentials.to_json())
-
-# convert the object into a dict
-principal_with_credentials_dict = principal_with_credentials_instance.to_dict()
-# create an instance of PrincipalWithCredentials from a dict
-principal_with_credentials_from_dict = PrincipalWithCredentials.from_dict(principal_with_credentials_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/PrincipalWithCredentialsCredentials.md b/client/python/docs/PrincipalWithCredentialsCredentials.md
deleted file mode 100644
index 063cd05f48..0000000000
--- a/client/python/docs/PrincipalWithCredentialsCredentials.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# PrincipalWithCredentialsCredentials
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**client_id** | **str** | | [optional]
-**client_secret** | **str** | | [optional]
-
-## Example
-
-```python
-from polaris.management.models.principal_with_credentials_credentials import PrincipalWithCredentialsCredentials
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of PrincipalWithCredentialsCredentials from a JSON string
-principal_with_credentials_credentials_instance = PrincipalWithCredentialsCredentials.from_json(json)
-# print the JSON string representation of the object
-print(PrincipalWithCredentialsCredentials.to_json())
-
-# convert the object into a dict
-principal_with_credentials_credentials_dict = principal_with_credentials_credentials_instance.to_dict()
-# create an instance of PrincipalWithCredentialsCredentials from a dict
-principal_with_credentials_credentials_from_dict = PrincipalWithCredentialsCredentials.from_dict(principal_with_credentials_credentials_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/Principals.md b/client/python/docs/Principals.md
deleted file mode 100644
index 5bbfc8f26d..0000000000
--- a/client/python/docs/Principals.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# Principals
-
-A list of Principals
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**principals** | [**List[Principal]**](Principal.md) | |
-
-## Example
-
-```python
-from polaris.management.models.principals import Principals
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of Principals from a JSON string
-principals_instance = Principals.from_json(json)
-# print the JSON string representation of the object
-print(Principals.to_json())
-
-# convert the object into a dict
-principals_dict = principals_instance.to_dict()
-# create an instance of Principals from a dict
-principals_from_dict = Principals.from_dict(principals_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/RegisterTableRequest.md b/client/python/docs/RegisterTableRequest.md
deleted file mode 100644
index a993a3b16c..0000000000
--- a/client/python/docs/RegisterTableRequest.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# RegisterTableRequest
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**name** | **str** | |
-**metadata_location** | **str** | |
-
-## Example
-
-```python
-from polaris.catalog.models.register_table_request import RegisterTableRequest
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of RegisterTableRequest from a JSON string
-register_table_request_instance = RegisterTableRequest.from_json(json)
-# print the JSON string representation of the object
-print(RegisterTableRequest.to_json())
-
-# convert the object into a dict
-register_table_request_dict = register_table_request_instance.to_dict()
-# create an instance of RegisterTableRequest from a dict
-register_table_request_from_dict = RegisterTableRequest.from_dict(register_table_request_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/RemovePartitionSpecsUpdate.md b/client/python/docs/RemovePartitionSpecsUpdate.md
deleted file mode 100644
index 51dc8c38a9..0000000000
--- a/client/python/docs/RemovePartitionSpecsUpdate.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# RemovePartitionSpecsUpdate
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**action** | **str** | | [optional]
-**spec_ids** | **List[int]** | |
-
-## Example
-
-```python
-from polaris.catalog.models.remove_partition_specs_update import RemovePartitionSpecsUpdate
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of RemovePartitionSpecsUpdate from a JSON string
-remove_partition_specs_update_instance = RemovePartitionSpecsUpdate.from_json(json)
-# print the JSON string representation of the object
-print(RemovePartitionSpecsUpdate.to_json())
-
-# convert the object into a dict
-remove_partition_specs_update_dict = remove_partition_specs_update_instance.to_dict()
-# create an instance of RemovePartitionSpecsUpdate from a dict
-remove_partition_specs_update_from_dict = RemovePartitionSpecsUpdate.from_dict(remove_partition_specs_update_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/RemovePartitionStatisticsUpdate.md b/client/python/docs/RemovePartitionStatisticsUpdate.md
deleted file mode 100644
index d01e9a8c6c..0000000000
--- a/client/python/docs/RemovePartitionStatisticsUpdate.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# RemovePartitionStatisticsUpdate
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**action** | **str** | | [optional]
-**snapshot_id** | **int** | |
-
-## Example
-
-```python
-from polaris.catalog.models.remove_partition_statistics_update import RemovePartitionStatisticsUpdate
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of RemovePartitionStatisticsUpdate from a JSON string
-remove_partition_statistics_update_instance = RemovePartitionStatisticsUpdate.from_json(json)
-# print the JSON string representation of the object
-print(RemovePartitionStatisticsUpdate.to_json())
-
-# convert the object into a dict
-remove_partition_statistics_update_dict = remove_partition_statistics_update_instance.to_dict()
-# create an instance of RemovePartitionStatisticsUpdate from a dict
-remove_partition_statistics_update_from_dict = RemovePartitionStatisticsUpdate.from_dict(remove_partition_statistics_update_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/RemovePropertiesUpdate.md b/client/python/docs/RemovePropertiesUpdate.md
deleted file mode 100644
index af2fd5a732..0000000000
--- a/client/python/docs/RemovePropertiesUpdate.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# RemovePropertiesUpdate
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**action** | **str** | | [optional]
-**removals** | **List[str]** | |
-
-## Example
-
-```python
-from polaris.catalog.models.remove_properties_update import RemovePropertiesUpdate
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of RemovePropertiesUpdate from a JSON string
-remove_properties_update_instance = RemovePropertiesUpdate.from_json(json)
-# print the JSON string representation of the object
-print(RemovePropertiesUpdate.to_json())
-
-# convert the object into a dict
-remove_properties_update_dict = remove_properties_update_instance.to_dict()
-# create an instance of RemovePropertiesUpdate from a dict
-remove_properties_update_from_dict = RemovePropertiesUpdate.from_dict(remove_properties_update_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/RemoveSnapshotRefUpdate.md b/client/python/docs/RemoveSnapshotRefUpdate.md
deleted file mode 100644
index 38ba6bd748..0000000000
--- a/client/python/docs/RemoveSnapshotRefUpdate.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# RemoveSnapshotRefUpdate
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**action** | **str** | | [optional]
-**ref_name** | **str** | |
-
-## Example
-
-```python
-from polaris.catalog.models.remove_snapshot_ref_update import RemoveSnapshotRefUpdate
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of RemoveSnapshotRefUpdate from a JSON string
-remove_snapshot_ref_update_instance = RemoveSnapshotRefUpdate.from_json(json)
-# print the JSON string representation of the object
-print(RemoveSnapshotRefUpdate.to_json())
-
-# convert the object into a dict
-remove_snapshot_ref_update_dict = remove_snapshot_ref_update_instance.to_dict()
-# create an instance of RemoveSnapshotRefUpdate from a dict
-remove_snapshot_ref_update_from_dict = RemoveSnapshotRefUpdate.from_dict(remove_snapshot_ref_update_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/RemoveSnapshotsUpdate.md b/client/python/docs/RemoveSnapshotsUpdate.md
deleted file mode 100644
index 6b3ffae49c..0000000000
--- a/client/python/docs/RemoveSnapshotsUpdate.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# RemoveSnapshotsUpdate
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**action** | **str** | | [optional]
-**snapshot_ids** | **List[int]** | |
-
-## Example
-
-```python
-from polaris.catalog.models.remove_snapshots_update import RemoveSnapshotsUpdate
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of RemoveSnapshotsUpdate from a JSON string
-remove_snapshots_update_instance = RemoveSnapshotsUpdate.from_json(json)
-# print the JSON string representation of the object
-print(RemoveSnapshotsUpdate.to_json())
-
-# convert the object into a dict
-remove_snapshots_update_dict = remove_snapshots_update_instance.to_dict()
-# create an instance of RemoveSnapshotsUpdate from a dict
-remove_snapshots_update_from_dict = RemoveSnapshotsUpdate.from_dict(remove_snapshots_update_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/RemoveStatisticsUpdate.md b/client/python/docs/RemoveStatisticsUpdate.md
deleted file mode 100644
index 9ad0239a50..0000000000
--- a/client/python/docs/RemoveStatisticsUpdate.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# RemoveStatisticsUpdate
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**action** | **str** | | [optional]
-**snapshot_id** | **int** | |
-
-## Example
-
-```python
-from polaris.catalog.models.remove_statistics_update import RemoveStatisticsUpdate
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of RemoveStatisticsUpdate from a JSON string
-remove_statistics_update_instance = RemoveStatisticsUpdate.from_json(json)
-# print the JSON string representation of the object
-print(RemoveStatisticsUpdate.to_json())
-
-# convert the object into a dict
-remove_statistics_update_dict = remove_statistics_update_instance.to_dict()
-# create an instance of RemoveStatisticsUpdate from a dict
-remove_statistics_update_from_dict = RemoveStatisticsUpdate.from_dict(remove_statistics_update_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/RenameTableRequest.md b/client/python/docs/RenameTableRequest.md
deleted file mode 100644
index 6ea2b40014..0000000000
--- a/client/python/docs/RenameTableRequest.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# RenameTableRequest
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**source** | [**TableIdentifier**](TableIdentifier.md) | |
-**destination** | [**TableIdentifier**](TableIdentifier.md) | |
-
-## Example
-
-```python
-from polaris.catalog.models.rename_table_request import RenameTableRequest
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of RenameTableRequest from a JSON string
-rename_table_request_instance = RenameTableRequest.from_json(json)
-# print the JSON string representation of the object
-print(RenameTableRequest.to_json())
-
-# convert the object into a dict
-rename_table_request_dict = rename_table_request_instance.to_dict()
-# create an instance of RenameTableRequest from a dict
-rename_table_request_from_dict = RenameTableRequest.from_dict(rename_table_request_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/ReportMetricsRequest.md b/client/python/docs/ReportMetricsRequest.md
deleted file mode 100644
index 5100642eb9..0000000000
--- a/client/python/docs/ReportMetricsRequest.md
+++ /dev/null
@@ -1,59 +0,0 @@
-
-# ReportMetricsRequest
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**report_type** | **str** | |
-**table_name** | **str** | |
-**snapshot_id** | **int** | |
-**filter** | [**Expression**](Expression.md) | |
-**schema_id** | **int** | |
-**projected_field_ids** | **List[int]** | |
-**projected_field_names** | **List[str]** | |
-**metrics** | [**Dict[str, MetricResult]**](MetricResult.md) | |
-**metadata** | **Dict[str, str]** | | [optional]
-**sequence_number** | **int** | |
-**operation** | **str** | |
-
-## Example
-
-```python
-from polaris.catalog.models.report_metrics_request import ReportMetricsRequest
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of ReportMetricsRequest from a JSON string
-report_metrics_request_instance = ReportMetricsRequest.from_json(json)
-# print the JSON string representation of the object
-print(ReportMetricsRequest.to_json())
-
-# convert the object into a dict
-report_metrics_request_dict = report_metrics_request_instance.to_dict()
-# create an instance of ReportMetricsRequest from a dict
-report_metrics_request_from_dict = ReportMetricsRequest.from_dict(report_metrics_request_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/RevokeGrantRequest.md b/client/python/docs/RevokeGrantRequest.md
deleted file mode 100644
index f12c13d024..0000000000
--- a/client/python/docs/RevokeGrantRequest.md
+++ /dev/null
@@ -1,49 +0,0 @@
-
-# RevokeGrantRequest
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**grant** | [**GrantResource**](GrantResource.md) | | [optional]
-
-## Example
-
-```python
-from polaris.management.models.revoke_grant_request import RevokeGrantRequest
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of RevokeGrantRequest from a JSON string
-revoke_grant_request_instance = RevokeGrantRequest.from_json(json)
-# print the JSON string representation of the object
-print(RevokeGrantRequest.to_json())
-
-# convert the object into a dict
-revoke_grant_request_dict = revoke_grant_request_instance.to_dict()
-# create an instance of RevokeGrantRequest from a dict
-revoke_grant_request_from_dict = RevokeGrantRequest.from_dict(revoke_grant_request_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/SQLViewRepresentation.md b/client/python/docs/SQLViewRepresentation.md
deleted file mode 100644
index eef22027f9..0000000000
--- a/client/python/docs/SQLViewRepresentation.md
+++ /dev/null
@@ -1,51 +0,0 @@
-
-# SQLViewRepresentation
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**type** | **str** | |
-**sql** | **str** | |
-**dialect** | **str** | |
-
-## Example
-
-```python
-from polaris.catalog.models.sql_view_representation import SQLViewRepresentation
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of SQLViewRepresentation from a JSON string
-sql_view_representation_instance = SQLViewRepresentation.from_json(json)
-# print the JSON string representation of the object
-print(SQLViewRepresentation.to_json())
-
-# convert the object into a dict
-sql_view_representation_dict = sql_view_representation_instance.to_dict()
-# create an instance of SQLViewRepresentation from a dict
-sql_view_representation_from_dict = SQLViewRepresentation.from_dict(sql_view_representation_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/ScanReport.md b/client/python/docs/ScanReport.md
deleted file mode 100644
index 3f49252a41..0000000000
--- a/client/python/docs/ScanReport.md
+++ /dev/null
@@ -1,56 +0,0 @@
-
-# ScanReport
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**table_name** | **str** | |
-**snapshot_id** | **int** | |
-**filter** | [**Expression**](Expression.md) | |
-**schema_id** | **int** | |
-**projected_field_ids** | **List[int]** | |
-**projected_field_names** | **List[str]** | |
-**metrics** | [**Dict[str, MetricResult]**](MetricResult.md) | |
-**metadata** | **Dict[str, str]** | | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.scan_report import ScanReport
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of ScanReport from a JSON string
-scan_report_instance = ScanReport.from_json(json)
-# print the JSON string representation of the object
-print(ScanReport.to_json())
-
-# convert the object into a dict
-scan_report_dict = scan_report_instance.to_dict()
-# create an instance of ScanReport from a dict
-scan_report_from_dict = ScanReport.from_dict(scan_report_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/ScanTasks.md b/client/python/docs/ScanTasks.md
deleted file mode 100644
index 66906e8fcb..0000000000
--- a/client/python/docs/ScanTasks.md
+++ /dev/null
@@ -1,52 +0,0 @@
-
-# ScanTasks
-
-Scan and planning tasks for server-side scan planning - `plan-tasks` contains opaque units of planning work - `file-scan-tasks` contains a partial or complete list of table scan tasks - `delete-files` contains delete files referenced by file scan tasks Each plan task must be passed to the fetchScanTasks endpoint to fetch the file scan tasks for the plan task. The list of delete files must contain all delete files referenced by the file scan tasks.
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**delete_files** | [**List[DeleteFile]**](DeleteFile.md) | Delete files referenced by file scan tasks | [optional]
-**file_scan_tasks** | [**List[FileScanTask]**](FileScanTask.md) | | [optional]
-**plan_tasks** | **List[str]** | | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.scan_tasks import ScanTasks
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of ScanTasks from a JSON string
-scan_tasks_instance = ScanTasks.from_json(json)
-# print the JSON string representation of the object
-print(ScanTasks.to_json())
-
-# convert the object into a dict
-scan_tasks_dict = scan_tasks_instance.to_dict()
-# create an instance of ScanTasks from a dict
-scan_tasks_from_dict = ScanTasks.from_dict(scan_tasks_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/ServiceIdentityInfo.md b/client/python/docs/ServiceIdentityInfo.md
deleted file mode 100644
index 0fbb5b5a2f..0000000000
--- a/client/python/docs/ServiceIdentityInfo.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# ServiceIdentityInfo
-
-Identity metadata for the Polaris service used to access external resources.
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**identity_type** | **str** | The type of identity used to access external resources |
-
-## Example
-
-```python
-from polaris.management.models.service_identity_info import ServiceIdentityInfo
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of ServiceIdentityInfo from a JSON string
-service_identity_info_instance = ServiceIdentityInfo.from_json(json)
-# print the JSON string representation of the object
-print(ServiceIdentityInfo.to_json())
-
-# convert the object into a dict
-service_identity_info_dict = service_identity_info_instance.to_dict()
-# create an instance of ServiceIdentityInfo from a dict
-service_identity_info_from_dict = ServiceIdentityInfo.from_dict(service_identity_info_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/SetCurrentSchemaUpdate.md b/client/python/docs/SetCurrentSchemaUpdate.md
deleted file mode 100644
index e8be815364..0000000000
--- a/client/python/docs/SetCurrentSchemaUpdate.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# SetCurrentSchemaUpdate
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**action** | **str** | | [optional]
-**schema_id** | **int** | Schema ID to set as current, or -1 to set last added schema |
-
-## Example
-
-```python
-from polaris.catalog.models.set_current_schema_update import SetCurrentSchemaUpdate
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of SetCurrentSchemaUpdate from a JSON string
-set_current_schema_update_instance = SetCurrentSchemaUpdate.from_json(json)
-# print the JSON string representation of the object
-print(SetCurrentSchemaUpdate.to_json())
-
-# convert the object into a dict
-set_current_schema_update_dict = set_current_schema_update_instance.to_dict()
-# create an instance of SetCurrentSchemaUpdate from a dict
-set_current_schema_update_from_dict = SetCurrentSchemaUpdate.from_dict(set_current_schema_update_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/SetCurrentViewVersionUpdate.md b/client/python/docs/SetCurrentViewVersionUpdate.md
deleted file mode 100644
index 9caec12b3d..0000000000
--- a/client/python/docs/SetCurrentViewVersionUpdate.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# SetCurrentViewVersionUpdate
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**action** | **str** | | [optional]
-**view_version_id** | **int** | The view version id to set as current, or -1 to set last added view version id |
-
-## Example
-
-```python
-from polaris.catalog.models.set_current_view_version_update import SetCurrentViewVersionUpdate
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of SetCurrentViewVersionUpdate from a JSON string
-set_current_view_version_update_instance = SetCurrentViewVersionUpdate.from_json(json)
-# print the JSON string representation of the object
-print(SetCurrentViewVersionUpdate.to_json())
-
-# convert the object into a dict
-set_current_view_version_update_dict = set_current_view_version_update_instance.to_dict()
-# create an instance of SetCurrentViewVersionUpdate from a dict
-set_current_view_version_update_from_dict = SetCurrentViewVersionUpdate.from_dict(set_current_view_version_update_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/SetDefaultSortOrderUpdate.md b/client/python/docs/SetDefaultSortOrderUpdate.md
deleted file mode 100644
index b0cb41c1f7..0000000000
--- a/client/python/docs/SetDefaultSortOrderUpdate.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# SetDefaultSortOrderUpdate
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**action** | **str** | | [optional]
-**sort_order_id** | **int** | Sort order ID to set as the default, or -1 to set last added sort order |
-
-## Example
-
-```python
-from polaris.catalog.models.set_default_sort_order_update import SetDefaultSortOrderUpdate
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of SetDefaultSortOrderUpdate from a JSON string
-set_default_sort_order_update_instance = SetDefaultSortOrderUpdate.from_json(json)
-# print the JSON string representation of the object
-print(SetDefaultSortOrderUpdate.to_json())
-
-# convert the object into a dict
-set_default_sort_order_update_dict = set_default_sort_order_update_instance.to_dict()
-# create an instance of SetDefaultSortOrderUpdate from a dict
-set_default_sort_order_update_from_dict = SetDefaultSortOrderUpdate.from_dict(set_default_sort_order_update_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/SetDefaultSpecUpdate.md b/client/python/docs/SetDefaultSpecUpdate.md
deleted file mode 100644
index ad96c01b0c..0000000000
--- a/client/python/docs/SetDefaultSpecUpdate.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# SetDefaultSpecUpdate
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**action** | **str** | | [optional]
-**spec_id** | **int** | Partition spec ID to set as the default, or -1 to set last added spec |
-
-## Example
-
-```python
-from polaris.catalog.models.set_default_spec_update import SetDefaultSpecUpdate
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of SetDefaultSpecUpdate from a JSON string
-set_default_spec_update_instance = SetDefaultSpecUpdate.from_json(json)
-# print the JSON string representation of the object
-print(SetDefaultSpecUpdate.to_json())
-
-# convert the object into a dict
-set_default_spec_update_dict = set_default_spec_update_instance.to_dict()
-# create an instance of SetDefaultSpecUpdate from a dict
-set_default_spec_update_from_dict = SetDefaultSpecUpdate.from_dict(set_default_spec_update_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/SetExpression.md b/client/python/docs/SetExpression.md
deleted file mode 100644
index 8dd1b36125..0000000000
--- a/client/python/docs/SetExpression.md
+++ /dev/null
@@ -1,51 +0,0 @@
-
-# SetExpression
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**type** | **str** | |
-**term** | [**Term**](Term.md) | |
-**values** | **List[object]** | |
-
-## Example
-
-```python
-from polaris.catalog.models.set_expression import SetExpression
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of SetExpression from a JSON string
-set_expression_instance = SetExpression.from_json(json)
-# print the JSON string representation of the object
-print(SetExpression.to_json())
-
-# convert the object into a dict
-set_expression_dict = set_expression_instance.to_dict()
-# create an instance of SetExpression from a dict
-set_expression_from_dict = SetExpression.from_dict(set_expression_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/SetLocationUpdate.md b/client/python/docs/SetLocationUpdate.md
deleted file mode 100644
index 35f7a0069e..0000000000
--- a/client/python/docs/SetLocationUpdate.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# SetLocationUpdate
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**action** | **str** | | [optional]
-**location** | **str** | |
-
-## Example
-
-```python
-from polaris.catalog.models.set_location_update import SetLocationUpdate
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of SetLocationUpdate from a JSON string
-set_location_update_instance = SetLocationUpdate.from_json(json)
-# print the JSON string representation of the object
-print(SetLocationUpdate.to_json())
-
-# convert the object into a dict
-set_location_update_dict = set_location_update_instance.to_dict()
-# create an instance of SetLocationUpdate from a dict
-set_location_update_from_dict = SetLocationUpdate.from_dict(set_location_update_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/SetPartitionStatisticsUpdate.md b/client/python/docs/SetPartitionStatisticsUpdate.md
deleted file mode 100644
index bf47282080..0000000000
--- a/client/python/docs/SetPartitionStatisticsUpdate.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# SetPartitionStatisticsUpdate
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**action** | **str** | | [optional]
-**partition_statistics** | [**PartitionStatisticsFile**](PartitionStatisticsFile.md) | |
-
-## Example
-
-```python
-from polaris.catalog.models.set_partition_statistics_update import SetPartitionStatisticsUpdate
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of SetPartitionStatisticsUpdate from a JSON string
-set_partition_statistics_update_instance = SetPartitionStatisticsUpdate.from_json(json)
-# print the JSON string representation of the object
-print(SetPartitionStatisticsUpdate.to_json())
-
-# convert the object into a dict
-set_partition_statistics_update_dict = set_partition_statistics_update_instance.to_dict()
-# create an instance of SetPartitionStatisticsUpdate from a dict
-set_partition_statistics_update_from_dict = SetPartitionStatisticsUpdate.from_dict(set_partition_statistics_update_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/SetPropertiesUpdate.md b/client/python/docs/SetPropertiesUpdate.md
deleted file mode 100644
index 82dc2d0ede..0000000000
--- a/client/python/docs/SetPropertiesUpdate.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# SetPropertiesUpdate
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**action** | **str** | | [optional]
-**updates** | **Dict[str, str]** | |
-
-## Example
-
-```python
-from polaris.catalog.models.set_properties_update import SetPropertiesUpdate
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of SetPropertiesUpdate from a JSON string
-set_properties_update_instance = SetPropertiesUpdate.from_json(json)
-# print the JSON string representation of the object
-print(SetPropertiesUpdate.to_json())
-
-# convert the object into a dict
-set_properties_update_dict = set_properties_update_instance.to_dict()
-# create an instance of SetPropertiesUpdate from a dict
-set_properties_update_from_dict = SetPropertiesUpdate.from_dict(set_properties_update_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/SetSnapshotRefUpdate.md b/client/python/docs/SetSnapshotRefUpdate.md
deleted file mode 100644
index 2f7749ca57..0000000000
--- a/client/python/docs/SetSnapshotRefUpdate.md
+++ /dev/null
@@ -1,55 +0,0 @@
-
-# SetSnapshotRefUpdate
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**action** | **str** | | [optional]
-**ref_name** | **str** | |
-**type** | **str** | |
-**snapshot_id** | **int** | |
-**max_ref_age_ms** | **int** | | [optional]
-**max_snapshot_age_ms** | **int** | | [optional]
-**min_snapshots_to_keep** | **int** | | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.set_snapshot_ref_update import SetSnapshotRefUpdate
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of SetSnapshotRefUpdate from a JSON string
-set_snapshot_ref_update_instance = SetSnapshotRefUpdate.from_json(json)
-# print the JSON string representation of the object
-print(SetSnapshotRefUpdate.to_json())
-
-# convert the object into a dict
-set_snapshot_ref_update_dict = set_snapshot_ref_update_instance.to_dict()
-# create an instance of SetSnapshotRefUpdate from a dict
-set_snapshot_ref_update_from_dict = SetSnapshotRefUpdate.from_dict(set_snapshot_ref_update_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/SetStatisticsUpdate.md b/client/python/docs/SetStatisticsUpdate.md
deleted file mode 100644
index db2c4d77a7..0000000000
--- a/client/python/docs/SetStatisticsUpdate.md
+++ /dev/null
@@ -1,51 +0,0 @@
-
-# SetStatisticsUpdate
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**action** | **str** | | [optional]
-**snapshot_id** | **int** | This optional field is **DEPRECATED for REMOVAL** since it contains redundant information. Clients should use the `statistics.snapshot-id` field instead. | [optional]
-**statistics** | [**StatisticsFile**](StatisticsFile.md) | |
-
-## Example
-
-```python
-from polaris.catalog.models.set_statistics_update import SetStatisticsUpdate
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of SetStatisticsUpdate from a JSON string
-set_statistics_update_instance = SetStatisticsUpdate.from_json(json)
-# print the JSON string representation of the object
-print(SetStatisticsUpdate.to_json())
-
-# convert the object into a dict
-set_statistics_update_dict = set_statistics_update_instance.to_dict()
-# create an instance of SetStatisticsUpdate from a dict
-set_statistics_update_from_dict = SetStatisticsUpdate.from_dict(set_statistics_update_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/SigV4AuthenticationParameters.md b/client/python/docs/SigV4AuthenticationParameters.md
deleted file mode 100644
index 1ff5dcfeae..0000000000
--- a/client/python/docs/SigV4AuthenticationParameters.md
+++ /dev/null
@@ -1,54 +0,0 @@
-
-# SigV4AuthenticationParameters
-
-AWS Signature Version 4 authentication
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**role_arn** | **str** | The aws IAM role arn assumed by polaris userArn when signing requests |
-**role_session_name** | **str** | The role session name to be used by the SigV4 protocol for signing requests | [optional]
-**external_id** | **str** | An optional external id used to establish a trust relationship with AWS in the trust policy | [optional]
-**signing_region** | **str** | Region to be used by the SigV4 protocol for signing requests |
-**signing_name** | **str** | The service name to be used by the SigV4 protocol for signing requests, the default signing name is \"execute-api\" is if not provided | [optional]
-
-## Example
-
-```python
-from polaris.management.models.sig_v4_authentication_parameters import SigV4AuthenticationParameters
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of SigV4AuthenticationParameters from a JSON string
-sig_v4_authentication_parameters_instance = SigV4AuthenticationParameters.from_json(json)
-# print the JSON string representation of the object
-print(SigV4AuthenticationParameters.to_json())
-
-# convert the object into a dict
-sig_v4_authentication_parameters_dict = sig_v4_authentication_parameters_instance.to_dict()
-# create an instance of SigV4AuthenticationParameters from a dict
-sig_v4_authentication_parameters_from_dict = SigV4AuthenticationParameters.from_dict(sig_v4_authentication_parameters_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/Snapshot.md b/client/python/docs/Snapshot.md
deleted file mode 100644
index c4ca792f43..0000000000
--- a/client/python/docs/Snapshot.md
+++ /dev/null
@@ -1,55 +0,0 @@
-
-# Snapshot
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**snapshot_id** | **int** | |
-**parent_snapshot_id** | **int** | | [optional]
-**sequence_number** | **int** | | [optional]
-**timestamp_ms** | **int** | |
-**manifest_list** | **str** | Location of the snapshot's manifest list file |
-**summary** | [**SnapshotSummary**](SnapshotSummary.md) | |
-**schema_id** | **int** | | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.snapshot import Snapshot
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of Snapshot from a JSON string
-snapshot_instance = Snapshot.from_json(json)
-# print the JSON string representation of the object
-print(Snapshot.to_json())
-
-# convert the object into a dict
-snapshot_dict = snapshot_instance.to_dict()
-# create an instance of Snapshot from a dict
-snapshot_from_dict = Snapshot.from_dict(snapshot_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/SnapshotLogInner.md b/client/python/docs/SnapshotLogInner.md
deleted file mode 100644
index b103f1245d..0000000000
--- a/client/python/docs/SnapshotLogInner.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# SnapshotLogInner
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**snapshot_id** | **int** | |
-**timestamp_ms** | **int** | |
-
-## Example
-
-```python
-from polaris.catalog.models.snapshot_log_inner import SnapshotLogInner
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of SnapshotLogInner from a JSON string
-snapshot_log_inner_instance = SnapshotLogInner.from_json(json)
-# print the JSON string representation of the object
-print(SnapshotLogInner.to_json())
-
-# convert the object into a dict
-snapshot_log_inner_dict = snapshot_log_inner_instance.to_dict()
-# create an instance of SnapshotLogInner from a dict
-snapshot_log_inner_from_dict = SnapshotLogInner.from_dict(snapshot_log_inner_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/SnapshotReference.md b/client/python/docs/SnapshotReference.md
deleted file mode 100644
index 1582b840b3..0000000000
--- a/client/python/docs/SnapshotReference.md
+++ /dev/null
@@ -1,53 +0,0 @@
-
-# SnapshotReference
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**type** | **str** | |
-**snapshot_id** | **int** | |
-**max_ref_age_ms** | **int** | | [optional]
-**max_snapshot_age_ms** | **int** | | [optional]
-**min_snapshots_to_keep** | **int** | | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.snapshot_reference import SnapshotReference
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of SnapshotReference from a JSON string
-snapshot_reference_instance = SnapshotReference.from_json(json)
-# print the JSON string representation of the object
-print(SnapshotReference.to_json())
-
-# convert the object into a dict
-snapshot_reference_dict = snapshot_reference_instance.to_dict()
-# create an instance of SnapshotReference from a dict
-snapshot_reference_from_dict = SnapshotReference.from_dict(snapshot_reference_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/SnapshotSummary.md b/client/python/docs/SnapshotSummary.md
deleted file mode 100644
index c8bf7e79b9..0000000000
--- a/client/python/docs/SnapshotSummary.md
+++ /dev/null
@@ -1,49 +0,0 @@
-
-# SnapshotSummary
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**operation** | **str** | |
-
-## Example
-
-```python
-from polaris.catalog.models.snapshot_summary import SnapshotSummary
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of SnapshotSummary from a JSON string
-snapshot_summary_instance = SnapshotSummary.from_json(json)
-# print the JSON string representation of the object
-print(SnapshotSummary.to_json())
-
-# convert the object into a dict
-snapshot_summary_dict = snapshot_summary_instance.to_dict()
-# create an instance of SnapshotSummary from a dict
-snapshot_summary_from_dict = SnapshotSummary.from_dict(snapshot_summary_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/SortDirection.md b/client/python/docs/SortDirection.md
deleted file mode 100644
index ca52cdfcc7..0000000000
--- a/client/python/docs/SortDirection.md
+++ /dev/null
@@ -1,32 +0,0 @@
-
-# SortDirection
-
-
-## Enum
-
-* `ASC` (value: `'asc'`)
-
-* `DESC` (value: `'desc'`)
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/SortField.md b/client/python/docs/SortField.md
deleted file mode 100644
index 07b2bf2ddc..0000000000
--- a/client/python/docs/SortField.md
+++ /dev/null
@@ -1,52 +0,0 @@
-
-# SortField
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**source_id** | **int** | |
-**transform** | **str** | |
-**direction** | [**SortDirection**](SortDirection.md) | |
-**null_order** | [**NullOrder**](NullOrder.md) | |
-
-## Example
-
-```python
-from polaris.catalog.models.sort_field import SortField
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of SortField from a JSON string
-sort_field_instance = SortField.from_json(json)
-# print the JSON string representation of the object
-print(SortField.to_json())
-
-# convert the object into a dict
-sort_field_dict = sort_field_instance.to_dict()
-# create an instance of SortField from a dict
-sort_field_from_dict = SortField.from_dict(sort_field_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/SortOrder.md b/client/python/docs/SortOrder.md
deleted file mode 100644
index 651d6c775a..0000000000
--- a/client/python/docs/SortOrder.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# SortOrder
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**order_id** | **int** | | [readonly]
-**fields** | [**List[SortField]**](SortField.md) | |
-
-## Example
-
-```python
-from polaris.catalog.models.sort_order import SortOrder
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of SortOrder from a JSON string
-sort_order_instance = SortOrder.from_json(json)
-# print the JSON string representation of the object
-print(SortOrder.to_json())
-
-# convert the object into a dict
-sort_order_dict = sort_order_instance.to_dict()
-# create an instance of SortOrder from a dict
-sort_order_from_dict = SortOrder.from_dict(sort_order_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/StatisticsFile.md b/client/python/docs/StatisticsFile.md
deleted file mode 100644
index 44b5b52ad5..0000000000
--- a/client/python/docs/StatisticsFile.md
+++ /dev/null
@@ -1,53 +0,0 @@
-
-# StatisticsFile
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**snapshot_id** | **int** | |
-**statistics_path** | **str** | |
-**file_size_in_bytes** | **int** | |
-**file_footer_size_in_bytes** | **int** | |
-**blob_metadata** | [**List[BlobMetadata]**](BlobMetadata.md) | |
-
-## Example
-
-```python
-from polaris.catalog.models.statistics_file import StatisticsFile
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of StatisticsFile from a JSON string
-statistics_file_instance = StatisticsFile.from_json(json)
-# print the JSON string representation of the object
-print(StatisticsFile.to_json())
-
-# convert the object into a dict
-statistics_file_dict = statistics_file_instance.to_dict()
-# create an instance of StatisticsFile from a dict
-statistics_file_from_dict = StatisticsFile.from_dict(statistics_file_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/StorageConfigInfo.md b/client/python/docs/StorageConfigInfo.md
deleted file mode 100644
index 788d12bf36..0000000000
--- a/client/python/docs/StorageConfigInfo.md
+++ /dev/null
@@ -1,51 +0,0 @@
-
-# StorageConfigInfo
-
-A storage configuration used by catalogs
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**storage_type** | **str** | The cloud provider type this storage is built on. FILE is supported for testing purposes only |
-**allowed_locations** | **List[str]** | | [optional]
-
-## Example
-
-```python
-from polaris.management.models.storage_config_info import StorageConfigInfo
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of StorageConfigInfo from a JSON string
-storage_config_info_instance = StorageConfigInfo.from_json(json)
-# print the JSON string representation of the object
-print(StorageConfigInfo.to_json())
-
-# convert the object into a dict
-storage_config_info_dict = storage_config_info_instance.to_dict()
-# create an instance of StorageConfigInfo from a dict
-storage_config_info_from_dict = StorageConfigInfo.from_dict(storage_config_info_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/StorageCredential.md b/client/python/docs/StorageCredential.md
deleted file mode 100644
index 5366d84830..0000000000
--- a/client/python/docs/StorageCredential.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# StorageCredential
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**prefix** | **str** | Indicates a storage location prefix where the credential is relevant. Clients should choose the most specific prefix (by selecting the longest prefix) if several credentials of the same type are available. |
-**config** | **Dict[str, str]** | |
-
-## Example
-
-```python
-from polaris.catalog.models.storage_credential import StorageCredential
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of StorageCredential from a JSON string
-storage_credential_instance = StorageCredential.from_json(json)
-# print the JSON string representation of the object
-print(StorageCredential.to_json())
-
-# convert the object into a dict
-storage_credential_dict = storage_credential_instance.to_dict()
-# create an instance of StorageCredential from a dict
-storage_credential_from_dict = StorageCredential.from_dict(storage_credential_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/StructField.md b/client/python/docs/StructField.md
deleted file mode 100644
index 9dc64441de..0000000000
--- a/client/python/docs/StructField.md
+++ /dev/null
@@ -1,55 +0,0 @@
-
-# StructField
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **int** | |
-**name** | **str** | |
-**type** | [**Type**](Type.md) | |
-**required** | **bool** | |
-**doc** | **str** | | [optional]
-**initial_default** | [**PrimitiveTypeValue**](PrimitiveTypeValue.md) | | [optional]
-**write_default** | [**PrimitiveTypeValue**](PrimitiveTypeValue.md) | | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.struct_field import StructField
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of StructField from a JSON string
-struct_field_instance = StructField.from_json(json)
-# print the JSON string representation of the object
-print(StructField.to_json())
-
-# convert the object into a dict
-struct_field_dict = struct_field_instance.to_dict()
-# create an instance of StructField from a dict
-struct_field_from_dict = StructField.from_dict(struct_field_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/StructType.md b/client/python/docs/StructType.md
deleted file mode 100644
index 2afdd9255b..0000000000
--- a/client/python/docs/StructType.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# StructType
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**type** | **str** | |
-**fields** | [**List[StructField]**](StructField.md) | |
-
-## Example
-
-```python
-from polaris.catalog.models.struct_type import StructType
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of StructType from a JSON string
-struct_type_instance = StructType.from_json(json)
-# print the JSON string representation of the object
-print(StructType.to_json())
-
-# convert the object into a dict
-struct_type_dict = struct_type_instance.to_dict()
-# create an instance of StructType from a dict
-struct_type_from_dict = StructType.from_dict(struct_type_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/TableGrant.md b/client/python/docs/TableGrant.md
deleted file mode 100644
index 99c71a3e17..0000000000
--- a/client/python/docs/TableGrant.md
+++ /dev/null
@@ -1,51 +0,0 @@
-
-# TableGrant
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**namespace** | **List[str]** | |
-**table_name** | **str** | |
-**privilege** | [**TablePrivilege**](TablePrivilege.md) | |
-
-## Example
-
-```python
-from polaris.management.models.table_grant import TableGrant
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of TableGrant from a JSON string
-table_grant_instance = TableGrant.from_json(json)
-# print the JSON string representation of the object
-print(TableGrant.to_json())
-
-# convert the object into a dict
-table_grant_dict = table_grant_instance.to_dict()
-# create an instance of TableGrant from a dict
-table_grant_from_dict = TableGrant.from_dict(table_grant_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/TableIdentifier.md b/client/python/docs/TableIdentifier.md
deleted file mode 100644
index b84879dd63..0000000000
--- a/client/python/docs/TableIdentifier.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# TableIdentifier
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**namespace** | **List[str]** | Reference to one or more levels of a namespace |
-**name** | **str** | |
-
-## Example
-
-```python
-from polaris.catalog.models.table_identifier import TableIdentifier
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of TableIdentifier from a JSON string
-table_identifier_instance = TableIdentifier.from_json(json)
-# print the JSON string representation of the object
-print(TableIdentifier.to_json())
-
-# convert the object into a dict
-table_identifier_dict = table_identifier_instance.to_dict()
-# create an instance of TableIdentifier from a dict
-table_identifier_from_dict = TableIdentifier.from_dict(table_identifier_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/TableMetadata.md b/client/python/docs/TableMetadata.md
deleted file mode 100644
index 01b4747f4d..0000000000
--- a/client/python/docs/TableMetadata.md
+++ /dev/null
@@ -1,69 +0,0 @@
-
-# TableMetadata
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**format_version** | **int** | |
-**table_uuid** | **str** | |
-**location** | **str** | | [optional]
-**last_updated_ms** | **int** | | [optional]
-**properties** | **Dict[str, str]** | | [optional]
-**schemas** | [**List[ModelSchema]**](ModelSchema.md) | | [optional]
-**current_schema_id** | **int** | | [optional]
-**last_column_id** | **int** | | [optional]
-**partition_specs** | [**List[PartitionSpec]**](PartitionSpec.md) | | [optional]
-**default_spec_id** | **int** | | [optional]
-**last_partition_id** | **int** | | [optional]
-**sort_orders** | [**List[SortOrder]**](SortOrder.md) | | [optional]
-**default_sort_order_id** | **int** | | [optional]
-**snapshots** | [**List[Snapshot]**](Snapshot.md) | | [optional]
-**refs** | [**Dict[str, SnapshotReference]**](SnapshotReference.md) | | [optional]
-**current_snapshot_id** | **int** | | [optional]
-**last_sequence_number** | **int** | | [optional]
-**snapshot_log** | [**List[SnapshotLogInner]**](SnapshotLogInner.md) | | [optional]
-**metadata_log** | [**List[MetadataLogInner]**](MetadataLogInner.md) | | [optional]
-**statistics** | [**List[StatisticsFile]**](StatisticsFile.md) | | [optional]
-**partition_statistics** | [**List[PartitionStatisticsFile]**](PartitionStatisticsFile.md) | | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.table_metadata import TableMetadata
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of TableMetadata from a JSON string
-table_metadata_instance = TableMetadata.from_json(json)
-# print the JSON string representation of the object
-print(TableMetadata.to_json())
-
-# convert the object into a dict
-table_metadata_dict = table_metadata_instance.to_dict()
-# create an instance of TableMetadata from a dict
-table_metadata_from_dict = TableMetadata.from_dict(table_metadata_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/TablePrivilege.md b/client/python/docs/TablePrivilege.md
deleted file mode 100644
index 9e0e0121bf..0000000000
--- a/client/python/docs/TablePrivilege.md
+++ /dev/null
@@ -1,48 +0,0 @@
-
-# TablePrivilege
-
-
-## Enum
-
-* `CATALOG_MANAGE_ACCESS` (value: `'CATALOG_MANAGE_ACCESS'`)
-
-* `TABLE_DROP` (value: `'TABLE_DROP'`)
-
-* `TABLE_LIST` (value: `'TABLE_LIST'`)
-
-* `TABLE_READ_PROPERTIES` (value: `'TABLE_READ_PROPERTIES'`)
-
-* `TABLE_WRITE_PROPERTIES` (value: `'TABLE_WRITE_PROPERTIES'`)
-
-* `TABLE_READ_DATA` (value: `'TABLE_READ_DATA'`)
-
-* `TABLE_WRITE_DATA` (value: `'TABLE_WRITE_DATA'`)
-
-* `TABLE_FULL_METADATA` (value: `'TABLE_FULL_METADATA'`)
-
-* `TABLE_ATTACH_POLICY` (value: `'TABLE_ATTACH_POLICY'`)
-
-* `TABLE_DETACH_POLICY` (value: `'TABLE_DETACH_POLICY'`)
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/TableRequirement.md b/client/python/docs/TableRequirement.md
deleted file mode 100644
index c5ab09ec66..0000000000
--- a/client/python/docs/TableRequirement.md
+++ /dev/null
@@ -1,49 +0,0 @@
-
-# TableRequirement
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**type** | **str** | |
-
-## Example
-
-```python
-from polaris.catalog.models.table_requirement import TableRequirement
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of TableRequirement from a JSON string
-table_requirement_instance = TableRequirement.from_json(json)
-# print the JSON string representation of the object
-print(TableRequirement.to_json())
-
-# convert the object into a dict
-table_requirement_dict = table_requirement_instance.to_dict()
-# create an instance of TableRequirement from a dict
-table_requirement_from_dict = TableRequirement.from_dict(table_requirement_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/TableUpdate.md b/client/python/docs/TableUpdate.md
deleted file mode 100644
index 1cd726e64d..0000000000
--- a/client/python/docs/TableUpdate.md
+++ /dev/null
@@ -1,70 +0,0 @@
-
-# TableUpdate
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**action** | **str** | |
-**format_version** | **int** | |
-**var_schema** | [**ModelSchema**](ModelSchema.md) | |
-**last_column_id** | **int** | This optional field is **DEPRECATED for REMOVAL** since it more safe to handle this internally, and shouldn't be exposed to the clients. The highest assigned column ID for the table. This is used to ensure columns are always assigned an unused ID when evolving schemas. When omitted, it will be computed on the server side. | [optional]
-**schema_id** | **int** | Schema ID to set as current, or -1 to set last added schema |
-**spec** | [**PartitionSpec**](PartitionSpec.md) | |
-**spec_id** | **int** | Partition spec ID to set as the default, or -1 to set last added spec |
-**sort_order** | [**SortOrder**](SortOrder.md) | |
-**sort_order_id** | **int** | Sort order ID to set as the default, or -1 to set last added sort order |
-**snapshot** | [**Snapshot**](Snapshot.md) | |
-**ref_name** | **str** | |
-**type** | **str** | |
-**snapshot_id** | **int** | |
-**max_ref_age_ms** | **int** | | [optional]
-**max_snapshot_age_ms** | **int** | | [optional]
-**min_snapshots_to_keep** | **int** | | [optional]
-**snapshot_ids** | **List[int]** | |
-**location** | **str** | |
-**updates** | **Dict[str, str]** | |
-**removals** | **List[str]** | |
-**statistics** | [**StatisticsFile**](StatisticsFile.md) | |
-**spec_ids** | **List[int]** | |
-
-## Example
-
-```python
-from polaris.catalog.models.table_update import TableUpdate
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of TableUpdate from a JSON string
-table_update_instance = TableUpdate.from_json(json)
-# print the JSON string representation of the object
-print(TableUpdate.to_json())
-
-# convert the object into a dict
-table_update_dict = table_update_instance.to_dict()
-# create an instance of TableUpdate from a dict
-table_update_from_dict = TableUpdate.from_dict(table_update_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/TableUpdateNotification.md b/client/python/docs/TableUpdateNotification.md
deleted file mode 100644
index 058c93f79e..0000000000
--- a/client/python/docs/TableUpdateNotification.md
+++ /dev/null
@@ -1,53 +0,0 @@
-
-# TableUpdateNotification
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**table_name** | **str** | |
-**timestamp** | **int** | |
-**table_uuid** | **str** | |
-**metadata_location** | **str** | |
-**metadata** | [**TableMetadata**](TableMetadata.md) | | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.table_update_notification import TableUpdateNotification
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of TableUpdateNotification from a JSON string
-table_update_notification_instance = TableUpdateNotification.from_json(json)
-# print the JSON string representation of the object
-print(TableUpdateNotification.to_json())
-
-# convert the object into a dict
-table_update_notification_dict = table_update_notification_instance.to_dict()
-# create an instance of TableUpdateNotification from a dict
-table_update_notification_from_dict = TableUpdateNotification.from_dict(table_update_notification_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/Term.md b/client/python/docs/Term.md
deleted file mode 100644
index 71147147a7..0000000000
--- a/client/python/docs/Term.md
+++ /dev/null
@@ -1,51 +0,0 @@
-
-# Term
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**type** | **str** | |
-**transform** | **str** | |
-**term** | **str** | |
-
-## Example
-
-```python
-from polaris.catalog.models.term import Term
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of Term from a JSON string
-term_instance = Term.from_json(json)
-# print the JSON string representation of the object
-print(Term.to_json())
-
-# convert the object into a dict
-term_dict = term_instance.to_dict()
-# create an instance of Term from a dict
-term_from_dict = Term.from_dict(term_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/TimerResult.md b/client/python/docs/TimerResult.md
deleted file mode 100644
index 2d44247edc..0000000000
--- a/client/python/docs/TimerResult.md
+++ /dev/null
@@ -1,51 +0,0 @@
-
-# TimerResult
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**time_unit** | **str** | |
-**count** | **int** | |
-**total_duration** | **int** | |
-
-## Example
-
-```python
-from polaris.catalog.models.timer_result import TimerResult
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of TimerResult from a JSON string
-timer_result_instance = TimerResult.from_json(json)
-# print the JSON string representation of the object
-print(TimerResult.to_json())
-
-# convert the object into a dict
-timer_result_dict = timer_result_instance.to_dict()
-# create an instance of TimerResult from a dict
-timer_result_from_dict = TimerResult.from_dict(timer_result_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/TokenType.md b/client/python/docs/TokenType.md
deleted file mode 100644
index df96919b52..0000000000
--- a/client/python/docs/TokenType.md
+++ /dev/null
@@ -1,41 +0,0 @@
-
-# TokenType
-
-Token type identifier, from RFC 8693 Section 3 See https://datatracker.ietf.org/doc/html/rfc8693#section-3
-
-## Enum
-
-* `URN_COLON_IETF_COLON_PARAMS_COLON_OAUTH_COLON_TOKEN_MINUS_TYPE_COLON_ACCESS_TOKEN` (value: `'urn:ietf:params:oauth:token-type:access_token'`)
-
-* `URN_COLON_IETF_COLON_PARAMS_COLON_OAUTH_COLON_TOKEN_MINUS_TYPE_COLON_REFRESH_TOKEN` (value: `'urn:ietf:params:oauth:token-type:refresh_token'`)
-
-* `URN_COLON_IETF_COLON_PARAMS_COLON_OAUTH_COLON_TOKEN_MINUS_TYPE_COLON_ID_TOKEN` (value: `'urn:ietf:params:oauth:token-type:id_token'`)
-
-* `URN_COLON_IETF_COLON_PARAMS_COLON_OAUTH_COLON_TOKEN_MINUS_TYPE_COLON_SAML1` (value: `'urn:ietf:params:oauth:token-type:saml1'`)
-
-* `URN_COLON_IETF_COLON_PARAMS_COLON_OAUTH_COLON_TOKEN_MINUS_TYPE_COLON_SAML2` (value: `'urn:ietf:params:oauth:token-type:saml2'`)
-
-* `URN_COLON_IETF_COLON_PARAMS_COLON_OAUTH_COLON_TOKEN_MINUS_TYPE_COLON_JWT` (value: `'urn:ietf:params:oauth:token-type:jwt'`)
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/TransformTerm.md b/client/python/docs/TransformTerm.md
deleted file mode 100644
index 16ad3c5a3c..0000000000
--- a/client/python/docs/TransformTerm.md
+++ /dev/null
@@ -1,51 +0,0 @@
-
-# TransformTerm
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**type** | **str** | |
-**transform** | **str** | |
-**term** | **str** | |
-
-## Example
-
-```python
-from polaris.catalog.models.transform_term import TransformTerm
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of TransformTerm from a JSON string
-transform_term_instance = TransformTerm.from_json(json)
-# print the JSON string representation of the object
-print(TransformTerm.to_json())
-
-# convert the object into a dict
-transform_term_dict = transform_term_instance.to_dict()
-# create an instance of TransformTerm from a dict
-transform_term_from_dict = TransformTerm.from_dict(transform_term_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/TrueExpression.md b/client/python/docs/TrueExpression.md
deleted file mode 100644
index 25ff518585..0000000000
--- a/client/python/docs/TrueExpression.md
+++ /dev/null
@@ -1,49 +0,0 @@
-
-# TrueExpression
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**type** | **str** | |
-
-## Example
-
-```python
-from polaris.catalog.models.true_expression import TrueExpression
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of TrueExpression from a JSON string
-true_expression_instance = TrueExpression.from_json(json)
-# print the JSON string representation of the object
-print(TrueExpression.to_json())
-
-# convert the object into a dict
-true_expression_dict = true_expression_instance.to_dict()
-# create an instance of TrueExpression from a dict
-true_expression_from_dict = TrueExpression.from_dict(true_expression_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/Type.md b/client/python/docs/Type.md
deleted file mode 100644
index 5f909d3580..0000000000
--- a/client/python/docs/Type.md
+++ /dev/null
@@ -1,58 +0,0 @@
-
-# Type
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**type** | **str** | |
-**fields** | [**List[StructField]**](StructField.md) | |
-**element_id** | **int** | |
-**element** | [**Type**](Type.md) | |
-**element_required** | **bool** | |
-**key_id** | **int** | |
-**key** | [**Type**](Type.md) | |
-**value_id** | **int** | |
-**value** | [**Type**](Type.md) | |
-**value_required** | **bool** | |
-
-## Example
-
-```python
-from polaris.catalog.models.type import Type
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of Type from a JSON string
-type_instance = Type.from_json(json)
-# print the JSON string representation of the object
-print(Type.to_json())
-
-# convert the object into a dict
-type_dict = type_instance.to_dict()
-# create an instance of Type from a dict
-type_from_dict = Type.from_dict(type_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/UnaryExpression.md b/client/python/docs/UnaryExpression.md
deleted file mode 100644
index 0aeb764ee0..0000000000
--- a/client/python/docs/UnaryExpression.md
+++ /dev/null
@@ -1,51 +0,0 @@
-
-# UnaryExpression
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**type** | **str** | |
-**term** | [**Term**](Term.md) | |
-**value** | **object** | |
-
-## Example
-
-```python
-from polaris.catalog.models.unary_expression import UnaryExpression
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of UnaryExpression from a JSON string
-unary_expression_instance = UnaryExpression.from_json(json)
-# print the JSON string representation of the object
-print(UnaryExpression.to_json())
-
-# convert the object into a dict
-unary_expression_dict = unary_expression_instance.to_dict()
-# create an instance of UnaryExpression from a dict
-unary_expression_from_dict = UnaryExpression.from_dict(unary_expression_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/UpdateCatalogRequest.md b/client/python/docs/UpdateCatalogRequest.md
deleted file mode 100644
index 693ed76a28..0000000000
--- a/client/python/docs/UpdateCatalogRequest.md
+++ /dev/null
@@ -1,52 +0,0 @@
-
-# UpdateCatalogRequest
-
-Updates to apply to a Catalog. Any fields which are required in the Catalog will remain unaltered if omitted from the contents of this Update request.
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**current_entity_version** | **int** | The version of the object onto which this update is applied; if the object changed, the update will fail and the caller should retry after fetching the latest version. | [optional]
-**properties** | **Dict[str, str]** | | [optional]
-**storage_config_info** | [**StorageConfigInfo**](StorageConfigInfo.md) | | [optional]
-
-## Example
-
-```python
-from polaris.management.models.update_catalog_request import UpdateCatalogRequest
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of UpdateCatalogRequest from a JSON string
-update_catalog_request_instance = UpdateCatalogRequest.from_json(json)
-# print the JSON string representation of the object
-print(UpdateCatalogRequest.to_json())
-
-# convert the object into a dict
-update_catalog_request_dict = update_catalog_request_instance.to_dict()
-# create an instance of UpdateCatalogRequest from a dict
-update_catalog_request_from_dict = UpdateCatalogRequest.from_dict(update_catalog_request_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/UpdateCatalogRoleRequest.md b/client/python/docs/UpdateCatalogRoleRequest.md
deleted file mode 100644
index cade0c6773..0000000000
--- a/client/python/docs/UpdateCatalogRoleRequest.md
+++ /dev/null
@@ -1,51 +0,0 @@
-
-# UpdateCatalogRoleRequest
-
-Updates to apply to a Catalog Role
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**current_entity_version** | **int** | The version of the object onto which this update is applied; if the object changed, the update will fail and the caller should retry after fetching the latest version. |
-**properties** | **Dict[str, str]** | |
-
-## Example
-
-```python
-from polaris.management.models.update_catalog_role_request import UpdateCatalogRoleRequest
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of UpdateCatalogRoleRequest from a JSON string
-update_catalog_role_request_instance = UpdateCatalogRoleRequest.from_json(json)
-# print the JSON string representation of the object
-print(UpdateCatalogRoleRequest.to_json())
-
-# convert the object into a dict
-update_catalog_role_request_dict = update_catalog_role_request_instance.to_dict()
-# create an instance of UpdateCatalogRoleRequest from a dict
-update_catalog_role_request_from_dict = UpdateCatalogRoleRequest.from_dict(update_catalog_role_request_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/UpdateNamespacePropertiesRequest.md b/client/python/docs/UpdateNamespacePropertiesRequest.md
deleted file mode 100644
index 217b1291f6..0000000000
--- a/client/python/docs/UpdateNamespacePropertiesRequest.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# UpdateNamespacePropertiesRequest
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**removals** | **List[str]** | | [optional]
-**updates** | **Dict[str, str]** | | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.update_namespace_properties_request import UpdateNamespacePropertiesRequest
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of UpdateNamespacePropertiesRequest from a JSON string
-update_namespace_properties_request_instance = UpdateNamespacePropertiesRequest.from_json(json)
-# print the JSON string representation of the object
-print(UpdateNamespacePropertiesRequest.to_json())
-
-# convert the object into a dict
-update_namespace_properties_request_dict = update_namespace_properties_request_instance.to_dict()
-# create an instance of UpdateNamespacePropertiesRequest from a dict
-update_namespace_properties_request_from_dict = UpdateNamespacePropertiesRequest.from_dict(update_namespace_properties_request_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/UpdateNamespacePropertiesResponse.md b/client/python/docs/UpdateNamespacePropertiesResponse.md
deleted file mode 100644
index 3615e9771a..0000000000
--- a/client/python/docs/UpdateNamespacePropertiesResponse.md
+++ /dev/null
@@ -1,51 +0,0 @@
-
-# UpdateNamespacePropertiesResponse
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**updated** | **List[str]** | List of property keys that were added or updated |
-**removed** | **List[str]** | List of properties that were removed |
-**missing** | **List[str]** | List of properties requested for removal that were not found in the namespace's properties. Represents a partial success response. Server's do not need to implement this. | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.update_namespace_properties_response import UpdateNamespacePropertiesResponse
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of UpdateNamespacePropertiesResponse from a JSON string
-update_namespace_properties_response_instance = UpdateNamespacePropertiesResponse.from_json(json)
-# print the JSON string representation of the object
-print(UpdateNamespacePropertiesResponse.to_json())
-
-# convert the object into a dict
-update_namespace_properties_response_dict = update_namespace_properties_response_instance.to_dict()
-# create an instance of UpdateNamespacePropertiesResponse from a dict
-update_namespace_properties_response_from_dict = UpdateNamespacePropertiesResponse.from_dict(update_namespace_properties_response_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/UpdatePolicyRequest.md b/client/python/docs/UpdatePolicyRequest.md
deleted file mode 100644
index b331eeef80..0000000000
--- a/client/python/docs/UpdatePolicyRequest.md
+++ /dev/null
@@ -1,51 +0,0 @@
-
-# UpdatePolicyRequest
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**description** | **str** | | [optional]
-**content** | **str** | | [optional]
-**current_policy_version** | **int** | | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.update_policy_request import UpdatePolicyRequest
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of UpdatePolicyRequest from a JSON string
-update_policy_request_instance = UpdatePolicyRequest.from_json(json)
-# print the JSON string representation of the object
-print(UpdatePolicyRequest.to_json())
-
-# convert the object into a dict
-update_policy_request_dict = update_policy_request_instance.to_dict()
-# create an instance of UpdatePolicyRequest from a dict
-update_policy_request_from_dict = UpdatePolicyRequest.from_dict(update_policy_request_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/UpdatePrincipalRequest.md b/client/python/docs/UpdatePrincipalRequest.md
deleted file mode 100644
index 39c0681c8e..0000000000
--- a/client/python/docs/UpdatePrincipalRequest.md
+++ /dev/null
@@ -1,51 +0,0 @@
-
-# UpdatePrincipalRequest
-
-Updates to apply to a Principal
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**current_entity_version** | **int** | The version of the object onto which this update is applied; if the object changed, the update will fail and the caller should retry after fetching the latest version. |
-**properties** | **Dict[str, str]** | |
-
-## Example
-
-```python
-from polaris.management.models.update_principal_request import UpdatePrincipalRequest
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of UpdatePrincipalRequest from a JSON string
-update_principal_request_instance = UpdatePrincipalRequest.from_json(json)
-# print the JSON string representation of the object
-print(UpdatePrincipalRequest.to_json())
-
-# convert the object into a dict
-update_principal_request_dict = update_principal_request_instance.to_dict()
-# create an instance of UpdatePrincipalRequest from a dict
-update_principal_request_from_dict = UpdatePrincipalRequest.from_dict(update_principal_request_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/UpdatePrincipalRoleRequest.md b/client/python/docs/UpdatePrincipalRoleRequest.md
deleted file mode 100644
index d174dcd065..0000000000
--- a/client/python/docs/UpdatePrincipalRoleRequest.md
+++ /dev/null
@@ -1,51 +0,0 @@
-
-# UpdatePrincipalRoleRequest
-
-Updates to apply to a Principal Role
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**current_entity_version** | **int** | The version of the object onto which this update is applied; if the object changed, the update will fail and the caller should retry after fetching the latest version. |
-**properties** | **Dict[str, str]** | |
-
-## Example
-
-```python
-from polaris.management.models.update_principal_role_request import UpdatePrincipalRoleRequest
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of UpdatePrincipalRoleRequest from a JSON string
-update_principal_role_request_instance = UpdatePrincipalRoleRequest.from_json(json)
-# print the JSON string representation of the object
-print(UpdatePrincipalRoleRequest.to_json())
-
-# convert the object into a dict
-update_principal_role_request_dict = update_principal_role_request_instance.to_dict()
-# create an instance of UpdatePrincipalRoleRequest from a dict
-update_principal_role_request_from_dict = UpdatePrincipalRoleRequest.from_dict(update_principal_role_request_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/UpgradeFormatVersionUpdate.md b/client/python/docs/UpgradeFormatVersionUpdate.md
deleted file mode 100644
index 539664cce1..0000000000
--- a/client/python/docs/UpgradeFormatVersionUpdate.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# UpgradeFormatVersionUpdate
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**action** | **str** | | [optional]
-**format_version** | **int** | |
-
-## Example
-
-```python
-from polaris.catalog.models.upgrade_format_version_update import UpgradeFormatVersionUpdate
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of UpgradeFormatVersionUpdate from a JSON string
-upgrade_format_version_update_instance = UpgradeFormatVersionUpdate.from_json(json)
-# print the JSON string representation of the object
-print(UpgradeFormatVersionUpdate.to_json())
-
-# convert the object into a dict
-upgrade_format_version_update_dict = upgrade_format_version_update_instance.to_dict()
-# create an instance of UpgradeFormatVersionUpdate from a dict
-upgrade_format_version_update_from_dict = UpgradeFormatVersionUpdate.from_dict(upgrade_format_version_update_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/ValueMap.md b/client/python/docs/ValueMap.md
deleted file mode 100644
index 16b4daea81..0000000000
--- a/client/python/docs/ValueMap.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# ValueMap
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**keys** | **List[int]** | List of integer column ids for each corresponding value | [optional]
-**values** | [**List[PrimitiveTypeValue]**](PrimitiveTypeValue.md) | List of primitive type values, matched to 'keys' by index | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.value_map import ValueMap
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of ValueMap from a JSON string
-value_map_instance = ValueMap.from_json(json)
-# print the JSON string representation of the object
-print(ValueMap.to_json())
-
-# convert the object into a dict
-value_map_dict = value_map_instance.to_dict()
-# create an instance of ValueMap from a dict
-value_map_from_dict = ValueMap.from_dict(value_map_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/ViewGrant.md b/client/python/docs/ViewGrant.md
deleted file mode 100644
index 6f96057ff2..0000000000
--- a/client/python/docs/ViewGrant.md
+++ /dev/null
@@ -1,51 +0,0 @@
-
-# ViewGrant
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**namespace** | **List[str]** | |
-**view_name** | **str** | |
-**privilege** | [**ViewPrivilege**](ViewPrivilege.md) | |
-
-## Example
-
-```python
-from polaris.management.models.view_grant import ViewGrant
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of ViewGrant from a JSON string
-view_grant_instance = ViewGrant.from_json(json)
-# print the JSON string representation of the object
-print(ViewGrant.to_json())
-
-# convert the object into a dict
-view_grant_dict = view_grant_instance.to_dict()
-# create an instance of ViewGrant from a dict
-view_grant_from_dict = ViewGrant.from_dict(view_grant_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/ViewHistoryEntry.md b/client/python/docs/ViewHistoryEntry.md
deleted file mode 100644
index bb07c24b58..0000000000
--- a/client/python/docs/ViewHistoryEntry.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# ViewHistoryEntry
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**version_id** | **int** | |
-**timestamp_ms** | **int** | |
-
-## Example
-
-```python
-from polaris.catalog.models.view_history_entry import ViewHistoryEntry
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of ViewHistoryEntry from a JSON string
-view_history_entry_instance = ViewHistoryEntry.from_json(json)
-# print the JSON string representation of the object
-print(ViewHistoryEntry.to_json())
-
-# convert the object into a dict
-view_history_entry_dict = view_history_entry_instance.to_dict()
-# create an instance of ViewHistoryEntry from a dict
-view_history_entry_from_dict = ViewHistoryEntry.from_dict(view_history_entry_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/ViewMetadata.md b/client/python/docs/ViewMetadata.md
deleted file mode 100644
index 2e31797e5e..0000000000
--- a/client/python/docs/ViewMetadata.md
+++ /dev/null
@@ -1,56 +0,0 @@
-
-# ViewMetadata
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**view_uuid** | **str** | |
-**format_version** | **int** | |
-**location** | **str** | |
-**current_version_id** | **int** | |
-**versions** | [**List[ViewVersion]**](ViewVersion.md) | |
-**version_log** | [**List[ViewHistoryEntry]**](ViewHistoryEntry.md) | |
-**schemas** | [**List[ModelSchema]**](ModelSchema.md) | |
-**properties** | **Dict[str, str]** | | [optional]
-
-## Example
-
-```python
-from polaris.catalog.models.view_metadata import ViewMetadata
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of ViewMetadata from a JSON string
-view_metadata_instance = ViewMetadata.from_json(json)
-# print the JSON string representation of the object
-print(ViewMetadata.to_json())
-
-# convert the object into a dict
-view_metadata_dict = view_metadata_instance.to_dict()
-# create an instance of ViewMetadata from a dict
-view_metadata_from_dict = ViewMetadata.from_dict(view_metadata_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/ViewPrivilege.md b/client/python/docs/ViewPrivilege.md
deleted file mode 100644
index db172d91e4..0000000000
--- a/client/python/docs/ViewPrivilege.md
+++ /dev/null
@@ -1,40 +0,0 @@
-
-# ViewPrivilege
-
-
-## Enum
-
-* `CATALOG_MANAGE_ACCESS` (value: `'CATALOG_MANAGE_ACCESS'`)
-
-* `VIEW_DROP` (value: `'VIEW_DROP'`)
-
-* `VIEW_LIST` (value: `'VIEW_LIST'`)
-
-* `VIEW_READ_PROPERTIES` (value: `'VIEW_READ_PROPERTIES'`)
-
-* `VIEW_WRITE_PROPERTIES` (value: `'VIEW_WRITE_PROPERTIES'`)
-
-* `VIEW_FULL_METADATA` (value: `'VIEW_FULL_METADATA'`)
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/ViewRepresentation.md b/client/python/docs/ViewRepresentation.md
deleted file mode 100644
index 1261d17281..0000000000
--- a/client/python/docs/ViewRepresentation.md
+++ /dev/null
@@ -1,51 +0,0 @@
-
-# ViewRepresentation
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**type** | **str** | |
-**sql** | **str** | |
-**dialect** | **str** | |
-
-## Example
-
-```python
-from polaris.catalog.models.view_representation import ViewRepresentation
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of ViewRepresentation from a JSON string
-view_representation_instance = ViewRepresentation.from_json(json)
-# print the JSON string representation of the object
-print(ViewRepresentation.to_json())
-
-# convert the object into a dict
-view_representation_dict = view_representation_instance.to_dict()
-# create an instance of ViewRepresentation from a dict
-view_representation_from_dict = ViewRepresentation.from_dict(view_representation_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/ViewRequirement.md b/client/python/docs/ViewRequirement.md
deleted file mode 100644
index 663b7c606e..0000000000
--- a/client/python/docs/ViewRequirement.md
+++ /dev/null
@@ -1,50 +0,0 @@
-
-# ViewRequirement
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**type** | **str** | |
-**uuid** | **str** | |
-
-## Example
-
-```python
-from polaris.catalog.models.view_requirement import ViewRequirement
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of ViewRequirement from a JSON string
-view_requirement_instance = ViewRequirement.from_json(json)
-# print the JSON string representation of the object
-print(ViewRequirement.to_json())
-
-# convert the object into a dict
-view_requirement_dict = view_requirement_instance.to_dict()
-# create an instance of ViewRequirement from a dict
-view_requirement_from_dict = ViewRequirement.from_dict(view_requirement_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/ViewUpdate.md b/client/python/docs/ViewUpdate.md
deleted file mode 100644
index 01d5038ab7..0000000000
--- a/client/python/docs/ViewUpdate.md
+++ /dev/null
@@ -1,57 +0,0 @@
-
-# ViewUpdate
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**action** | **str** | |
-**format_version** | **int** | |
-**var_schema** | [**ModelSchema**](ModelSchema.md) | |
-**last_column_id** | **int** | This optional field is **DEPRECATED for REMOVAL** since it more safe to handle this internally, and shouldn't be exposed to the clients. The highest assigned column ID for the table. This is used to ensure columns are always assigned an unused ID when evolving schemas. When omitted, it will be computed on the server side. | [optional]
-**location** | **str** | |
-**updates** | **Dict[str, str]** | |
-**removals** | **List[str]** | |
-**view_version** | [**ViewVersion**](ViewVersion.md) | |
-**view_version_id** | **int** | The view version id to set as current, or -1 to set last added view version id |
-
-## Example
-
-```python
-from polaris.catalog.models.view_update import ViewUpdate
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of ViewUpdate from a JSON string
-view_update_instance = ViewUpdate.from_json(json)
-# print the JSON string representation of the object
-print(ViewUpdate.to_json())
-
-# convert the object into a dict
-view_update_dict = view_update_instance.to_dict()
-# create an instance of ViewUpdate from a dict
-view_update_from_dict = ViewUpdate.from_dict(view_update_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/docs/ViewVersion.md b/client/python/docs/ViewVersion.md
deleted file mode 100644
index 87cf0af634..0000000000
--- a/client/python/docs/ViewVersion.md
+++ /dev/null
@@ -1,55 +0,0 @@
-
-# ViewVersion
-
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**version_id** | **int** | |
-**timestamp_ms** | **int** | |
-**schema_id** | **int** | Schema ID to set as current, or -1 to set last added schema |
-**summary** | **Dict[str, str]** | |
-**representations** | [**List[ViewRepresentation]**](ViewRepresentation.md) | |
-**default_catalog** | **str** | | [optional]
-**default_namespace** | **List[str]** | Reference to one or more levels of a namespace |
-
-## Example
-
-```python
-from polaris.catalog.models.view_version import ViewVersion
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of ViewVersion from a JSON string
-view_version_instance = ViewVersion.from_json(json)
-# print the JSON string representation of the object
-print(ViewVersion.to_json())
-
-# convert the object into a dict
-view_version_dict = view_version_instance.to_dict()
-# create an instance of ViewVersion from a dict
-view_version_from_dict = ViewVersion.from_dict(view_version_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/client/python/git_push.sh b/client/python/git_push.sh
deleted file mode 100644
index 6d37f6aa56..0000000000
--- a/client/python/git_push.sh
+++ /dev/null
@@ -1,76 +0,0 @@
-#!/bin/sh
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-#!/bin/sh
-# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
-#
-# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com"
-
-git_user_id=$1
-git_repo_id=$2
-release_note=$3
-git_host=$4
-
-if [ "$git_host" = "" ]; then
- git_host="github.com"
- echo "[INFO] No command line input provided. Set \$git_host to $git_host"
-fi
-
-if [ "$git_user_id" = "" ]; then
- git_user_id="GIT_USER_ID"
- echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
-fi
-
-if [ "$git_repo_id" = "" ]; then
- git_repo_id="GIT_REPO_ID"
- echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
-fi
-
-if [ "$release_note" = "" ]; then
- release_note="Minor update"
- echo "[INFO] No command line input provided. Set \$release_note to $release_note"
-fi
-
-# Initialize the local directory as a Git repository
-git init
-
-# Adds the files in the local repository and stages them for commit.
-git add .
-
-# Commits the tracked changes and prepares them to be pushed to a remote repository.
-git commit -m "$release_note"
-
-# Sets the new remote
-git_remote=$(git remote)
-if [ "$git_remote" = "" ]; then # git remote not defined
-
- if [ "$GIT_TOKEN" = "" ]; then
- echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
- git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
- else
- git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git
- fi
-
-fi
-
-git pull origin master
-
-# Pushes (Forces) the changes in the local repository up to the remote repository
-echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
-git push origin master 2>&1 | grep -v 'To https'
diff --git a/client/python/polaris/catalog/configuration.py b/client/python/polaris/catalog/configuration.py
deleted file mode 100644
index 6259fba54e..0000000000
--- a/client/python/polaris/catalog/configuration.py
+++ /dev/null
@@ -1,637 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Iceberg REST Catalog API
-
- Defines the specification for the first version of the REST Catalog API. Implementations should ideally support both Iceberg table specs v1 and v2, with priority given to v2.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import copy
-import http.client as httplib
-import logging
-from logging import FileHandler
-import multiprocessing
-import sys
-from typing import Any, ClassVar, Dict, List, Literal, Optional, TypedDict
-from typing_extensions import NotRequired, Self
-
-import urllib3
-
-
-JSON_SCHEMA_VALIDATION_KEYWORDS = {
- 'multipleOf', 'maximum', 'exclusiveMaximum',
- 'minimum', 'exclusiveMinimum', 'maxLength',
- 'minLength', 'pattern', 'maxItems', 'minItems'
-}
-
-ServerVariablesT = Dict[str, str]
-
-GenericAuthSetting = TypedDict(
- "GenericAuthSetting",
- {
- "type": str,
- "in": str,
- "key": str,
- "value": str,
- },
-)
-
-
-OAuth2AuthSetting = TypedDict(
- "OAuth2AuthSetting",
- {
- "type": Literal["oauth2"],
- "in": Literal["header"],
- "key": Literal["Authorization"],
- "value": str,
- },
-)
-
-
-APIKeyAuthSetting = TypedDict(
- "APIKeyAuthSetting",
- {
- "type": Literal["api_key"],
- "in": str,
- "key": str,
- "value": Optional[str],
- },
-)
-
-
-BasicAuthSetting = TypedDict(
- "BasicAuthSetting",
- {
- "type": Literal["basic"],
- "in": Literal["header"],
- "key": Literal["Authorization"],
- "value": Optional[str],
- },
-)
-
-
-BearerFormatAuthSetting = TypedDict(
- "BearerFormatAuthSetting",
- {
- "type": Literal["bearer"],
- "in": Literal["header"],
- "format": Literal["JWT"],
- "key": Literal["Authorization"],
- "value": str,
- },
-)
-
-
-BearerAuthSetting = TypedDict(
- "BearerAuthSetting",
- {
- "type": Literal["bearer"],
- "in": Literal["header"],
- "key": Literal["Authorization"],
- "value": str,
- },
-)
-
-
-HTTPSignatureAuthSetting = TypedDict(
- "HTTPSignatureAuthSetting",
- {
- "type": Literal["http-signature"],
- "in": Literal["header"],
- "key": Literal["Authorization"],
- "value": None,
- },
-)
-
-
-AuthSettings = TypedDict(
- "AuthSettings",
- {
- "OAuth2": OAuth2AuthSetting,
- "BearerAuth": BearerAuthSetting,
- },
- total=False,
-)
-
-
-class HostSettingVariable(TypedDict):
- description: str
- default_value: str
- enum_values: List[str]
-
-
-class HostSetting(TypedDict):
- url: str
- description: str
- variables: NotRequired[Dict[str, HostSettingVariable]]
-
-
-class Configuration:
- """This class contains various settings of the API client.
-
- :param host: Base url.
- :param ignore_operation_servers
- Boolean to ignore operation servers for the API client.
- Config will use `host` as the base url regardless of the operation servers.
- :param api_key: Dict to store API key(s).
- Each entry in the dict specifies an API key.
- The dict key is the name of the security scheme in the OAS specification.
- The dict value is the API key secret.
- :param api_key_prefix: Dict to store API prefix (e.g. Bearer).
- The dict key is the name of the security scheme in the OAS specification.
- The dict value is an API key prefix when generating the auth data.
- :param username: Username for HTTP basic authentication.
- :param password: Password for HTTP basic authentication.
- :param access_token: Access token.
- :param server_index: Index to servers configuration.
- :param server_variables: Mapping with string values to replace variables in
- templated server configuration. The validation of enums is performed for
- variables with defined enum values before.
- :param server_operation_index: Mapping from operation ID to an index to server
- configuration.
- :param server_operation_variables: Mapping from operation ID to a mapping with
- string values to replace variables in templated server configuration.
- The validation of enums is performed for variables with defined enum
- values before.
- :param ssl_ca_cert: str - the path to a file of concatenated CA certificates
- in PEM format.
- :param retries: Number of retries for API requests.
-
- :Example:
- """
-
- _default: ClassVar[Optional[Self]] = None
-
- def __init__(
- self,
- host: Optional[str]=None,
- api_key: Optional[Dict[str, str]]=None,
- api_key_prefix: Optional[Dict[str, str]]=None,
- username: Optional[str]=None,
- password: Optional[str]=None,
- access_token: Optional[str]=None,
- server_index: Optional[int]=None,
- server_variables: Optional[ServerVariablesT]=None,
- server_operation_index: Optional[Dict[int, int]]=None,
- server_operation_variables: Optional[Dict[int, ServerVariablesT]]=None,
- ignore_operation_servers: bool=False,
- ssl_ca_cert: Optional[str]=None,
- retries: Optional[int] = None,
- *,
- debug: Optional[bool] = None,
- ) -> None:
- """Constructor
- """
- self._base_path = "https://localhost" if host is None else host
- """Default Base url
- """
- self.server_index = 0 if server_index is None and host is None else server_index
- self.server_operation_index = server_operation_index or {}
- """Default server index
- """
- self.server_variables = server_variables or {}
- self.server_operation_variables = server_operation_variables or {}
- """Default server variables
- """
- self.ignore_operation_servers = ignore_operation_servers
- """Ignore operation servers
- """
- self.temp_folder_path = None
- """Temp file folder for downloading files
- """
- # Authentication Settings
- self.api_key = {}
- if api_key:
- self.api_key = api_key
- """dict to store API key(s)
- """
- self.api_key_prefix = {}
- if api_key_prefix:
- self.api_key_prefix = api_key_prefix
- """dict to store API prefix (e.g. Bearer)
- """
- self.refresh_api_key_hook = None
- """function hook to refresh API key if expired
- """
- self.username = username
- """Username for HTTP basic authentication
- """
- self.password = password
- """Password for HTTP basic authentication
- """
- self.access_token = access_token
- """Access token
- """
- self.logger = {}
- """Logging Settings
- """
- self.logger["package_logger"] = logging.getLogger("polaris.catalog")
- self.logger["urllib3_logger"] = logging.getLogger("urllib3")
- self.logger_format = '%(asctime)s %(levelname)s %(message)s'
- """Log format
- """
- self.logger_stream_handler = None
- """Log stream handler
- """
- self.logger_file_handler: Optional[FileHandler] = None
- """Log file handler
- """
- self.logger_file = None
- """Debug file location
- """
- if debug is not None:
- self.debug = debug
- else:
- self.__debug = False
- """Debug switch
- """
-
- self.verify_ssl = True
- """SSL/TLS verification
- Set this to false to skip verifying SSL certificate when calling API
- from https server.
- """
- self.ssl_ca_cert = ssl_ca_cert
- """Set this to customize the certificate file to verify the peer.
- """
- self.cert_file = None
- """client certificate file
- """
- self.key_file = None
- """client key file
- """
- self.assert_hostname = None
- """Set this to True/False to enable/disable SSL hostname verification.
- """
- self.tls_server_name = None
- """SSL/TLS Server Name Indication (SNI)
- Set this to the SNI value expected by the server.
- """
-
- self.connection_pool_maxsize = multiprocessing.cpu_count() * 5
- """urllib3 connection pool's maximum number of connections saved
- per pool. urllib3 uses 1 connection as default value, but this is
- not the best value when you are making a lot of possibly parallel
- requests to the same host, which is often the case here.
- cpu_count * 5 is used as default value to increase performance.
- """
-
- self.proxy: Optional[str] = None
- """Proxy URL
- """
- self.proxy_headers = None
- """Proxy headers
- """
- self.safe_chars_for_path_param = ''
- """Safe chars for path_param
- """
- self.retries = retries
- """Adding retries to override urllib3 default value 3
- """
- # Enable client side validation
- self.client_side_validation = True
-
- self.socket_options = None
- """Options to pass down to the underlying urllib3 socket
- """
-
- self.datetime_format = "%Y-%m-%dT%H:%M:%S.%f%z"
- """datetime format
- """
-
- self.date_format = "%Y-%m-%d"
- """date format
- """
-
- def __deepcopy__(self, memo: Dict[int, Any]) -> Self:
- cls = self.__class__
- result = cls.__new__(cls)
- memo[id(self)] = result
- for k, v in self.__dict__.items():
- if k not in ('logger', 'logger_file_handler'):
- setattr(result, k, copy.deepcopy(v, memo))
- # shallow copy of loggers
- result.logger = copy.copy(self.logger)
- # use setters to configure loggers
- result.logger_file = self.logger_file
- result.debug = self.debug
- return result
-
- def __setattr__(self, name: str, value: Any) -> None:
- object.__setattr__(self, name, value)
-
- @classmethod
- def set_default(cls, default: Optional[Self]) -> None:
- """Set default instance of configuration.
-
- It stores default configuration, which can be
- returned by get_default_copy method.
-
- :param default: object of Configuration
- """
- cls._default = default
-
- @classmethod
- def get_default_copy(cls) -> Self:
- """Deprecated. Please use `get_default` instead.
-
- Deprecated. Please use `get_default` instead.
-
- :return: The configuration object.
- """
- return cls.get_default()
-
- @classmethod
- def get_default(cls) -> Self:
- """Return the default configuration.
-
- This method returns newly created, based on default constructor,
- object of Configuration class or returns a copy of default
- configuration.
-
- :return: The configuration object.
- """
- if cls._default is None:
- cls._default = cls()
- return cls._default
-
- @property
- def logger_file(self) -> Optional[str]:
- """The logger file.
-
- If the logger_file is None, then add stream handler and remove file
- handler. Otherwise, add file handler and remove stream handler.
-
- :param value: The logger_file path.
- :type: str
- """
- return self.__logger_file
-
- @logger_file.setter
- def logger_file(self, value: Optional[str]) -> None:
- """The logger file.
-
- If the logger_file is None, then add stream handler and remove file
- handler. Otherwise, add file handler and remove stream handler.
-
- :param value: The logger_file path.
- :type: str
- """
- self.__logger_file = value
- if self.__logger_file:
- # If set logging file,
- # then add file handler and remove stream handler.
- self.logger_file_handler = logging.FileHandler(self.__logger_file)
- self.logger_file_handler.setFormatter(self.logger_formatter)
- for _, logger in self.logger.items():
- logger.addHandler(self.logger_file_handler)
-
- @property
- def debug(self) -> bool:
- """Debug status
-
- :param value: The debug status, True or False.
- :type: bool
- """
- return self.__debug
-
- @debug.setter
- def debug(self, value: bool) -> None:
- """Debug status
-
- :param value: The debug status, True or False.
- :type: bool
- """
- self.__debug = value
- if self.__debug:
- # if debug status is True, turn on debug logging
- for _, logger in self.logger.items():
- logger.setLevel(logging.DEBUG)
- # turn on httplib debug
- httplib.HTTPConnection.debuglevel = 1
- else:
- # if debug status is False, turn off debug logging,
- # setting log level to default `logging.WARNING`
- for _, logger in self.logger.items():
- logger.setLevel(logging.WARNING)
- # turn off httplib debug
- httplib.HTTPConnection.debuglevel = 0
-
- @property
- def logger_format(self) -> str:
- """The logger format.
-
- The logger_formatter will be updated when sets logger_format.
-
- :param value: The format string.
- :type: str
- """
- return self.__logger_format
-
- @logger_format.setter
- def logger_format(self, value: str) -> None:
- """The logger format.
-
- The logger_formatter will be updated when sets logger_format.
-
- :param value: The format string.
- :type: str
- """
- self.__logger_format = value
- self.logger_formatter = logging.Formatter(self.__logger_format)
-
- def get_api_key_with_prefix(self, identifier: str, alias: Optional[str]=None) -> Optional[str]:
- """Gets API key (with prefix if set).
-
- :param identifier: The identifier of apiKey.
- :param alias: The alternative identifier of apiKey.
- :return: The token for api key authentication.
- """
- if self.refresh_api_key_hook is not None:
- self.refresh_api_key_hook(self)
- key = self.api_key.get(identifier, self.api_key.get(alias) if alias is not None else None)
- if key:
- prefix = self.api_key_prefix.get(identifier)
- if prefix:
- return "%s %s" % (prefix, key)
- else:
- return key
-
- return None
-
- def get_basic_auth_token(self) -> Optional[str]:
- """Gets HTTP basic authentication header (string).
-
- :return: The token for basic HTTP authentication.
- """
- username = ""
- if self.username is not None:
- username = self.username
- password = ""
- if self.password is not None:
- password = self.password
- return urllib3.util.make_headers(
- basic_auth=username + ':' + password
- ).get('authorization')
-
- def auth_settings(self)-> AuthSettings:
- """Gets Auth Settings dict for api client.
-
- :return: The Auth Settings information dict.
- """
- auth: AuthSettings = {}
- if self.access_token is not None:
- auth['OAuth2'] = {
- 'type': 'oauth2',
- 'in': 'header',
- 'key': 'Authorization',
- 'value': 'Bearer ' + self.access_token
- }
- if self.access_token is not None:
- auth['BearerAuth'] = {
- 'type': 'bearer',
- 'in': 'header',
- 'key': 'Authorization',
- 'value': 'Bearer ' + self.access_token
- }
- return auth
-
- def to_debug_report(self) -> str:
- """Gets the essential information for debugging.
-
- :return: The report for debugging.
- """
- return "Python SDK Debug Report:\n"\
- "OS: {env}\n"\
- "Python Version: {pyversion}\n"\
- "Version of the API: 0.0.1\n"\
- "SDK Package Version: 1.0.0".\
- format(env=sys.platform, pyversion=sys.version)
-
- def get_host_settings(self) -> List[HostSetting]:
- """Gets an array of host settings
-
- :return: An array of host settings
- """
- return [
- {
- 'url': "{scheme}://{host}/{basePath}",
- 'description': "Server URL when the port can be inferred from the scheme",
- 'variables': {
- 'scheme': {
- 'description': "The scheme of the URI, either http or https.",
- 'default_value': "https",
- },
- 'host': {
- 'description': "The host address for the specified server",
- 'default_value': "localhost",
- },
- 'basePath': {
- 'description': "Optional prefix to be appended to all routes",
- 'default_value': "",
- }
- }
- },
- {
- 'url': "{scheme}://{host}:{port}/{basePath}",
- 'description': "Generic base server URL, with all parts configurable",
- 'variables': {
- 'scheme': {
- 'description': "The scheme of the URI, either http or https.",
- 'default_value': "https",
- },
- 'host': {
- 'description': "The host address for the specified server",
- 'default_value': "localhost",
- },
- 'port': {
- 'description': "The port used when addressing the host",
- 'default_value': "443",
- },
- 'basePath': {
- 'description': "Optional prefix to be appended to all routes",
- 'default_value': "",
- }
- }
- }
- ]
-
- def get_host_from_settings(
- self,
- index: Optional[int],
- variables: Optional[ServerVariablesT]=None,
- servers: Optional[List[HostSetting]]=None,
- ) -> str:
- """Gets host URL based on the index and variables
- :param index: array index of the host settings
- :param variables: hash of variable and the corresponding value
- :param servers: an array of host settings or None
- :return: URL based on host settings
- """
- if index is None:
- return self._base_path
-
- variables = {} if variables is None else variables
- servers = self.get_host_settings() if servers is None else servers
-
- try:
- server = servers[index]
- except IndexError:
- raise ValueError(
- "Invalid index {0} when selecting the host settings. "
- "Must be less than {1}".format(index, len(servers)))
-
- url = server['url']
-
- # go through variables and replace placeholders
- for variable_name, variable in server.get('variables', {}).items():
- used_value = variables.get(
- variable_name, variable['default_value'])
-
- if 'enum_values' in variable \
- and used_value not in variable['enum_values']:
- raise ValueError(
- "The variable `{0}` in the host URL has invalid value "
- "{1}. Must be {2}.".format(
- variable_name, variables[variable_name],
- variable['enum_values']))
-
- url = url.replace("{" + variable_name + "}", used_value)
-
- return url
-
- @property
- def host(self) -> str:
- """Return generated host."""
- return self.get_host_from_settings(self.server_index, variables=self.server_variables)
-
- @host.setter
- def host(self, value: str) -> None:
- """Fix base path."""
- self._base_path = value
- self.server_index = None
diff --git a/client/python/polaris/catalog/rest.py b/client/python/polaris/catalog/rest.py
deleted file mode 100644
index d5fddb043e..0000000000
--- a/client/python/polaris/catalog/rest.py
+++ /dev/null
@@ -1,276 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Iceberg REST Catalog API
-
- Defines the specification for the first version of the REST Catalog API. Implementations should ideally support both Iceberg table specs v1 and v2, with priority given to v2.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import io
-import json
-import re
-import ssl
-
-import urllib3
-
-from polaris.catalog.exceptions import ApiException, ApiValueError
-
-SUPPORTED_SOCKS_PROXIES = {"socks5", "socks5h", "socks4", "socks4a"}
-RESTResponseType = urllib3.HTTPResponse
-
-
-def is_socks_proxy_url(url):
- if url is None:
- return False
- split_section = url.split("://")
- if len(split_section) < 2:
- return False
- else:
- return split_section[0].lower() in SUPPORTED_SOCKS_PROXIES
-
-
-class RESTResponse(io.IOBase):
-
- def __init__(self, resp) -> None:
- self.response = resp
- self.status = resp.status
- self.reason = resp.reason
- self.data = None
-
- def read(self):
- if self.data is None:
- self.data = self.response.data
- return self.data
-
- def getheaders(self):
- """Returns a dictionary of the response headers."""
- return self.response.headers
-
- def getheader(self, name, default=None):
- """Returns a given response header."""
- return self.response.headers.get(name, default)
-
-
-class RESTClientObject:
-
- def __init__(self, configuration) -> None:
- # urllib3.PoolManager will pass all kw parameters to connectionpool
- # https://github.com/shazow/urllib3/blob/f9409436f83aeb79fbaf090181cd81b784f1b8ce/urllib3/poolmanager.py#L75 # noqa: E501
- # https://github.com/shazow/urllib3/blob/f9409436f83aeb79fbaf090181cd81b784f1b8ce/urllib3/connectionpool.py#L680 # noqa: E501
- # Custom SSL certificates and client certificates: http://urllib3.readthedocs.io/en/latest/advanced-usage.html # noqa: E501
-
- # cert_reqs
- if configuration.verify_ssl:
- cert_reqs = ssl.CERT_REQUIRED
- else:
- cert_reqs = ssl.CERT_NONE
-
- pool_args = {
- "cert_reqs": cert_reqs,
- "ca_certs": configuration.ssl_ca_cert,
- "cert_file": configuration.cert_file,
- "key_file": configuration.key_file,
- }
- if configuration.assert_hostname is not None:
- pool_args['assert_hostname'] = (
- configuration.assert_hostname
- )
-
- if configuration.retries is not None:
- pool_args['retries'] = configuration.retries
-
- if configuration.tls_server_name:
- pool_args['server_hostname'] = configuration.tls_server_name
-
-
- if configuration.socket_options is not None:
- pool_args['socket_options'] = configuration.socket_options
-
- if configuration.connection_pool_maxsize is not None:
- pool_args['maxsize'] = configuration.connection_pool_maxsize
-
- # https pool manager
- self.pool_manager: urllib3.PoolManager
-
- if configuration.proxy:
- if is_socks_proxy_url(configuration.proxy):
- from urllib3.contrib.socks import SOCKSProxyManager
- pool_args["proxy_url"] = configuration.proxy
- pool_args["headers"] = configuration.proxy_headers
- self.pool_manager = SOCKSProxyManager(**pool_args)
- else:
- pool_args["proxy_url"] = configuration.proxy
- pool_args["proxy_headers"] = configuration.proxy_headers
- self.pool_manager = urllib3.ProxyManager(**pool_args)
- else:
- self.pool_manager = urllib3.PoolManager(**pool_args)
-
- def request(
- self,
- method,
- url,
- headers=None,
- body=None,
- post_params=None,
- _request_timeout=None
- ):
- """Perform requests.
-
- :param method: http request method
- :param url: http request url
- :param headers: http request headers
- :param body: request json body, for `application/json`
- :param post_params: request post parameters,
- `application/x-www-form-urlencoded`
- and `multipart/form-data`
- :param _request_timeout: timeout setting for this request. If one
- number provided, it will be total request
- timeout. It can also be a pair (tuple) of
- (connection, read) timeouts.
- """
- method = method.upper()
- assert method in [
- 'GET',
- 'HEAD',
- 'DELETE',
- 'POST',
- 'PUT',
- 'PATCH',
- 'OPTIONS'
- ]
-
- if post_params and body:
- raise ApiValueError(
- "body parameter cannot be used with post_params parameter."
- )
-
- post_params = post_params or {}
- headers = headers or {}
-
- timeout = None
- if _request_timeout:
- if isinstance(_request_timeout, (int, float)):
- timeout = urllib3.Timeout(total=_request_timeout)
- elif (
- isinstance(_request_timeout, tuple)
- and len(_request_timeout) == 2
- ):
- timeout = urllib3.Timeout(
- connect=_request_timeout[0],
- read=_request_timeout[1]
- )
-
- try:
- # For `POST`, `PUT`, `PATCH`, `OPTIONS`, `DELETE`
- if method in ['POST', 'PUT', 'PATCH', 'OPTIONS', 'DELETE']:
-
- # no content type provided or payload is json
- content_type = headers.get('Content-Type')
- if (
- not content_type
- or re.search('json', content_type, re.IGNORECASE)
- ):
- request_body = None
- if body is not None:
- request_body = json.dumps(body)
- r = self.pool_manager.request(
- method,
- url,
- body=request_body,
- timeout=timeout,
- headers=headers,
- preload_content=False
- )
- elif content_type == 'application/x-www-form-urlencoded':
- r = self.pool_manager.request(
- method,
- url,
- fields=post_params,
- encode_multipart=False,
- timeout=timeout,
- headers=headers,
- preload_content=False
- )
- elif content_type == 'multipart/form-data':
- # must del headers['Content-Type'], or the correct
- # Content-Type which generated by urllib3 will be
- # overwritten.
- del headers['Content-Type']
- # Ensures that dict objects are serialized
- post_params = [(a, json.dumps(b)) if isinstance(b, dict) else (a,b) for a, b in post_params]
- r = self.pool_manager.request(
- method,
- url,
- fields=post_params,
- encode_multipart=True,
- timeout=timeout,
- headers=headers,
- preload_content=False
- )
- # Pass a `string` parameter directly in the body to support
- # other content types than JSON when `body` argument is
- # provided in serialized form.
- elif isinstance(body, str) or isinstance(body, bytes):
- r = self.pool_manager.request(
- method,
- url,
- body=body,
- timeout=timeout,
- headers=headers,
- preload_content=False
- )
- elif headers['Content-Type'].startswith('text/') and isinstance(body, bool):
- request_body = "true" if body else "false"
- r = self.pool_manager.request(
- method,
- url,
- body=request_body,
- preload_content=False,
- timeout=timeout,
- headers=headers)
- else:
- # Cannot generate the request from given parameters
- msg = """Cannot prepare a request message for provided
- arguments. Please check that your arguments match
- declared content type."""
- raise ApiException(status=0, reason=msg)
- # For `GET`, `HEAD`
- else:
- r = self.pool_manager.request(
- method,
- url,
- fields={},
- timeout=timeout,
- headers=headers,
- preload_content=False
- )
- except urllib3.exceptions.SSLError as e:
- msg = "\n".join([type(e).__name__, str(e)])
- raise ApiException(status=0, reason=msg)
-
- return RESTResponse(r)
diff --git a/client/python/polaris/management/configuration.py b/client/python/polaris/management/configuration.py
deleted file mode 100644
index 714dac242b..0000000000
--- a/client/python/polaris/management/configuration.py
+++ /dev/null
@@ -1,603 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import copy
-import http.client as httplib
-import logging
-from logging import FileHandler
-import multiprocessing
-import sys
-from typing import Any, ClassVar, Dict, List, Literal, Optional, TypedDict
-from typing_extensions import NotRequired, Self
-
-import urllib3
-
-
-JSON_SCHEMA_VALIDATION_KEYWORDS = {
- 'multipleOf', 'maximum', 'exclusiveMaximum',
- 'minimum', 'exclusiveMinimum', 'maxLength',
- 'minLength', 'pattern', 'maxItems', 'minItems'
-}
-
-ServerVariablesT = Dict[str, str]
-
-GenericAuthSetting = TypedDict(
- "GenericAuthSetting",
- {
- "type": str,
- "in": str,
- "key": str,
- "value": str,
- },
-)
-
-
-OAuth2AuthSetting = TypedDict(
- "OAuth2AuthSetting",
- {
- "type": Literal["oauth2"],
- "in": Literal["header"],
- "key": Literal["Authorization"],
- "value": str,
- },
-)
-
-
-APIKeyAuthSetting = TypedDict(
- "APIKeyAuthSetting",
- {
- "type": Literal["api_key"],
- "in": str,
- "key": str,
- "value": Optional[str],
- },
-)
-
-
-BasicAuthSetting = TypedDict(
- "BasicAuthSetting",
- {
- "type": Literal["basic"],
- "in": Literal["header"],
- "key": Literal["Authorization"],
- "value": Optional[str],
- },
-)
-
-
-BearerFormatAuthSetting = TypedDict(
- "BearerFormatAuthSetting",
- {
- "type": Literal["bearer"],
- "in": Literal["header"],
- "format": Literal["JWT"],
- "key": Literal["Authorization"],
- "value": str,
- },
-)
-
-
-BearerAuthSetting = TypedDict(
- "BearerAuthSetting",
- {
- "type": Literal["bearer"],
- "in": Literal["header"],
- "key": Literal["Authorization"],
- "value": str,
- },
-)
-
-
-HTTPSignatureAuthSetting = TypedDict(
- "HTTPSignatureAuthSetting",
- {
- "type": Literal["http-signature"],
- "in": Literal["header"],
- "key": Literal["Authorization"],
- "value": None,
- },
-)
-
-
-AuthSettings = TypedDict(
- "AuthSettings",
- {
- "OAuth2": OAuth2AuthSetting,
- },
- total=False,
-)
-
-
-class HostSettingVariable(TypedDict):
- description: str
- default_value: str
- enum_values: List[str]
-
-
-class HostSetting(TypedDict):
- url: str
- description: str
- variables: NotRequired[Dict[str, HostSettingVariable]]
-
-
-class Configuration:
- """This class contains various settings of the API client.
-
- :param host: Base url.
- :param ignore_operation_servers
- Boolean to ignore operation servers for the API client.
- Config will use `host` as the base url regardless of the operation servers.
- :param api_key: Dict to store API key(s).
- Each entry in the dict specifies an API key.
- The dict key is the name of the security scheme in the OAS specification.
- The dict value is the API key secret.
- :param api_key_prefix: Dict to store API prefix (e.g. Bearer).
- The dict key is the name of the security scheme in the OAS specification.
- The dict value is an API key prefix when generating the auth data.
- :param username: Username for HTTP basic authentication.
- :param password: Password for HTTP basic authentication.
- :param access_token: Access token.
- :param server_index: Index to servers configuration.
- :param server_variables: Mapping with string values to replace variables in
- templated server configuration. The validation of enums is performed for
- variables with defined enum values before.
- :param server_operation_index: Mapping from operation ID to an index to server
- configuration.
- :param server_operation_variables: Mapping from operation ID to a mapping with
- string values to replace variables in templated server configuration.
- The validation of enums is performed for variables with defined enum
- values before.
- :param ssl_ca_cert: str - the path to a file of concatenated CA certificates
- in PEM format.
- :param retries: Number of retries for API requests.
-
- :Example:
- """
-
- _default: ClassVar[Optional[Self]] = None
-
- def __init__(
- self,
- host: Optional[str]=None,
- api_key: Optional[Dict[str, str]]=None,
- api_key_prefix: Optional[Dict[str, str]]=None,
- username: Optional[str]=None,
- password: Optional[str]=None,
- access_token: Optional[str]=None,
- server_index: Optional[int]=None,
- server_variables: Optional[ServerVariablesT]=None,
- server_operation_index: Optional[Dict[int, int]]=None,
- server_operation_variables: Optional[Dict[int, ServerVariablesT]]=None,
- ignore_operation_servers: bool=False,
- ssl_ca_cert: Optional[str]=None,
- retries: Optional[int] = None,
- *,
- debug: Optional[bool] = None,
- ) -> None:
- """Constructor
- """
- self._base_path = "https://localhost/api/management/v1" if host is None else host
- """Default Base url
- """
- self.server_index = 0 if server_index is None and host is None else server_index
- self.server_operation_index = server_operation_index or {}
- """Default server index
- """
- self.server_variables = server_variables or {}
- self.server_operation_variables = server_operation_variables or {}
- """Default server variables
- """
- self.ignore_operation_servers = ignore_operation_servers
- """Ignore operation servers
- """
- self.temp_folder_path = None
- """Temp file folder for downloading files
- """
- # Authentication Settings
- self.api_key = {}
- if api_key:
- self.api_key = api_key
- """dict to store API key(s)
- """
- self.api_key_prefix = {}
- if api_key_prefix:
- self.api_key_prefix = api_key_prefix
- """dict to store API prefix (e.g. Bearer)
- """
- self.refresh_api_key_hook = None
- """function hook to refresh API key if expired
- """
- self.username = username
- """Username for HTTP basic authentication
- """
- self.password = password
- """Password for HTTP basic authentication
- """
- self.access_token = access_token
- """Access token
- """
- self.logger = {}
- """Logging Settings
- """
- self.logger["package_logger"] = logging.getLogger("polaris.management")
- self.logger["urllib3_logger"] = logging.getLogger("urllib3")
- self.logger_format = '%(asctime)s %(levelname)s %(message)s'
- """Log format
- """
- self.logger_stream_handler = None
- """Log stream handler
- """
- self.logger_file_handler: Optional[FileHandler] = None
- """Log file handler
- """
- self.logger_file = None
- """Debug file location
- """
- if debug is not None:
- self.debug = debug
- else:
- self.__debug = False
- """Debug switch
- """
-
- self.verify_ssl = True
- """SSL/TLS verification
- Set this to false to skip verifying SSL certificate when calling API
- from https server.
- """
- self.ssl_ca_cert = ssl_ca_cert
- """Set this to customize the certificate file to verify the peer.
- """
- self.cert_file = None
- """client certificate file
- """
- self.key_file = None
- """client key file
- """
- self.assert_hostname = None
- """Set this to True/False to enable/disable SSL hostname verification.
- """
- self.tls_server_name = None
- """SSL/TLS Server Name Indication (SNI)
- Set this to the SNI value expected by the server.
- """
-
- self.connection_pool_maxsize = multiprocessing.cpu_count() * 5
- """urllib3 connection pool's maximum number of connections saved
- per pool. urllib3 uses 1 connection as default value, but this is
- not the best value when you are making a lot of possibly parallel
- requests to the same host, which is often the case here.
- cpu_count * 5 is used as default value to increase performance.
- """
-
- self.proxy: Optional[str] = None
- """Proxy URL
- """
- self.proxy_headers = None
- """Proxy headers
- """
- self.safe_chars_for_path_param = ''
- """Safe chars for path_param
- """
- self.retries = retries
- """Adding retries to override urllib3 default value 3
- """
- # Enable client side validation
- self.client_side_validation = True
-
- self.socket_options = None
- """Options to pass down to the underlying urllib3 socket
- """
-
- self.datetime_format = "%Y-%m-%dT%H:%M:%S.%f%z"
- """datetime format
- """
-
- self.date_format = "%Y-%m-%d"
- """date format
- """
-
- def __deepcopy__(self, memo: Dict[int, Any]) -> Self:
- cls = self.__class__
- result = cls.__new__(cls)
- memo[id(self)] = result
- for k, v in self.__dict__.items():
- if k not in ('logger', 'logger_file_handler'):
- setattr(result, k, copy.deepcopy(v, memo))
- # shallow copy of loggers
- result.logger = copy.copy(self.logger)
- # use setters to configure loggers
- result.logger_file = self.logger_file
- result.debug = self.debug
- return result
-
- def __setattr__(self, name: str, value: Any) -> None:
- object.__setattr__(self, name, value)
-
- @classmethod
- def set_default(cls, default: Optional[Self]) -> None:
- """Set default instance of configuration.
-
- It stores default configuration, which can be
- returned by get_default_copy method.
-
- :param default: object of Configuration
- """
- cls._default = default
-
- @classmethod
- def get_default_copy(cls) -> Self:
- """Deprecated. Please use `get_default` instead.
-
- Deprecated. Please use `get_default` instead.
-
- :return: The configuration object.
- """
- return cls.get_default()
-
- @classmethod
- def get_default(cls) -> Self:
- """Return the default configuration.
-
- This method returns newly created, based on default constructor,
- object of Configuration class or returns a copy of default
- configuration.
-
- :return: The configuration object.
- """
- if cls._default is None:
- cls._default = cls()
- return cls._default
-
- @property
- def logger_file(self) -> Optional[str]:
- """The logger file.
-
- If the logger_file is None, then add stream handler and remove file
- handler. Otherwise, add file handler and remove stream handler.
-
- :param value: The logger_file path.
- :type: str
- """
- return self.__logger_file
-
- @logger_file.setter
- def logger_file(self, value: Optional[str]) -> None:
- """The logger file.
-
- If the logger_file is None, then add stream handler and remove file
- handler. Otherwise, add file handler and remove stream handler.
-
- :param value: The logger_file path.
- :type: str
- """
- self.__logger_file = value
- if self.__logger_file:
- # If set logging file,
- # then add file handler and remove stream handler.
- self.logger_file_handler = logging.FileHandler(self.__logger_file)
- self.logger_file_handler.setFormatter(self.logger_formatter)
- for _, logger in self.logger.items():
- logger.addHandler(self.logger_file_handler)
-
- @property
- def debug(self) -> bool:
- """Debug status
-
- :param value: The debug status, True or False.
- :type: bool
- """
- return self.__debug
-
- @debug.setter
- def debug(self, value: bool) -> None:
- """Debug status
-
- :param value: The debug status, True or False.
- :type: bool
- """
- self.__debug = value
- if self.__debug:
- # if debug status is True, turn on debug logging
- for _, logger in self.logger.items():
- logger.setLevel(logging.DEBUG)
- # turn on httplib debug
- httplib.HTTPConnection.debuglevel = 1
- else:
- # if debug status is False, turn off debug logging,
- # setting log level to default `logging.WARNING`
- for _, logger in self.logger.items():
- logger.setLevel(logging.WARNING)
- # turn off httplib debug
- httplib.HTTPConnection.debuglevel = 0
-
- @property
- def logger_format(self) -> str:
- """The logger format.
-
- The logger_formatter will be updated when sets logger_format.
-
- :param value: The format string.
- :type: str
- """
- return self.__logger_format
-
- @logger_format.setter
- def logger_format(self, value: str) -> None:
- """The logger format.
-
- The logger_formatter will be updated when sets logger_format.
-
- :param value: The format string.
- :type: str
- """
- self.__logger_format = value
- self.logger_formatter = logging.Formatter(self.__logger_format)
-
- def get_api_key_with_prefix(self, identifier: str, alias: Optional[str]=None) -> Optional[str]:
- """Gets API key (with prefix if set).
-
- :param identifier: The identifier of apiKey.
- :param alias: The alternative identifier of apiKey.
- :return: The token for api key authentication.
- """
- if self.refresh_api_key_hook is not None:
- self.refresh_api_key_hook(self)
- key = self.api_key.get(identifier, self.api_key.get(alias) if alias is not None else None)
- if key:
- prefix = self.api_key_prefix.get(identifier)
- if prefix:
- return "%s %s" % (prefix, key)
- else:
- return key
-
- return None
-
- def get_basic_auth_token(self) -> Optional[str]:
- """Gets HTTP basic authentication header (string).
-
- :return: The token for basic HTTP authentication.
- """
- username = ""
- if self.username is not None:
- username = self.username
- password = ""
- if self.password is not None:
- password = self.password
- return urllib3.util.make_headers(
- basic_auth=username + ':' + password
- ).get('authorization')
-
- def auth_settings(self)-> AuthSettings:
- """Gets Auth Settings dict for api client.
-
- :return: The Auth Settings information dict.
- """
- auth: AuthSettings = {}
- if self.access_token is not None:
- auth['OAuth2'] = {
- 'type': 'oauth2',
- 'in': 'header',
- 'key': 'Authorization',
- 'value': 'Bearer ' + self.access_token
- }
- return auth
-
- def to_debug_report(self) -> str:
- """Gets the essential information for debugging.
-
- :return: The report for debugging.
- """
- return "Python SDK Debug Report:\n"\
- "OS: {env}\n"\
- "Python Version: {pyversion}\n"\
- "Version of the API: 0.0.1\n"\
- "SDK Package Version: 1.0.0".\
- format(env=sys.platform, pyversion=sys.version)
-
- def get_host_settings(self) -> List[HostSetting]:
- """Gets an array of host settings
-
- :return: An array of host settings
- """
- return [
- {
- 'url': "{scheme}://{host}/api/management/v1",
- 'description': "Server URL when the port can be inferred from the scheme",
- 'variables': {
- 'scheme': {
- 'description': "The scheme of the URI, either http or https.",
- 'default_value': "https",
- },
- 'host': {
- 'description': "The host address for the specified server",
- 'default_value': "localhost",
- }
- }
- }
- ]
-
- def get_host_from_settings(
- self,
- index: Optional[int],
- variables: Optional[ServerVariablesT]=None,
- servers: Optional[List[HostSetting]]=None,
- ) -> str:
- """Gets host URL based on the index and variables
- :param index: array index of the host settings
- :param variables: hash of variable and the corresponding value
- :param servers: an array of host settings or None
- :return: URL based on host settings
- """
- if index is None:
- return self._base_path
-
- variables = {} if variables is None else variables
- servers = self.get_host_settings() if servers is None else servers
-
- try:
- server = servers[index]
- except IndexError:
- raise ValueError(
- "Invalid index {0} when selecting the host settings. "
- "Must be less than {1}".format(index, len(servers)))
-
- url = server['url']
-
- # go through variables and replace placeholders
- for variable_name, variable in server.get('variables', {}).items():
- used_value = variables.get(
- variable_name, variable['default_value'])
-
- if 'enum_values' in variable \
- and used_value not in variable['enum_values']:
- raise ValueError(
- "The variable `{0}` in the host URL has invalid value "
- "{1}. Must be {2}.".format(
- variable_name, variables[variable_name],
- variable['enum_values']))
-
- url = url.replace("{" + variable_name + "}", used_value)
-
- return url
-
- @property
- def host(self) -> str:
- """Return generated host."""
- return self.get_host_from_settings(self.server_index, variables=self.server_variables)
-
- @host.setter
- def host(self, value: str) -> None:
- """Fix base path."""
- self._base_path = value
- self.server_index = None
diff --git a/client/python/polaris/management/rest.py b/client/python/polaris/management/rest.py
deleted file mode 100644
index 2eae775129..0000000000
--- a/client/python/polaris/management/rest.py
+++ /dev/null
@@ -1,276 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import io
-import json
-import re
-import ssl
-
-import urllib3
-
-from polaris.management.exceptions import ApiException, ApiValueError
-
-SUPPORTED_SOCKS_PROXIES = {"socks5", "socks5h", "socks4", "socks4a"}
-RESTResponseType = urllib3.HTTPResponse
-
-
-def is_socks_proxy_url(url):
- if url is None:
- return False
- split_section = url.split("://")
- if len(split_section) < 2:
- return False
- else:
- return split_section[0].lower() in SUPPORTED_SOCKS_PROXIES
-
-
-class RESTResponse(io.IOBase):
-
- def __init__(self, resp) -> None:
- self.response = resp
- self.status = resp.status
- self.reason = resp.reason
- self.data = None
-
- def read(self):
- if self.data is None:
- self.data = self.response.data
- return self.data
-
- def getheaders(self):
- """Returns a dictionary of the response headers."""
- return self.response.headers
-
- def getheader(self, name, default=None):
- """Returns a given response header."""
- return self.response.headers.get(name, default)
-
-
-class RESTClientObject:
-
- def __init__(self, configuration) -> None:
- # urllib3.PoolManager will pass all kw parameters to connectionpool
- # https://github.com/shazow/urllib3/blob/f9409436f83aeb79fbaf090181cd81b784f1b8ce/urllib3/poolmanager.py#L75 # noqa: E501
- # https://github.com/shazow/urllib3/blob/f9409436f83aeb79fbaf090181cd81b784f1b8ce/urllib3/connectionpool.py#L680 # noqa: E501
- # Custom SSL certificates and client certificates: http://urllib3.readthedocs.io/en/latest/advanced-usage.html # noqa: E501
-
- # cert_reqs
- if configuration.verify_ssl:
- cert_reqs = ssl.CERT_REQUIRED
- else:
- cert_reqs = ssl.CERT_NONE
-
- pool_args = {
- "cert_reqs": cert_reqs,
- "ca_certs": configuration.ssl_ca_cert,
- "cert_file": configuration.cert_file,
- "key_file": configuration.key_file,
- }
- if configuration.assert_hostname is not None:
- pool_args['assert_hostname'] = (
- configuration.assert_hostname
- )
-
- if configuration.retries is not None:
- pool_args['retries'] = configuration.retries
-
- if configuration.tls_server_name:
- pool_args['server_hostname'] = configuration.tls_server_name
-
-
- if configuration.socket_options is not None:
- pool_args['socket_options'] = configuration.socket_options
-
- if configuration.connection_pool_maxsize is not None:
- pool_args['maxsize'] = configuration.connection_pool_maxsize
-
- # https pool manager
- self.pool_manager: urllib3.PoolManager
-
- if configuration.proxy:
- if is_socks_proxy_url(configuration.proxy):
- from urllib3.contrib.socks import SOCKSProxyManager
- pool_args["proxy_url"] = configuration.proxy
- pool_args["headers"] = configuration.proxy_headers
- self.pool_manager = SOCKSProxyManager(**pool_args)
- else:
- pool_args["proxy_url"] = configuration.proxy
- pool_args["proxy_headers"] = configuration.proxy_headers
- self.pool_manager = urllib3.ProxyManager(**pool_args)
- else:
- self.pool_manager = urllib3.PoolManager(**pool_args)
-
- def request(
- self,
- method,
- url,
- headers=None,
- body=None,
- post_params=None,
- _request_timeout=None
- ):
- """Perform requests.
-
- :param method: http request method
- :param url: http request url
- :param headers: http request headers
- :param body: request json body, for `application/json`
- :param post_params: request post parameters,
- `application/x-www-form-urlencoded`
- and `multipart/form-data`
- :param _request_timeout: timeout setting for this request. If one
- number provided, it will be total request
- timeout. It can also be a pair (tuple) of
- (connection, read) timeouts.
- """
- method = method.upper()
- assert method in [
- 'GET',
- 'HEAD',
- 'DELETE',
- 'POST',
- 'PUT',
- 'PATCH',
- 'OPTIONS'
- ]
-
- if post_params and body:
- raise ApiValueError(
- "body parameter cannot be used with post_params parameter."
- )
-
- post_params = post_params or {}
- headers = headers or {}
-
- timeout = None
- if _request_timeout:
- if isinstance(_request_timeout, (int, float)):
- timeout = urllib3.Timeout(total=_request_timeout)
- elif (
- isinstance(_request_timeout, tuple)
- and len(_request_timeout) == 2
- ):
- timeout = urllib3.Timeout(
- connect=_request_timeout[0],
- read=_request_timeout[1]
- )
-
- try:
- # For `POST`, `PUT`, `PATCH`, `OPTIONS`, `DELETE`
- if method in ['POST', 'PUT', 'PATCH', 'OPTIONS', 'DELETE']:
-
- # no content type provided or payload is json
- content_type = headers.get('Content-Type')
- if (
- not content_type
- or re.search('json', content_type, re.IGNORECASE)
- ):
- request_body = None
- if body is not None:
- request_body = json.dumps(body)
- r = self.pool_manager.request(
- method,
- url,
- body=request_body,
- timeout=timeout,
- headers=headers,
- preload_content=False
- )
- elif content_type == 'application/x-www-form-urlencoded':
- r = self.pool_manager.request(
- method,
- url,
- fields=post_params,
- encode_multipart=False,
- timeout=timeout,
- headers=headers,
- preload_content=False
- )
- elif content_type == 'multipart/form-data':
- # must del headers['Content-Type'], or the correct
- # Content-Type which generated by urllib3 will be
- # overwritten.
- del headers['Content-Type']
- # Ensures that dict objects are serialized
- post_params = [(a, json.dumps(b)) if isinstance(b, dict) else (a,b) for a, b in post_params]
- r = self.pool_manager.request(
- method,
- url,
- fields=post_params,
- encode_multipart=True,
- timeout=timeout,
- headers=headers,
- preload_content=False
- )
- # Pass a `string` parameter directly in the body to support
- # other content types than JSON when `body` argument is
- # provided in serialized form.
- elif isinstance(body, str) or isinstance(body, bytes):
- r = self.pool_manager.request(
- method,
- url,
- body=body,
- timeout=timeout,
- headers=headers,
- preload_content=False
- )
- elif headers['Content-Type'].startswith('text/') and isinstance(body, bool):
- request_body = "true" if body else "false"
- r = self.pool_manager.request(
- method,
- url,
- body=request_body,
- preload_content=False,
- timeout=timeout,
- headers=headers)
- else:
- # Cannot generate the request from given parameters
- msg = """Cannot prepare a request message for provided
- arguments. Please check that your arguments match
- declared content type."""
- raise ApiException(status=0, reason=msg)
- # For `GET`, `HEAD`
- else:
- r = self.pool_manager.request(
- method,
- url,
- fields={},
- timeout=timeout,
- headers=headers,
- preload_content=False
- )
- except urllib3.exceptions.SSLError as e:
- msg = "\n".join([type(e).__name__, str(e)])
- raise ApiException(status=0, reason=msg)
-
- return RESTResponse(r)
diff --git a/client/python/requirements.txt b/client/python/requirements.txt
deleted file mode 100644
index 24058254b0..0000000000
--- a/client/python/requirements.txt
+++ /dev/null
@@ -1,23 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-urllib3 >= 1.25.3, < 3.0.0
-python_dateutil >= 2.8.2
-pydantic >= 2
-typing-extensions >= 4.7.1
diff --git a/client/python/setup.cfg b/client/python/setup.cfg
deleted file mode 100644
index ec48b3de4f..0000000000
--- a/client/python/setup.cfg
+++ /dev/null
@@ -1,21 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-[flake8]
-max-line-length=99
diff --git a/client/python/setup.py b/client/python/setup.py
deleted file mode 100644
index bd10404392..0000000000
--- a/client/python/setup.py
+++ /dev/null
@@ -1,69 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Iceberg REST Catalog API
-
- Defines the specification for the first version of the REST Catalog API. Implementations should ideally support both Iceberg table specs v1 and v2, with priority given to v2.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-from setuptools import setup, find_packages # noqa: H301
-
-# To install the library, run the following
-#
-# python setup.py install
-#
-# prerequisite: setuptools
-# http://pypi.python.org/pypi/setuptools
-NAME = "polaris.catalog"
-VERSION = "1.0.0"
-PYTHON_REQUIRES = ">= 3.9"
-REQUIRES = [
- "urllib3 >= 1.25.3, < 3.0.0",
- "python-dateutil >= 2.8.2",
- "pydantic >= 2",
- "typing-extensions >= 4.7.1",
-]
-
-setup(
- name=NAME,
- version=VERSION,
- description="Apache Iceberg REST Catalog API",
- author="OpenAPI Generator community",
- author_email="team@openapitools.org",
- url="",
- keywords=["OpenAPI", "OpenAPI-Generator", "Apache Iceberg REST Catalog API"],
- install_requires=REQUIRES,
- packages=find_packages(exclude=["test", "tests"]),
- include_package_data=True,
- license="Apache 2.0",
- long_description_content_type='text/markdown',
- long_description="""\
- Defines the specification for the first version of the REST Catalog API. Implementations should ideally support both Iceberg table specs v1 and v2, with priority given to v2.
- """, # noqa: E501
- package_data={"polaris.catalog": ["py.typed"]},
-)
\ No newline at end of file
diff --git a/client/python/test-requirements.txt b/client/python/test-requirements.txt
deleted file mode 100644
index 883a01e068..0000000000
--- a/client/python/test-requirements.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-pytest >= 7.2.1
-pytest-cov >= 2.8.1
-tox >= 3.9.0
-flake8 >= 4.0.0
-types-python-dateutil >= 2.8.19.14
-mypy >= 1.5
diff --git a/client/python/test/test_add_grant_request.py b/client/python/test/test_add_grant_request.py
deleted file mode 100644
index db136c6271..0000000000
--- a/client/python/test/test_add_grant_request.py
+++ /dev/null
@@ -1,71 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.add_grant_request import AddGrantRequest
-
-class TestAddGrantRequest(unittest.TestCase):
- """AddGrantRequest unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> AddGrantRequest:
- """Test AddGrantRequest
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `AddGrantRequest`
- """
- model = AddGrantRequest()
- if include_optional:
- return AddGrantRequest(
- grant = polaris.management.models.grant_resource.GrantResource(
- type = 'catalog', )
- )
- else:
- return AddGrantRequest(
- )
- """
-
- def testAddGrantRequest(self):
- """Test AddGrantRequest"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_add_partition_spec_update.py b/client/python/test/test_add_partition_spec_update.py
deleted file mode 100644
index d3b8b0cbe3..0000000000
--- a/client/python/test/test_add_partition_spec_update.py
+++ /dev/null
@@ -1,88 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.add_partition_spec_update import AddPartitionSpecUpdate
-
-class TestAddPartitionSpecUpdate(unittest.TestCase):
- """AddPartitionSpecUpdate unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> AddPartitionSpecUpdate:
- """Test AddPartitionSpecUpdate
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `AddPartitionSpecUpdate`
- """
- model = AddPartitionSpecUpdate()
- if include_optional:
- return AddPartitionSpecUpdate(
- action = '',
- spec = polaris.catalog.models.partition_spec.PartitionSpec(
- spec_id = 56,
- fields = [
- polaris.catalog.models.partition_field.PartitionField(
- field_id = 56,
- source_id = 56,
- name = '',
- transform = '["identity","year","month","day","hour","bucket[256]","truncate[16]"]', )
- ], )
- )
- else:
- return AddPartitionSpecUpdate(
- spec = polaris.catalog.models.partition_spec.PartitionSpec(
- spec_id = 56,
- fields = [
- polaris.catalog.models.partition_field.PartitionField(
- field_id = 56,
- source_id = 56,
- name = '',
- transform = '["identity","year","month","day","hour","bucket[256]","truncate[16]"]', )
- ], ),
- )
- """
-
- def testAddPartitionSpecUpdate(self):
- """Test AddPartitionSpecUpdate"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_add_schema_update.py b/client/python/test/test_add_schema_update.py
deleted file mode 100644
index b25145eb5d..0000000000
--- a/client/python/test/test_add_schema_update.py
+++ /dev/null
@@ -1,73 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.add_schema_update import AddSchemaUpdate
-
-class TestAddSchemaUpdate(unittest.TestCase):
- """AddSchemaUpdate unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> AddSchemaUpdate:
- """Test AddSchemaUpdate
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `AddSchemaUpdate`
- """
- model = AddSchemaUpdate()
- if include_optional:
- return AddSchemaUpdate(
- action = '',
- var_schema = None,
- last_column_id = 56
- )
- else:
- return AddSchemaUpdate(
- var_schema = None,
- )
- """
-
- def testAddSchemaUpdate(self):
- """Test AddSchemaUpdate"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_add_snapshot_update.py b/client/python/test/test_add_snapshot_update.py
deleted file mode 100644
index 86eb84ec50..0000000000
--- a/client/python/test/test_add_snapshot_update.py
+++ /dev/null
@@ -1,90 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.add_snapshot_update import AddSnapshotUpdate
-
-class TestAddSnapshotUpdate(unittest.TestCase):
- """AddSnapshotUpdate unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> AddSnapshotUpdate:
- """Test AddSnapshotUpdate
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `AddSnapshotUpdate`
- """
- model = AddSnapshotUpdate()
- if include_optional:
- return AddSnapshotUpdate(
- action = '',
- snapshot = polaris.catalog.models.snapshot.Snapshot(
- snapshot_id = 56,
- parent_snapshot_id = 56,
- sequence_number = 56,
- timestamp_ms = 56,
- manifest_list = '',
- summary = {
- 'key' : ''
- },
- schema_id = 56, )
- )
- else:
- return AddSnapshotUpdate(
- snapshot = polaris.catalog.models.snapshot.Snapshot(
- snapshot_id = 56,
- parent_snapshot_id = 56,
- sequence_number = 56,
- timestamp_ms = 56,
- manifest_list = '',
- summary = {
- 'key' : ''
- },
- schema_id = 56, ),
- )
- """
-
- def testAddSnapshotUpdate(self):
- """Test AddSnapshotUpdate"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_add_sort_order_update.py b/client/python/test/test_add_sort_order_update.py
deleted file mode 100644
index afdd6e52dc..0000000000
--- a/client/python/test/test_add_sort_order_update.py
+++ /dev/null
@@ -1,88 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.add_sort_order_update import AddSortOrderUpdate
-
-class TestAddSortOrderUpdate(unittest.TestCase):
- """AddSortOrderUpdate unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> AddSortOrderUpdate:
- """Test AddSortOrderUpdate
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `AddSortOrderUpdate`
- """
- model = AddSortOrderUpdate()
- if include_optional:
- return AddSortOrderUpdate(
- action = '',
- sort_order = polaris.catalog.models.sort_order.SortOrder(
- order_id = 56,
- fields = [
- polaris.catalog.models.sort_field.SortField(
- source_id = 56,
- transform = '["identity","year","month","day","hour","bucket[256]","truncate[16]"]',
- direction = 'asc',
- null_order = 'nulls-first', )
- ], )
- )
- else:
- return AddSortOrderUpdate(
- sort_order = polaris.catalog.models.sort_order.SortOrder(
- order_id = 56,
- fields = [
- polaris.catalog.models.sort_field.SortField(
- source_id = 56,
- transform = '["identity","year","month","day","hour","bucket[256]","truncate[16]"]',
- direction = 'asc',
- null_order = 'nulls-first', )
- ], ),
- )
- """
-
- def testAddSortOrderUpdate(self):
- """Test AddSortOrderUpdate"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_add_view_version_update.py b/client/python/test/test_add_view_version_update.py
deleted file mode 100644
index 265c81b41a..0000000000
--- a/client/python/test/test_add_view_version_update.py
+++ /dev/null
@@ -1,94 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.add_view_version_update import AddViewVersionUpdate
-
-class TestAddViewVersionUpdate(unittest.TestCase):
- """AddViewVersionUpdate unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> AddViewVersionUpdate:
- """Test AddViewVersionUpdate
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `AddViewVersionUpdate`
- """
- model = AddViewVersionUpdate()
- if include_optional:
- return AddViewVersionUpdate(
- action = '',
- view_version = polaris.catalog.models.view_version.ViewVersion(
- version_id = 56,
- timestamp_ms = 56,
- schema_id = 56,
- summary = {
- 'key' : ''
- },
- representations = [
- null
- ],
- default_catalog = '',
- default_namespace = ["accounting","tax"], )
- )
- else:
- return AddViewVersionUpdate(
- view_version = polaris.catalog.models.view_version.ViewVersion(
- version_id = 56,
- timestamp_ms = 56,
- schema_id = 56,
- summary = {
- 'key' : ''
- },
- representations = [
- null
- ],
- default_catalog = '',
- default_namespace = ["accounting","tax"], ),
- )
- """
-
- def testAddViewVersionUpdate(self):
- """Test AddViewVersionUpdate"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_and_or_expression.py b/client/python/test/test_and_or_expression.py
deleted file mode 100644
index 94658a05e5..0000000000
--- a/client/python/test/test_and_or_expression.py
+++ /dev/null
@@ -1,75 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.and_or_expression import AndOrExpression
-
-class TestAndOrExpression(unittest.TestCase):
- """AndOrExpression unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> AndOrExpression:
- """Test AndOrExpression
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `AndOrExpression`
- """
- model = AndOrExpression()
- if include_optional:
- return AndOrExpression(
- type = '["true","false","eq","and","or","not","in","not-in","lt","lt-eq","gt","gt-eq","not-eq","starts-with","not-starts-with","is-null","not-null","is-nan","not-nan"]',
- left = None,
- right = None
- )
- else:
- return AndOrExpression(
- type = '["true","false","eq","and","or","not","in","not-in","lt","lt-eq","gt","gt-eq","not-eq","starts-with","not-starts-with","is-null","not-null","is-nan","not-nan"]',
- left = None,
- right = None,
- )
- """
-
- def testAndOrExpression(self):
- """Test AndOrExpression"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_applicable_policy.py b/client/python/test/test_applicable_policy.py
deleted file mode 100644
index c7bf5ea3aa..0000000000
--- a/client/python/test/test_applicable_policy.py
+++ /dev/null
@@ -1,83 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.applicable_policy import ApplicablePolicy
-
-class TestApplicablePolicy(unittest.TestCase):
- """ApplicablePolicy unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> ApplicablePolicy:
- """Test ApplicablePolicy
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `ApplicablePolicy`
- """
- model = ApplicablePolicy()
- if include_optional:
- return ApplicablePolicy(
- policy_type = '',
- inheritable = True,
- name = 'compaction',
- description = '',
- content = '',
- version = 56,
- inherited = True,
- namespace = ["accounting","tax"]
- )
- else:
- return ApplicablePolicy(
- policy_type = '',
- inheritable = True,
- name = 'compaction',
- version = 56,
- inherited = True,
- namespace = ["accounting","tax"],
- )
- """
-
- def testApplicablePolicy(self):
- """Test ApplicablePolicy"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_assert_create.py b/client/python/test/test_assert_create.py
deleted file mode 100644
index 6e15af8e90..0000000000
--- a/client/python/test/test_assert_create.py
+++ /dev/null
@@ -1,71 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.assert_create import AssertCreate
-
-class TestAssertCreate(unittest.TestCase):
- """AssertCreate unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> AssertCreate:
- """Test AssertCreate
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `AssertCreate`
- """
- model = AssertCreate()
- if include_optional:
- return AssertCreate(
- type = ''
- )
- else:
- return AssertCreate(
- type = '',
- )
- """
-
- def testAssertCreate(self):
- """Test AssertCreate"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_assert_current_schema_id.py b/client/python/test/test_assert_current_schema_id.py
deleted file mode 100644
index 9dcd915d79..0000000000
--- a/client/python/test/test_assert_current_schema_id.py
+++ /dev/null
@@ -1,72 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.assert_current_schema_id import AssertCurrentSchemaId
-
-class TestAssertCurrentSchemaId(unittest.TestCase):
- """AssertCurrentSchemaId unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> AssertCurrentSchemaId:
- """Test AssertCurrentSchemaId
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `AssertCurrentSchemaId`
- """
- model = AssertCurrentSchemaId()
- if include_optional:
- return AssertCurrentSchemaId(
- type = '',
- current_schema_id = 56
- )
- else:
- return AssertCurrentSchemaId(
- current_schema_id = 56,
- )
- """
-
- def testAssertCurrentSchemaId(self):
- """Test AssertCurrentSchemaId"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_assert_default_sort_order_id.py b/client/python/test/test_assert_default_sort_order_id.py
deleted file mode 100644
index 38f297d3e7..0000000000
--- a/client/python/test/test_assert_default_sort_order_id.py
+++ /dev/null
@@ -1,72 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.assert_default_sort_order_id import AssertDefaultSortOrderId
-
-class TestAssertDefaultSortOrderId(unittest.TestCase):
- """AssertDefaultSortOrderId unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> AssertDefaultSortOrderId:
- """Test AssertDefaultSortOrderId
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `AssertDefaultSortOrderId`
- """
- model = AssertDefaultSortOrderId()
- if include_optional:
- return AssertDefaultSortOrderId(
- type = '',
- default_sort_order_id = 56
- )
- else:
- return AssertDefaultSortOrderId(
- default_sort_order_id = 56,
- )
- """
-
- def testAssertDefaultSortOrderId(self):
- """Test AssertDefaultSortOrderId"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_assert_default_spec_id.py b/client/python/test/test_assert_default_spec_id.py
deleted file mode 100644
index 9c309e5895..0000000000
--- a/client/python/test/test_assert_default_spec_id.py
+++ /dev/null
@@ -1,72 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.assert_default_spec_id import AssertDefaultSpecId
-
-class TestAssertDefaultSpecId(unittest.TestCase):
- """AssertDefaultSpecId unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> AssertDefaultSpecId:
- """Test AssertDefaultSpecId
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `AssertDefaultSpecId`
- """
- model = AssertDefaultSpecId()
- if include_optional:
- return AssertDefaultSpecId(
- type = '',
- default_spec_id = 56
- )
- else:
- return AssertDefaultSpecId(
- default_spec_id = 56,
- )
- """
-
- def testAssertDefaultSpecId(self):
- """Test AssertDefaultSpecId"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_assert_last_assigned_field_id.py b/client/python/test/test_assert_last_assigned_field_id.py
deleted file mode 100644
index f3d64b7613..0000000000
--- a/client/python/test/test_assert_last_assigned_field_id.py
+++ /dev/null
@@ -1,72 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.assert_last_assigned_field_id import AssertLastAssignedFieldId
-
-class TestAssertLastAssignedFieldId(unittest.TestCase):
- """AssertLastAssignedFieldId unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> AssertLastAssignedFieldId:
- """Test AssertLastAssignedFieldId
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `AssertLastAssignedFieldId`
- """
- model = AssertLastAssignedFieldId()
- if include_optional:
- return AssertLastAssignedFieldId(
- type = '',
- last_assigned_field_id = 56
- )
- else:
- return AssertLastAssignedFieldId(
- last_assigned_field_id = 56,
- )
- """
-
- def testAssertLastAssignedFieldId(self):
- """Test AssertLastAssignedFieldId"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_assert_last_assigned_partition_id.py b/client/python/test/test_assert_last_assigned_partition_id.py
deleted file mode 100644
index d484f8dfd4..0000000000
--- a/client/python/test/test_assert_last_assigned_partition_id.py
+++ /dev/null
@@ -1,72 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.assert_last_assigned_partition_id import AssertLastAssignedPartitionId
-
-class TestAssertLastAssignedPartitionId(unittest.TestCase):
- """AssertLastAssignedPartitionId unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> AssertLastAssignedPartitionId:
- """Test AssertLastAssignedPartitionId
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `AssertLastAssignedPartitionId`
- """
- model = AssertLastAssignedPartitionId()
- if include_optional:
- return AssertLastAssignedPartitionId(
- type = '',
- last_assigned_partition_id = 56
- )
- else:
- return AssertLastAssignedPartitionId(
- last_assigned_partition_id = 56,
- )
- """
-
- def testAssertLastAssignedPartitionId(self):
- """Test AssertLastAssignedPartitionId"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_assert_ref_snapshot_id.py b/client/python/test/test_assert_ref_snapshot_id.py
deleted file mode 100644
index ba4fa5ac4b..0000000000
--- a/client/python/test/test_assert_ref_snapshot_id.py
+++ /dev/null
@@ -1,74 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.assert_ref_snapshot_id import AssertRefSnapshotId
-
-class TestAssertRefSnapshotId(unittest.TestCase):
- """AssertRefSnapshotId unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> AssertRefSnapshotId:
- """Test AssertRefSnapshotId
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `AssertRefSnapshotId`
- """
- model = AssertRefSnapshotId()
- if include_optional:
- return AssertRefSnapshotId(
- type = '',
- ref = '',
- snapshot_id = 56
- )
- else:
- return AssertRefSnapshotId(
- ref = '',
- snapshot_id = 56,
- )
- """
-
- def testAssertRefSnapshotId(self):
- """Test AssertRefSnapshotId"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_assert_table_uuid.py b/client/python/test/test_assert_table_uuid.py
deleted file mode 100644
index c06457d72e..0000000000
--- a/client/python/test/test_assert_table_uuid.py
+++ /dev/null
@@ -1,73 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.assert_table_uuid import AssertTableUUID
-
-class TestAssertTableUUID(unittest.TestCase):
- """AssertTableUUID unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> AssertTableUUID:
- """Test AssertTableUUID
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `AssertTableUUID`
- """
- model = AssertTableUUID()
- if include_optional:
- return AssertTableUUID(
- type = '',
- uuid = ''
- )
- else:
- return AssertTableUUID(
- type = '',
- uuid = '',
- )
- """
-
- def testAssertTableUUID(self):
- """Test AssertTableUUID"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_assert_view_uuid.py b/client/python/test/test_assert_view_uuid.py
deleted file mode 100644
index 54e60060c4..0000000000
--- a/client/python/test/test_assert_view_uuid.py
+++ /dev/null
@@ -1,73 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.assert_view_uuid import AssertViewUUID
-
-class TestAssertViewUUID(unittest.TestCase):
- """AssertViewUUID unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> AssertViewUUID:
- """Test AssertViewUUID
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `AssertViewUUID`
- """
- model = AssertViewUUID()
- if include_optional:
- return AssertViewUUID(
- type = '',
- uuid = ''
- )
- else:
- return AssertViewUUID(
- type = '',
- uuid = '',
- )
- """
-
- def testAssertViewUUID(self):
- """Test AssertViewUUID"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_assign_uuid_update.py b/client/python/test/test_assign_uuid_update.py
deleted file mode 100644
index 24e62e196c..0000000000
--- a/client/python/test/test_assign_uuid_update.py
+++ /dev/null
@@ -1,72 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.assign_uuid_update import AssignUUIDUpdate
-
-class TestAssignUUIDUpdate(unittest.TestCase):
- """AssignUUIDUpdate unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> AssignUUIDUpdate:
- """Test AssignUUIDUpdate
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `AssignUUIDUpdate`
- """
- model = AssignUUIDUpdate()
- if include_optional:
- return AssignUUIDUpdate(
- action = '',
- uuid = ''
- )
- else:
- return AssignUUIDUpdate(
- uuid = '',
- )
- """
-
- def testAssignUUIDUpdate(self):
- """Test AssignUUIDUpdate"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_async_planning_result.py b/client/python/test/test_async_planning_result.py
deleted file mode 100644
index 66719b1113..0000000000
--- a/client/python/test/test_async_planning_result.py
+++ /dev/null
@@ -1,72 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Iceberg REST Catalog API
-
- Defines the specification for the first version of the REST Catalog API. Implementations should ideally support both Iceberg table specs v1 and v2, with priority given to v2.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.async_planning_result import AsyncPlanningResult
-
-class TestAsyncPlanningResult(unittest.TestCase):
- """AsyncPlanningResult unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> AsyncPlanningResult:
- """Test AsyncPlanningResult
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `AsyncPlanningResult`
- """
- model = AsyncPlanningResult()
- if include_optional:
- return AsyncPlanningResult(
- status = 'completed',
- plan_id = ''
- )
- else:
- return AsyncPlanningResult(
- status = 'completed',
- )
- """
-
- def testAsyncPlanningResult(self):
- """Test AsyncPlanningResult"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_attach_policy_request.py b/client/python/test/test_attach_policy_request.py
deleted file mode 100644
index 1623072815..0000000000
--- a/client/python/test/test_attach_policy_request.py
+++ /dev/null
@@ -1,78 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.attach_policy_request import AttachPolicyRequest
-
-class TestAttachPolicyRequest(unittest.TestCase):
- """AttachPolicyRequest unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> AttachPolicyRequest:
- """Test AttachPolicyRequest
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `AttachPolicyRequest`
- """
- model = AttachPolicyRequest()
- if include_optional:
- return AttachPolicyRequest(
- target = polaris.catalog.models.policy_attachment_target.PolicyAttachmentTarget(
- type = 'table-like',
- path = ["NS1","NS2","test_table_1"], ),
- parameters = {
- 'key' : ''
- }
- )
- else:
- return AttachPolicyRequest(
- target = polaris.catalog.models.policy_attachment_target.PolicyAttachmentTarget(
- type = 'table-like',
- path = ["NS1","NS2","test_table_1"], ),
- )
- """
-
- def testAttachPolicyRequest(self):
- """Test AttachPolicyRequest"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_authentication_parameters.py b/client/python/test/test_authentication_parameters.py
deleted file mode 100644
index a36c2c2463..0000000000
--- a/client/python/test/test_authentication_parameters.py
+++ /dev/null
@@ -1,71 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.authentication_parameters import AuthenticationParameters
-
-class TestAuthenticationParameters(unittest.TestCase):
- """AuthenticationParameters unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> AuthenticationParameters:
- """Test AuthenticationParameters
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `AuthenticationParameters`
- """
- model = AuthenticationParameters()
- if include_optional:
- return AuthenticationParameters(
- authentication_type = 'OAUTH'
- )
- else:
- return AuthenticationParameters(
- authentication_type = 'OAUTH',
- )
- """
-
- def testAuthenticationParameters(self):
- """Test AuthenticationParameters"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_aws_iam_service_identity_info.py b/client/python/test/test_aws_iam_service_identity_info.py
deleted file mode 100644
index 0ce0170f73..0000000000
--- a/client/python/test/test_aws_iam_service_identity_info.py
+++ /dev/null
@@ -1,71 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.aws_iam_service_identity_info import AwsIamServiceIdentityInfo
-
-class TestAwsIamServiceIdentityInfo(unittest.TestCase):
- """AwsIamServiceIdentityInfo unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> AwsIamServiceIdentityInfo:
- """Test AwsIamServiceIdentityInfo
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `AwsIamServiceIdentityInfo`
- """
- model = AwsIamServiceIdentityInfo()
- if include_optional:
- return AwsIamServiceIdentityInfo(
- iam_arn = 'arn:aws:iam::111122223333:user/polaris-service-user'
- )
- else:
- return AwsIamServiceIdentityInfo(
- iam_arn = 'arn:aws:iam::111122223333:user/polaris-service-user',
- )
- """
-
- def testAwsIamServiceIdentityInfo(self):
- """Test AwsIamServiceIdentityInfo"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_aws_storage_config_info.py b/client/python/test/test_aws_storage_config_info.py
deleted file mode 100644
index b9f4e5be9e..0000000000
--- a/client/python/test/test_aws_storage_config_info.py
+++ /dev/null
@@ -1,74 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.aws_storage_config_info import AwsStorageConfigInfo
-
-class TestAwsStorageConfigInfo(unittest.TestCase):
- """AwsStorageConfigInfo unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> AwsStorageConfigInfo:
- """Test AwsStorageConfigInfo
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `AwsStorageConfigInfo`
- """
- model = AwsStorageConfigInfo()
- if include_optional:
- return AwsStorageConfigInfo(
- role_arn = 'arn:aws:iam::123456789001:principal/abc1-b-self1234',
- external_id = '',
- user_arn = 'arn:aws:iam::123456789001:user/abc1-b-self1234',
- region = 'us-east-2'
- )
- else:
- return AwsStorageConfigInfo(
- role_arn = 'arn:aws:iam::123456789001:principal/abc1-b-self1234',
- )
- """
-
- def testAwsStorageConfigInfo(self):
- """Test AwsStorageConfigInfo"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_azure_storage_config_info.py b/client/python/test/test_azure_storage_config_info.py
deleted file mode 100644
index a966675e86..0000000000
--- a/client/python/test/test_azure_storage_config_info.py
+++ /dev/null
@@ -1,73 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.azure_storage_config_info import AzureStorageConfigInfo
-
-class TestAzureStorageConfigInfo(unittest.TestCase):
- """AzureStorageConfigInfo unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> AzureStorageConfigInfo:
- """Test AzureStorageConfigInfo
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `AzureStorageConfigInfo`
- """
- model = AzureStorageConfigInfo()
- if include_optional:
- return AzureStorageConfigInfo(
- tenant_id = '',
- multi_tenant_app_name = '',
- consent_url = ''
- )
- else:
- return AzureStorageConfigInfo(
- tenant_id = '',
- )
- """
-
- def testAzureStorageConfigInfo(self):
- """Test AzureStorageConfigInfo"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_base_update.py b/client/python/test/test_base_update.py
deleted file mode 100644
index 0bc16f6180..0000000000
--- a/client/python/test/test_base_update.py
+++ /dev/null
@@ -1,71 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.base_update import BaseUpdate
-
-class TestBaseUpdate(unittest.TestCase):
- """BaseUpdate unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> BaseUpdate:
- """Test BaseUpdate
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `BaseUpdate`
- """
- model = BaseUpdate()
- if include_optional:
- return BaseUpdate(
- action = ''
- )
- else:
- return BaseUpdate(
- action = '',
- )
- """
-
- def testBaseUpdate(self):
- """Test BaseUpdate"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_bearer_authentication_parameters.py b/client/python/test/test_bearer_authentication_parameters.py
deleted file mode 100644
index d34c5804f1..0000000000
--- a/client/python/test/test_bearer_authentication_parameters.py
+++ /dev/null
@@ -1,70 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.bearer_authentication_parameters import BearerAuthenticationParameters
-
-class TestBearerAuthenticationParameters(unittest.TestCase):
- """BearerAuthenticationParameters unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> BearerAuthenticationParameters:
- """Test BearerAuthenticationParameters
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `BearerAuthenticationParameters`
- """
- model = BearerAuthenticationParameters()
- if include_optional:
- return BearerAuthenticationParameters(
- bearer_token = ''
- )
- else:
- return BearerAuthenticationParameters(
- )
- """
-
- def testBearerAuthenticationParameters(self):
- """Test BearerAuthenticationParameters"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_blob_metadata.py b/client/python/test/test_blob_metadata.py
deleted file mode 100644
index b0d6e5bfd0..0000000000
--- a/client/python/test/test_blob_metadata.py
+++ /dev/null
@@ -1,84 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.blob_metadata import BlobMetadata
-
-class TestBlobMetadata(unittest.TestCase):
- """BlobMetadata unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> BlobMetadata:
- """Test BlobMetadata
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `BlobMetadata`
- """
- model = BlobMetadata()
- if include_optional:
- return BlobMetadata(
- type = '',
- snapshot_id = 56,
- sequence_number = 56,
- fields = [
- 56
- ],
- properties = {
- 'key' : ''
- }
- )
- else:
- return BlobMetadata(
- type = '',
- snapshot_id = 56,
- sequence_number = 56,
- fields = [
- 56
- ],
- )
- """
-
- def testBlobMetadata(self):
- """Test BlobMetadata"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_catalog.py b/client/python/test/test_catalog.py
deleted file mode 100644
index e487851a1c..0000000000
--- a/client/python/test/test_catalog.py
+++ /dev/null
@@ -1,88 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.catalog import Catalog
-
-class TestCatalog(unittest.TestCase):
- """Catalog unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> Catalog:
- """Test Catalog
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `Catalog`
- """
- model = Catalog()
- if include_optional:
- return Catalog(
- type = 'INTERNAL',
- name = 'k&*h<4i H\'qT\\{\'es#)#iK.YM{Rag2/!KB!k@5oXh.:Ts\";mGL,i&z5[P@M\"lzfB+Y,Twzfu~N^z\"mfqecVU0',
- properties = {
- 'key' : ''
- },
- create_timestamp = 56,
- last_update_timestamp = 56,
- entity_version = 56,
- storage_config_info = polaris.management.models.storage_config_info.StorageConfigInfo(
- storage_type = 'S3',
- allowed_locations = For AWS [s3://bucketname/prefix/], for AZURE [abfss://container@storageaccount.blob.core.windows.net/prefix/], for GCP [gs://bucketname/prefix/], )
- )
- else:
- return Catalog(
- type = 'INTERNAL',
- name = 'k&*h<4i H\'qT\\{\'es#)#iK.YM{Rag2/!KB!k@5oXh.:Ts\";mGL,i&z5[P@M\"lzfB+Y,Twzfu~N^z\"mfqecVU0',
- properties = {
- 'key' : ''
- },
- storage_config_info = polaris.management.models.storage_config_info.StorageConfigInfo(
- storage_type = 'S3',
- allowed_locations = For AWS [s3://bucketname/prefix/], for AZURE [abfss://container@storageaccount.blob.core.windows.net/prefix/], for GCP [gs://bucketname/prefix/], ),
- )
- """
-
- def testCatalog(self):
- """Test Catalog"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_catalog_api.py b/client/python/test/test_catalog_api.py
deleted file mode 100644
index e74d684c31..0000000000
--- a/client/python/test/test_catalog_api.py
+++ /dev/null
@@ -1,225 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.api.catalog_api import CatalogAPI
-
-
-class TestCatalogAPI(unittest.TestCase):
- """CatalogAPI unit test stubs"""
-
- def setUp(self) -> None:
- self.api = CatalogAPI()
-
- def tearDown(self) -> None:
- pass
-
- def test_commit_transaction(self) -> None:
- """Test case for commit_transaction
-
- Commit updates to multiple tables in an atomic operation
- """
- pass
-
- def test_create_namespace(self) -> None:
- """Test case for create_namespace
-
- Create a namespace
- """
- pass
-
- def test_create_table(self) -> None:
- """Test case for create_table
-
- Create a table in the given namespace
- """
- pass
-
- def test_create_view(self) -> None:
- """Test case for create_view
-
- Create a view in the given namespace
- """
- pass
-
- def test_drop_namespace(self) -> None:
- """Test case for drop_namespace
-
- Drop a namespace from the catalog. Namespace must be empty.
- """
- pass
-
- def test_drop_table(self) -> None:
- """Test case for drop_table
-
- Drop a table from the catalog
- """
- pass
-
- def test_drop_view(self) -> None:
- """Test case for drop_view
-
- Drop a view from the catalog
- """
- pass
-
- def test_list_namespaces(self) -> None:
- """Test case for list_namespaces
-
- List namespaces, optionally providing a parent namespace to list underneath
- """
- pass
-
- def test_list_tables(self) -> None:
- """Test case for list_tables
-
- List all table identifiers underneath a given namespace
- """
- pass
-
- def test_list_views(self) -> None:
- """Test case for list_views
-
- List all view identifiers underneath a given namespace
- """
- pass
-
- def test_load_credentials(self) -> None:
- """Test case for load_credentials
-
- Load vended credentials for a table from the catalog
- """
- pass
-
- def test_load_namespace_metadata(self) -> None:
- """Test case for load_namespace_metadata
-
- Load the metadata properties for a namespace
- """
- pass
-
- def test_load_table(self) -> None:
- """Test case for load_table
-
- Load a table from the catalog
- """
- pass
-
- def test_load_view(self) -> None:
- """Test case for load_view
-
- Load a view from the catalog
- """
- pass
-
- def test_namespace_exists(self) -> None:
- """Test case for namespace_exists
-
- Check if a namespace exists
- """
- pass
-
- def test_register_table(self) -> None:
- """Test case for register_table
-
- Register a table in the given namespace using given metadata file location
- """
- pass
-
- def test_rename_table(self) -> None:
- """Test case for rename_table
-
- Rename a table from its current name to a new name
- """
- pass
-
- def test_rename_view(self) -> None:
- """Test case for rename_view
-
- Rename a view from its current name to a new name
- """
- pass
-
- def test_replace_view(self) -> None:
- """Test case for replace_view
-
- Replace a view
- """
- pass
-
- def test_report_metrics(self) -> None:
- """Test case for report_metrics
-
- Send a metrics report to this endpoint to be processed by the backend
- """
- pass
-
- def test_send_notification(self) -> None:
- """Test case for send_notification
-
- Sends a notification to the table
- """
- pass
-
- def test_table_exists(self) -> None:
- """Test case for table_exists
-
- Check if a table exists
- """
- pass
-
- def test_update_properties(self) -> None:
- """Test case for update_properties
-
- Set or remove properties on a namespace
- """
- pass
-
- def test_update_table(self) -> None:
- """Test case for update_table
-
- Commit updates to a table
- """
- pass
-
- def test_view_exists(self) -> None:
- """Test case for view_exists
-
- Check if a view exists
- """
- pass
-
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_catalog_config.py b/client/python/test/test_catalog_config.py
deleted file mode 100644
index ce2722e6b8..0000000000
--- a/client/python/test/test_catalog_config.py
+++ /dev/null
@@ -1,82 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.catalog_config import CatalogConfig
-
-class TestCatalogConfig(unittest.TestCase):
- """CatalogConfig unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> CatalogConfig:
- """Test CatalogConfig
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `CatalogConfig`
- """
- model = CatalogConfig()
- if include_optional:
- return CatalogConfig(
- overrides = {
- 'key' : ''
- },
- defaults = {
- 'key' : ''
- },
- endpoints = ["GET /v1/{prefix}/namespaces/{namespace}","GET /v1/{prefix}/namespaces","POST /v1/{prefix}/namespaces","GET /v1/{prefix}/namespaces/{namespace}/tables/{table}","GET /v1/{prefix}/namespaces/{namespace}/views/{view}"]
- )
- else:
- return CatalogConfig(
- overrides = {
- 'key' : ''
- },
- defaults = {
- 'key' : ''
- },
- )
- """
-
- def testCatalogConfig(self):
- """Test CatalogConfig"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_catalog_grant.py b/client/python/test/test_catalog_grant.py
deleted file mode 100644
index b1e6c909f6..0000000000
--- a/client/python/test/test_catalog_grant.py
+++ /dev/null
@@ -1,71 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.catalog_grant import CatalogGrant
-
-class TestCatalogGrant(unittest.TestCase):
- """CatalogGrant unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> CatalogGrant:
- """Test CatalogGrant
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `CatalogGrant`
- """
- model = CatalogGrant()
- if include_optional:
- return CatalogGrant(
- privilege = 'CATALOG_MANAGE_ACCESS'
- )
- else:
- return CatalogGrant(
- privilege = 'CATALOG_MANAGE_ACCESS',
- )
- """
-
- def testCatalogGrant(self):
- """Test CatalogGrant"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_catalog_privilege.py b/client/python/test/test_catalog_privilege.py
deleted file mode 100644
index b8626f3c9a..0000000000
--- a/client/python/test/test_catalog_privilege.py
+++ /dev/null
@@ -1,52 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.catalog_privilege import CatalogPrivilege
-
-class TestCatalogPrivilege(unittest.TestCase):
- """CatalogPrivilege unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def testCatalogPrivilege(self):
- """Test CatalogPrivilege"""
- # inst = CatalogPrivilege()
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_catalog_properties.py b/client/python/test/test_catalog_properties.py
deleted file mode 100644
index 157bb89b4d..0000000000
--- a/client/python/test/test_catalog_properties.py
+++ /dev/null
@@ -1,71 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.catalog_properties import CatalogProperties
-
-class TestCatalogProperties(unittest.TestCase):
- """CatalogProperties unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> CatalogProperties:
- """Test CatalogProperties
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `CatalogProperties`
- """
- model = CatalogProperties()
- if include_optional:
- return CatalogProperties(
- default_base_location = ''
- )
- else:
- return CatalogProperties(
- default_base_location = '',
- )
- """
-
- def testCatalogProperties(self):
- """Test CatalogProperties"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_catalog_role.py b/client/python/test/test_catalog_role.py
deleted file mode 100644
index 347d3c018a..0000000000
--- a/client/python/test/test_catalog_role.py
+++ /dev/null
@@ -1,77 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.catalog_role import CatalogRole
-
-class TestCatalogRole(unittest.TestCase):
- """CatalogRole unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> CatalogRole:
- """Test CatalogRole
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `CatalogRole`
- """
- model = CatalogRole()
- if include_optional:
- return CatalogRole(
- name = 'k&*h<4i H\'qT\\{\'es#)#iK.YM{Rag2/!KB!k@5oXh.:Ts\";mGL,i&z5[P@M\"lzfB+Y,Twzfu~N^z\"mfqecVU0',
- properties = {
- 'key' : ''
- },
- create_timestamp = 56,
- last_update_timestamp = 56,
- entity_version = 56
- )
- else:
- return CatalogRole(
- name = 'k&*h<4i H\'qT\\{\'es#)#iK.YM{Rag2/!KB!k@5oXh.:Ts\";mGL,i&z5[P@M\"lzfB+Y,Twzfu~N^z\"mfqecVU0',
- )
- """
-
- def testCatalogRole(self):
- """Test CatalogRole"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_catalog_roles.py b/client/python/test/test_catalog_roles.py
deleted file mode 100644
index 1820106dfa..0000000000
--- a/client/python/test/test_catalog_roles.py
+++ /dev/null
@@ -1,89 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.catalog_roles import CatalogRoles
-
-class TestCatalogRoles(unittest.TestCase):
- """CatalogRoles unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> CatalogRoles:
- """Test CatalogRoles
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `CatalogRoles`
- """
- model = CatalogRoles()
- if include_optional:
- return CatalogRoles(
- roles = [
- polaris.management.models.catalog_role.CatalogRole(
- name = 'k&*h<4i H\'qT\\{\'es#)#iK.YM{Rag2/!KB!k@5oXh.:Ts\";mGL,i&z5[P@M\"lzfB+Y,Twzfu~N^z\"mfqecVU0',
- properties = {
- 'key' : ''
- },
- create_timestamp = 56,
- last_update_timestamp = 56,
- entity_version = 56, )
- ]
- )
- else:
- return CatalogRoles(
- roles = [
- polaris.management.models.catalog_role.CatalogRole(
- name = 'k&*h<4i H\'qT\\{\'es#)#iK.YM{Rag2/!KB!k@5oXh.:Ts\";mGL,i&z5[P@M\"lzfB+Y,Twzfu~N^z\"mfqecVU0',
- properties = {
- 'key' : ''
- },
- create_timestamp = 56,
- last_update_timestamp = 56,
- entity_version = 56, )
- ],
- )
- """
-
- def testCatalogRoles(self):
- """Test CatalogRoles"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_catalogs.py b/client/python/test/test_catalogs.py
deleted file mode 100644
index 79eccf068a..0000000000
--- a/client/python/test/test_catalogs.py
+++ /dev/null
@@ -1,97 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.catalogs import Catalogs
-
-class TestCatalogs(unittest.TestCase):
- """Catalogs unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> Catalogs:
- """Test Catalogs
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `Catalogs`
- """
- model = Catalogs()
- if include_optional:
- return Catalogs(
- catalogs = [
- polaris.management.models.catalog.Catalog(
- type = 'INTERNAL',
- name = 'k&*h<4i H\'qT\\{\'es#)#iK.YM{Rag2/!KB!k@5oXh.:Ts\";mGL,i&z5[P@M\"lzfB+Y,Twzfu~N^z\"mfqecVU0',
- properties = {
- 'key' : ''
- },
- create_timestamp = 56,
- last_update_timestamp = 56,
- entity_version = 56,
- storage_config_info = polaris.management.models.storage_config_info.StorageConfigInfo(
- storage_type = 'S3',
- allowed_locations = For AWS [s3://bucketname/prefix/], for AZURE [abfss://container@storageaccount.blob.core.windows.net/prefix/], for GCP [gs://bucketname/prefix/], ), )
- ]
- )
- else:
- return Catalogs(
- catalogs = [
- polaris.management.models.catalog.Catalog(
- type = 'INTERNAL',
- name = 'k&*h<4i H\'qT\\{\'es#)#iK.YM{Rag2/!KB!k@5oXh.:Ts\";mGL,i&z5[P@M\"lzfB+Y,Twzfu~N^z\"mfqecVU0',
- properties = {
- 'key' : ''
- },
- create_timestamp = 56,
- last_update_timestamp = 56,
- entity_version = 56,
- storage_config_info = polaris.management.models.storage_config_info.StorageConfigInfo(
- storage_type = 'S3',
- allowed_locations = For AWS [s3://bucketname/prefix/], for AZURE [abfss://container@storageaccount.blob.core.windows.net/prefix/], for GCP [gs://bucketname/prefix/], ), )
- ],
- )
- """
-
- def testCatalogs(self):
- """Test Catalogs"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_cli_parsing.py b/client/python/test/test_cli_parsing.py
index ff29b8230a..bc4f59afeb 100644
--- a/client/python/test/test_cli_parsing.py
+++ b/client/python/test/test_cli_parsing.py
@@ -85,7 +85,7 @@ def test_invalid_commands(self):
def _check_usage_output(self, f, needle='usage:'):
with patch('sys.stdout', new_callable=io.StringIO) as mock_stdout, \
- patch('sys.stderr', new_callable=io.StringIO) as mock_stderr:
+ patch('sys.stderr', new_callable=io.StringIO) as mock_stderr:
with self.assertRaises(SystemExit) as cm:
f()
self.assertEqual(cm.exception.code, 0)
@@ -259,7 +259,7 @@ def get(obj, arg_string):
})
check_arguments(mock_execute(['catalogs', 'list']), 'list_catalogs')
check_arguments(mock_execute([
- '--base-url', 'https://customservice.com/subpath', 'catalogs', 'list']), 'list_catalogs')
+ '--base-url', 'https://customservice.com/subpath', 'catalogs', 'list']), 'list_catalogs')
check_arguments(mock_execute(['catalogs', 'delete', 'foo']), 'delete_catalog', {
(0, None): 'foo',
})
@@ -507,4 +507,4 @@ def get(obj, arg_string):
if __name__ == '__main__':
- unittest.main()
+ unittest.main()
\ No newline at end of file
diff --git a/client/python/test/test_commit_report.py b/client/python/test/test_commit_report.py
deleted file mode 100644
index bfc2b32d72..0000000000
--- a/client/python/test/test_commit_report.py
+++ /dev/null
@@ -1,82 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.commit_report import CommitReport
-
-class TestCommitReport(unittest.TestCase):
- """CommitReport unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> CommitReport:
- """Test CommitReport
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `CommitReport`
- """
- model = CommitReport()
- if include_optional:
- return CommitReport(
- table_name = '',
- snapshot_id = 56,
- sequence_number = 56,
- operation = '',
- metrics = {"metrics":{"total-planning-duration":{"count":1,"time-unit":"nanoseconds","total-duration":2644235116},"result-data-files":{"unit":"count","value":1},"result-delete-files":{"unit":"count","value":0},"total-data-manifests":{"unit":"count","value":1},"total-delete-manifests":{"unit":"count","value":0},"scanned-data-manifests":{"unit":"count","value":1},"skipped-data-manifests":{"unit":"count","value":0},"total-file-size-bytes":{"unit":"bytes","value":10},"total-delete-file-size-bytes":{"unit":"bytes","value":0}}},
- metadata = {
- 'key' : ''
- }
- )
- else:
- return CommitReport(
- table_name = '',
- snapshot_id = 56,
- sequence_number = 56,
- operation = '',
- metrics = {"metrics":{"total-planning-duration":{"count":1,"time-unit":"nanoseconds","total-duration":2644235116},"result-data-files":{"unit":"count","value":1},"result-delete-files":{"unit":"count","value":0},"total-data-manifests":{"unit":"count","value":1},"total-delete-manifests":{"unit":"count","value":0},"scanned-data-manifests":{"unit":"count","value":1},"skipped-data-manifests":{"unit":"count","value":0},"total-file-size-bytes":{"unit":"bytes","value":10},"total-delete-file-size-bytes":{"unit":"bytes","value":0}}},
- )
- """
-
- def testCommitReport(self):
- """Test CommitReport"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_commit_table_request.py b/client/python/test/test_commit_table_request.py
deleted file mode 100644
index 3a7d5d4b64..0000000000
--- a/client/python/test/test_commit_table_request.py
+++ /dev/null
@@ -1,86 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.commit_table_request import CommitTableRequest
-
-class TestCommitTableRequest(unittest.TestCase):
- """CommitTableRequest unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> CommitTableRequest:
- """Test CommitTableRequest
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `CommitTableRequest`
- """
- model = CommitTableRequest()
- if include_optional:
- return CommitTableRequest(
- identifier = polaris.catalog.models.table_identifier.TableIdentifier(
- namespace = ["accounting","tax"],
- name = '', ),
- requirements = [
- polaris.catalog.models.table_requirement.TableRequirement(
- type = '', )
- ],
- updates = [
- null
- ]
- )
- else:
- return CommitTableRequest(
- requirements = [
- polaris.catalog.models.table_requirement.TableRequirement(
- type = '', )
- ],
- updates = [
- null
- ],
- )
- """
-
- def testCommitTableRequest(self):
- """Test CommitTableRequest"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_commit_table_response.py b/client/python/test/test_commit_table_response.py
deleted file mode 100644
index 80f2e20075..0000000000
--- a/client/python/test/test_commit_table_response.py
+++ /dev/null
@@ -1,255 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.commit_table_response import CommitTableResponse
-
-class TestCommitTableResponse(unittest.TestCase):
- """CommitTableResponse unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> CommitTableResponse:
- """Test CommitTableResponse
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `CommitTableResponse`
- """
- model = CommitTableResponse()
- if include_optional:
- return CommitTableResponse(
- metadata_location = '',
- metadata = polaris.catalog.models.table_metadata.TableMetadata(
- format_version = 1,
- table_uuid = '',
- location = '',
- last_updated_ms = 56,
- properties = {
- 'key' : ''
- },
- schemas = [
- null
- ],
- current_schema_id = 56,
- last_column_id = 56,
- partition_specs = [
- polaris.catalog.models.partition_spec.PartitionSpec(
- spec_id = 56,
- fields = [
- polaris.catalog.models.partition_field.PartitionField(
- field_id = 56,
- source_id = 56,
- name = '',
- transform = '["identity","year","month","day","hour","bucket[256]","truncate[16]"]', )
- ], )
- ],
- default_spec_id = 56,
- last_partition_id = 56,
- sort_orders = [
- polaris.catalog.models.sort_order.SortOrder(
- order_id = 56,
- fields = [
- polaris.catalog.models.sort_field.SortField(
- source_id = 56,
- transform = '["identity","year","month","day","hour","bucket[256]","truncate[16]"]',
- direction = 'asc',
- null_order = 'nulls-first', )
- ], )
- ],
- default_sort_order_id = 56,
- snapshots = [
- polaris.catalog.models.snapshot.Snapshot(
- snapshot_id = 56,
- parent_snapshot_id = 56,
- sequence_number = 56,
- timestamp_ms = 56,
- manifest_list = '',
- summary = {
- 'key' : ''
- },
- schema_id = 56, )
- ],
- refs = {
- 'key' : polaris.catalog.models.snapshot_reference.SnapshotReference(
- type = 'tag',
- snapshot_id = 56,
- max_ref_age_ms = 56,
- max_snapshot_age_ms = 56,
- min_snapshots_to_keep = 56, )
- },
- current_snapshot_id = 56,
- last_sequence_number = 56,
- snapshot_log = [
- polaris.catalog.models.snapshot_log_inner.SnapshotLog_inner(
- snapshot_id = 56,
- timestamp_ms = 56, )
- ],
- metadata_log = [
- polaris.catalog.models.metadata_log_inner.MetadataLog_inner(
- metadata_file = '',
- timestamp_ms = 56, )
- ],
- statistics = [
- polaris.catalog.models.statistics_file.StatisticsFile(
- snapshot_id = 56,
- statistics_path = '',
- file_size_in_bytes = 56,
- file_footer_size_in_bytes = 56,
- blob_metadata = [
- polaris.catalog.models.blob_metadata.BlobMetadata(
- type = '',
- snapshot_id = 56,
- sequence_number = 56,
- fields = [
- 56
- ], )
- ], )
- ],
- partition_statistics = [
- polaris.catalog.models.partition_statistics_file.PartitionStatisticsFile(
- snapshot_id = 56,
- statistics_path = '',
- file_size_in_bytes = 56, )
- ], )
- )
- else:
- return CommitTableResponse(
- metadata_location = '',
- metadata = polaris.catalog.models.table_metadata.TableMetadata(
- format_version = 1,
- table_uuid = '',
- location = '',
- last_updated_ms = 56,
- properties = {
- 'key' : ''
- },
- schemas = [
- null
- ],
- current_schema_id = 56,
- last_column_id = 56,
- partition_specs = [
- polaris.catalog.models.partition_spec.PartitionSpec(
- spec_id = 56,
- fields = [
- polaris.catalog.models.partition_field.PartitionField(
- field_id = 56,
- source_id = 56,
- name = '',
- transform = '["identity","year","month","day","hour","bucket[256]","truncate[16]"]', )
- ], )
- ],
- default_spec_id = 56,
- last_partition_id = 56,
- sort_orders = [
- polaris.catalog.models.sort_order.SortOrder(
- order_id = 56,
- fields = [
- polaris.catalog.models.sort_field.SortField(
- source_id = 56,
- transform = '["identity","year","month","day","hour","bucket[256]","truncate[16]"]',
- direction = 'asc',
- null_order = 'nulls-first', )
- ], )
- ],
- default_sort_order_id = 56,
- snapshots = [
- polaris.catalog.models.snapshot.Snapshot(
- snapshot_id = 56,
- parent_snapshot_id = 56,
- sequence_number = 56,
- timestamp_ms = 56,
- manifest_list = '',
- summary = {
- 'key' : ''
- },
- schema_id = 56, )
- ],
- refs = {
- 'key' : polaris.catalog.models.snapshot_reference.SnapshotReference(
- type = 'tag',
- snapshot_id = 56,
- max_ref_age_ms = 56,
- max_snapshot_age_ms = 56,
- min_snapshots_to_keep = 56, )
- },
- current_snapshot_id = 56,
- last_sequence_number = 56,
- snapshot_log = [
- polaris.catalog.models.snapshot_log_inner.SnapshotLog_inner(
- snapshot_id = 56,
- timestamp_ms = 56, )
- ],
- metadata_log = [
- polaris.catalog.models.metadata_log_inner.MetadataLog_inner(
- metadata_file = '',
- timestamp_ms = 56, )
- ],
- statistics = [
- polaris.catalog.models.statistics_file.StatisticsFile(
- snapshot_id = 56,
- statistics_path = '',
- file_size_in_bytes = 56,
- file_footer_size_in_bytes = 56,
- blob_metadata = [
- polaris.catalog.models.blob_metadata.BlobMetadata(
- type = '',
- snapshot_id = 56,
- sequence_number = 56,
- fields = [
- 56
- ], )
- ], )
- ],
- partition_statistics = [
- polaris.catalog.models.partition_statistics_file.PartitionStatisticsFile(
- snapshot_id = 56,
- statistics_path = '',
- file_size_in_bytes = 56, )
- ], ),
- )
- """
-
- def testCommitTableResponse(self):
- """Test CommitTableResponse"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_commit_transaction_request.py b/client/python/test/test_commit_transaction_request.py
deleted file mode 100644
index 4ed87216fd..0000000000
--- a/client/python/test/test_commit_transaction_request.py
+++ /dev/null
@@ -1,95 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.commit_transaction_request import CommitTransactionRequest
-
-class TestCommitTransactionRequest(unittest.TestCase):
- """CommitTransactionRequest unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> CommitTransactionRequest:
- """Test CommitTransactionRequest
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `CommitTransactionRequest`
- """
- model = CommitTransactionRequest()
- if include_optional:
- return CommitTransactionRequest(
- table_changes = [
- polaris.catalog.models.commit_table_request.CommitTableRequest(
- identifier = polaris.catalog.models.table_identifier.TableIdentifier(
- namespace = ["accounting","tax"],
- name = '', ),
- requirements = [
- polaris.catalog.models.table_requirement.TableRequirement(
- type = '', )
- ],
- updates = [
- null
- ], )
- ]
- )
- else:
- return CommitTransactionRequest(
- table_changes = [
- polaris.catalog.models.commit_table_request.CommitTableRequest(
- identifier = polaris.catalog.models.table_identifier.TableIdentifier(
- namespace = ["accounting","tax"],
- name = '', ),
- requirements = [
- polaris.catalog.models.table_requirement.TableRequirement(
- type = '', )
- ],
- updates = [
- null
- ], )
- ],
- )
- """
-
- def testCommitTransactionRequest(self):
- """Test CommitTransactionRequest"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_commit_view_request.py b/client/python/test/test_commit_view_request.py
deleted file mode 100644
index 673884bc6d..0000000000
--- a/client/python/test/test_commit_view_request.py
+++ /dev/null
@@ -1,81 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.commit_view_request import CommitViewRequest
-
-class TestCommitViewRequest(unittest.TestCase):
- """CommitViewRequest unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> CommitViewRequest:
- """Test CommitViewRequest
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `CommitViewRequest`
- """
- model = CommitViewRequest()
- if include_optional:
- return CommitViewRequest(
- identifier = polaris.catalog.models.table_identifier.TableIdentifier(
- namespace = ["accounting","tax"],
- name = '', ),
- requirements = [
- polaris.catalog.models.view_requirement.ViewRequirement()
- ],
- updates = [
- null
- ]
- )
- else:
- return CommitViewRequest(
- updates = [
- null
- ],
- )
- """
-
- def testCommitViewRequest(self):
- """Test CommitViewRequest"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_completed_planning_result.py b/client/python/test/test_completed_planning_result.py
deleted file mode 100644
index 241ab29319..0000000000
--- a/client/python/test/test_completed_planning_result.py
+++ /dev/null
@@ -1,92 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Iceberg REST Catalog API
-
- Defines the specification for the first version of the REST Catalog API. Implementations should ideally support both Iceberg table specs v1 and v2, with priority given to v2.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.completed_planning_result import CompletedPlanningResult
-
-class TestCompletedPlanningResult(unittest.TestCase):
- """CompletedPlanningResult unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> CompletedPlanningResult:
- """Test CompletedPlanningResult
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `CompletedPlanningResult`
- """
- model = CompletedPlanningResult()
- if include_optional:
- return CompletedPlanningResult(
- delete_files = [
- null
- ],
- file_scan_tasks = [
- polaris.catalog.models.file_scan_task.FileScanTask(
- data_file = polaris.catalog.models.data_file.DataFile(
- content = '',
- column_sizes = null,
- value_counts = null,
- null_value_counts = null,
- nan_value_counts = null,
- lower_bounds = null,
- upper_bounds = null, ),
- delete_file_references = [
- 56
- ],
- residual_filter = null, )
- ],
- plan_tasks = [
- ''
- ],
- status = 'completed'
- )
- else:
- return CompletedPlanningResult(
- status = 'completed',
- )
- """
-
- def testCompletedPlanningResult(self):
- """Test CompletedPlanningResult"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_completed_planning_with_id_result.py b/client/python/test/test_completed_planning_with_id_result.py
deleted file mode 100644
index 2277965dd6..0000000000
--- a/client/python/test/test_completed_planning_with_id_result.py
+++ /dev/null
@@ -1,93 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Iceberg REST Catalog API
-
- Defines the specification for the first version of the REST Catalog API. Implementations should ideally support both Iceberg table specs v1 and v2, with priority given to v2.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.completed_planning_with_id_result import CompletedPlanningWithIDResult
-
-class TestCompletedPlanningWithIDResult(unittest.TestCase):
- """CompletedPlanningWithIDResult unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> CompletedPlanningWithIDResult:
- """Test CompletedPlanningWithIDResult
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `CompletedPlanningWithIDResult`
- """
- model = CompletedPlanningWithIDResult()
- if include_optional:
- return CompletedPlanningWithIDResult(
- delete_files = [
- null
- ],
- file_scan_tasks = [
- polaris.catalog.models.file_scan_task.FileScanTask(
- data_file = polaris.catalog.models.data_file.DataFile(
- content = '',
- column_sizes = null,
- value_counts = null,
- null_value_counts = null,
- nan_value_counts = null,
- lower_bounds = null,
- upper_bounds = null, ),
- delete_file_references = [
- 56
- ],
- residual_filter = null, )
- ],
- plan_tasks = [
- ''
- ],
- status = 'completed',
- plan_id = ''
- )
- else:
- return CompletedPlanningWithIDResult(
- status = 'completed',
- )
- """
-
- def testCompletedPlanningWithIDResult(self):
- """Test CompletedPlanningWithIDResult"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_configuration_api.py b/client/python/test/test_configuration_api.py
deleted file mode 100644
index 61d1d2c3c1..0000000000
--- a/client/python/test/test_configuration_api.py
+++ /dev/null
@@ -1,57 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.api.configuration_api import ConfigurationAPI
-
-
-class TestConfigurationAPI(unittest.TestCase):
- """ConfigurationAPI unit test stubs"""
-
- def setUp(self) -> None:
- self.api = ConfigurationAPI()
-
- def tearDown(self) -> None:
- pass
-
- def test_get_config(self) -> None:
- """Test case for get_config
-
- List all catalog configuration settings
- """
- pass
-
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_connection_config_info.py b/client/python/test/test_connection_config_info.py
deleted file mode 100644
index bf7ebfb5a2..0000000000
--- a/client/python/test/test_connection_config_info.py
+++ /dev/null
@@ -1,76 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.connection_config_info import ConnectionConfigInfo
-
-class TestConnectionConfigInfo(unittest.TestCase):
- """ConnectionConfigInfo unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> ConnectionConfigInfo:
- """Test ConnectionConfigInfo
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `ConnectionConfigInfo`
- """
- model = ConnectionConfigInfo()
- if include_optional:
- return ConnectionConfigInfo(
- connection_type = 'ICEBERG_REST',
- uri = '',
- authentication_parameters = polaris.management.models.authentication_parameters.AuthenticationParameters(
- authentication_type = 'OAUTH', ),
- service_identity = polaris.management.models.service_identity_info.ServiceIdentityInfo(
- identity_type = 'AWS_IAM', )
- )
- else:
- return ConnectionConfigInfo(
- connection_type = 'ICEBERG_REST',
- )
- """
-
- def testConnectionConfigInfo(self):
- """Test ConnectionConfigInfo"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_content_file.py b/client/python/test/test_content_file.py
deleted file mode 100644
index 4177204cf4..0000000000
--- a/client/python/test/test_content_file.py
+++ /dev/null
@@ -1,88 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Iceberg REST Catalog API
-
- Defines the specification for the first version of the REST Catalog API. Implementations should ideally support both Iceberg table specs v1 and v2, with priority given to v2.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.content_file import ContentFile
-
-class TestContentFile(unittest.TestCase):
- """ContentFile unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> ContentFile:
- """Test ContentFile
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `ContentFile`
- """
- model = ContentFile()
- if include_optional:
- return ContentFile(
- content = '',
- file_path = '',
- file_format = 'avro',
- spec_id = 56,
- partition = [1, bar],
- file_size_in_bytes = 56,
- record_count = 56,
- key_metadata = '78797A',
- split_offsets = [
- 56
- ],
- sort_order_id = 56
- )
- else:
- return ContentFile(
- content = '',
- file_path = '',
- file_format = 'avro',
- spec_id = 56,
- partition = [1, bar],
- file_size_in_bytes = 56,
- record_count = 56,
- )
- """
-
- def testContentFile(self):
- """Test ContentFile"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_count_map.py b/client/python/test/test_count_map.py
deleted file mode 100644
index 96d4b11483..0000000000
--- a/client/python/test/test_count_map.py
+++ /dev/null
@@ -1,75 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Iceberg REST Catalog API
-
- Defines the specification for the first version of the REST Catalog API. Implementations should ideally support both Iceberg table specs v1 and v2, with priority given to v2.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.count_map import CountMap
-
-class TestCountMap(unittest.TestCase):
- """CountMap unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> CountMap:
- """Test CountMap
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `CountMap`
- """
- model = CountMap()
- if include_optional:
- return CountMap(
- keys = [
- 42
- ],
- values = [
- 9223372036854775807
- ]
- )
- else:
- return CountMap(
- )
- """
-
- def testCountMap(self):
- """Test CountMap"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_counter_result.py b/client/python/test/test_counter_result.py
deleted file mode 100644
index e23d2d2e2c..0000000000
--- a/client/python/test/test_counter_result.py
+++ /dev/null
@@ -1,73 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.counter_result import CounterResult
-
-class TestCounterResult(unittest.TestCase):
- """CounterResult unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> CounterResult:
- """Test CounterResult
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `CounterResult`
- """
- model = CounterResult()
- if include_optional:
- return CounterResult(
- unit = '',
- value = 56
- )
- else:
- return CounterResult(
- unit = '',
- value = 56,
- )
- """
-
- def testCounterResult(self):
- """Test CounterResult"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_create_catalog_request.py b/client/python/test/test_create_catalog_request.py
deleted file mode 100644
index abf784660d..0000000000
--- a/client/python/test/test_create_catalog_request.py
+++ /dev/null
@@ -1,93 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.create_catalog_request import CreateCatalogRequest
-
-class TestCreateCatalogRequest(unittest.TestCase):
- """CreateCatalogRequest unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> CreateCatalogRequest:
- """Test CreateCatalogRequest
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `CreateCatalogRequest`
- """
- model = CreateCatalogRequest()
- if include_optional:
- return CreateCatalogRequest(
- catalog = polaris.management.models.catalog.Catalog(
- type = 'INTERNAL',
- name = 'k&*h<4i H\'qT\\{\'es#)#iK.YM{Rag2/!KB!k@5oXh.:Ts\";mGL,i&z5[P@M\"lzfB+Y,Twzfu~N^z\"mfqecVU0',
- properties = {
- 'key' : ''
- },
- create_timestamp = 56,
- last_update_timestamp = 56,
- entity_version = 56,
- storage_config_info = polaris.management.models.storage_config_info.StorageConfigInfo(
- storage_type = 'S3',
- allowed_locations = For AWS [s3://bucketname/prefix/], for AZURE [abfss://container@storageaccount.blob.core.windows.net/prefix/], for GCP [gs://bucketname/prefix/], ), )
- )
- else:
- return CreateCatalogRequest(
- catalog = polaris.management.models.catalog.Catalog(
- type = 'INTERNAL',
- name = 'k&*h<4i H\'qT\\{\'es#)#iK.YM{Rag2/!KB!k@5oXh.:Ts\";mGL,i&z5[P@M\"lzfB+Y,Twzfu~N^z\"mfqecVU0',
- properties = {
- 'key' : ''
- },
- create_timestamp = 56,
- last_update_timestamp = 56,
- entity_version = 56,
- storage_config_info = polaris.management.models.storage_config_info.StorageConfigInfo(
- storage_type = 'S3',
- allowed_locations = For AWS [s3://bucketname/prefix/], for AZURE [abfss://container@storageaccount.blob.core.windows.net/prefix/], for GCP [gs://bucketname/prefix/], ), ),
- )
- """
-
- def testCreateCatalogRequest(self):
- """Test CreateCatalogRequest"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_create_catalog_role_request.py b/client/python/test/test_create_catalog_role_request.py
deleted file mode 100644
index 167e263d27..0000000000
--- a/client/python/test/test_create_catalog_role_request.py
+++ /dev/null
@@ -1,77 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.create_catalog_role_request import CreateCatalogRoleRequest
-
-class TestCreateCatalogRoleRequest(unittest.TestCase):
- """CreateCatalogRoleRequest unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> CreateCatalogRoleRequest:
- """Test CreateCatalogRoleRequest
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `CreateCatalogRoleRequest`
- """
- model = CreateCatalogRoleRequest()
- if include_optional:
- return CreateCatalogRoleRequest(
- catalog_role = polaris.management.models.catalog_role.CatalogRole(
- name = 'k&*h<4i H\'qT\\{\'es#)#iK.YM{Rag2/!KB!k@5oXh.:Ts\";mGL,i&z5[P@M\"lzfB+Y,Twzfu~N^z\"mfqecVU0',
- properties = {
- 'key' : ''
- },
- create_timestamp = 56,
- last_update_timestamp = 56,
- entity_version = 56, )
- )
- else:
- return CreateCatalogRoleRequest(
- )
- """
-
- def testCreateCatalogRoleRequest(self):
- """Test CreateCatalogRoleRequest"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_create_generic_table_request.py b/client/python/test/test_create_generic_table_request.py
deleted file mode 100644
index 1f43020044..0000000000
--- a/client/python/test/test_create_generic_table_request.py
+++ /dev/null
@@ -1,77 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.create_generic_table_request import CreateGenericTableRequest
-
-class TestCreateGenericTableRequest(unittest.TestCase):
- """CreateGenericTableRequest unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> CreateGenericTableRequest:
- """Test CreateGenericTableRequest
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `CreateGenericTableRequest`
- """
- model = CreateGenericTableRequest()
- if include_optional:
- return CreateGenericTableRequest(
- name = '',
- format = '',
- doc = '',
- properties = {
- 'key' : ''
- }
- )
- else:
- return CreateGenericTableRequest(
- name = '',
- format = '',
- )
- """
-
- def testCreateGenericTableRequest(self):
- """Test CreateGenericTableRequest"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_create_namespace_request.py b/client/python/test/test_create_namespace_request.py
deleted file mode 100644
index 90c91c3902..0000000000
--- a/client/python/test/test_create_namespace_request.py
+++ /dev/null
@@ -1,72 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.create_namespace_request import CreateNamespaceRequest
-
-class TestCreateNamespaceRequest(unittest.TestCase):
- """CreateNamespaceRequest unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> CreateNamespaceRequest:
- """Test CreateNamespaceRequest
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `CreateNamespaceRequest`
- """
- model = CreateNamespaceRequest()
- if include_optional:
- return CreateNamespaceRequest(
- namespace = ["accounting","tax"],
- properties = {"owner":"Hank Bendickson"}
- )
- else:
- return CreateNamespaceRequest(
- namespace = ["accounting","tax"],
- )
- """
-
- def testCreateNamespaceRequest(self):
- """Test CreateNamespaceRequest"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_create_namespace_response.py b/client/python/test/test_create_namespace_response.py
deleted file mode 100644
index 79cbcfb97e..0000000000
--- a/client/python/test/test_create_namespace_response.py
+++ /dev/null
@@ -1,72 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.create_namespace_response import CreateNamespaceResponse
-
-class TestCreateNamespaceResponse(unittest.TestCase):
- """CreateNamespaceResponse unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> CreateNamespaceResponse:
- """Test CreateNamespaceResponse
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `CreateNamespaceResponse`
- """
- model = CreateNamespaceResponse()
- if include_optional:
- return CreateNamespaceResponse(
- namespace = ["accounting","tax"],
- properties = {"owner":"Ralph","created_at":"1452120468"}
- )
- else:
- return CreateNamespaceResponse(
- namespace = ["accounting","tax"],
- )
- """
-
- def testCreateNamespaceResponse(self):
- """Test CreateNamespaceResponse"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_create_policy_request.py b/client/python/test/test_create_policy_request.py
deleted file mode 100644
index ccf7844596..0000000000
--- a/client/python/test/test_create_policy_request.py
+++ /dev/null
@@ -1,75 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.create_policy_request import CreatePolicyRequest
-
-class TestCreatePolicyRequest(unittest.TestCase):
- """CreatePolicyRequest unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> CreatePolicyRequest:
- """Test CreatePolicyRequest
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `CreatePolicyRequest`
- """
- model = CreatePolicyRequest()
- if include_optional:
- return CreatePolicyRequest(
- name = 'compaction',
- type = '',
- description = '',
- content = ''
- )
- else:
- return CreatePolicyRequest(
- name = 'compaction',
- type = '',
- )
- """
-
- def testCreatePolicyRequest(self):
- """Test CreatePolicyRequest"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_create_principal_request.py b/client/python/test/test_create_principal_request.py
deleted file mode 100644
index c4e4b65f24..0000000000
--- a/client/python/test/test_create_principal_request.py
+++ /dev/null
@@ -1,79 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.create_principal_request import CreatePrincipalRequest
-
-class TestCreatePrincipalRequest(unittest.TestCase):
- """CreatePrincipalRequest unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> CreatePrincipalRequest:
- """Test CreatePrincipalRequest
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `CreatePrincipalRequest`
- """
- model = CreatePrincipalRequest()
- if include_optional:
- return CreatePrincipalRequest(
- principal = polaris.management.models.principal.Principal(
- name = 'k&*h<4i H\'qT\\{\'es#)#iK.YM{Rag2/!KB!k@5oXh.:Ts\";mGL,i&z5[P@M\"lzfB+Y,Twzfu~N^z\"mfqecVU0',
- client_id = '',
- properties = {
- 'key' : ''
- },
- create_timestamp = 56,
- last_update_timestamp = 56,
- entity_version = 56, ),
- credential_rotation_required = True
- )
- else:
- return CreatePrincipalRequest(
- )
- """
-
- def testCreatePrincipalRequest(self):
- """Test CreatePrincipalRequest"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_create_principal_role_request.py b/client/python/test/test_create_principal_role_request.py
deleted file mode 100644
index 8630ea04d4..0000000000
--- a/client/python/test/test_create_principal_role_request.py
+++ /dev/null
@@ -1,78 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.create_principal_role_request import CreatePrincipalRoleRequest
-
-class TestCreatePrincipalRoleRequest(unittest.TestCase):
- """CreatePrincipalRoleRequest unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> CreatePrincipalRoleRequest:
- """Test CreatePrincipalRoleRequest
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `CreatePrincipalRoleRequest`
- """
- model = CreatePrincipalRoleRequest()
- if include_optional:
- return CreatePrincipalRoleRequest(
- principal_role = polaris.management.models.principal_role.PrincipalRole(
- name = 'k&*h<4i H\'qT\\{\'es#)#iK.YM{Rag2/!KB!k@5oXh.:Ts\";mGL,i&z5[P@M\"lzfB+Y,Twzfu~N^z\"mfqecVU0',
- federated = True,
- properties = {
- 'key' : ''
- },
- create_timestamp = 56,
- last_update_timestamp = 56,
- entity_version = 56, )
- )
- else:
- return CreatePrincipalRoleRequest(
- )
- """
-
- def testCreatePrincipalRoleRequest(self):
- """Test CreatePrincipalRoleRequest"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_create_table_request.py b/client/python/test/test_create_table_request.py
deleted file mode 100644
index 80b644d4ab..0000000000
--- a/client/python/test/test_create_table_request.py
+++ /dev/null
@@ -1,96 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.create_table_request import CreateTableRequest
-
-class TestCreateTableRequest(unittest.TestCase):
- """CreateTableRequest unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> CreateTableRequest:
- """Test CreateTableRequest
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `CreateTableRequest`
- """
- model = CreateTableRequest()
- if include_optional:
- return CreateTableRequest(
- name = '',
- location = '',
- var_schema = None,
- partition_spec = polaris.catalog.models.partition_spec.PartitionSpec(
- spec_id = 56,
- fields = [
- polaris.catalog.models.partition_field.PartitionField(
- field_id = 56,
- source_id = 56,
- name = '',
- transform = '["identity","year","month","day","hour","bucket[256]","truncate[16]"]', )
- ], ),
- write_order = polaris.catalog.models.sort_order.SortOrder(
- order_id = 56,
- fields = [
- polaris.catalog.models.sort_field.SortField(
- source_id = 56,
- transform = '["identity","year","month","day","hour","bucket[256]","truncate[16]"]',
- direction = 'asc',
- null_order = 'nulls-first', )
- ], ),
- stage_create = True,
- properties = {
- 'key' : ''
- }
- )
- else:
- return CreateTableRequest(
- name = '',
- var_schema = None,
- )
- """
-
- def testCreateTableRequest(self):
- """Test CreateTableRequest"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_create_view_request.py b/client/python/test/test_create_view_request.py
deleted file mode 100644
index b51d90ac0a..0000000000
--- a/client/python/test/test_create_view_request.py
+++ /dev/null
@@ -1,104 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.create_view_request import CreateViewRequest
-
-class TestCreateViewRequest(unittest.TestCase):
- """CreateViewRequest unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> CreateViewRequest:
- """Test CreateViewRequest
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `CreateViewRequest`
- """
- model = CreateViewRequest()
- if include_optional:
- return CreateViewRequest(
- name = '',
- location = '',
- var_schema = None,
- view_version = polaris.catalog.models.view_version.ViewVersion(
- version_id = 56,
- timestamp_ms = 56,
- schema_id = 56,
- summary = {
- 'key' : ''
- },
- representations = [
- null
- ],
- default_catalog = '',
- default_namespace = ["accounting","tax"], ),
- properties = {
- 'key' : ''
- }
- )
- else:
- return CreateViewRequest(
- name = '',
- var_schema = None,
- view_version = polaris.catalog.models.view_version.ViewVersion(
- version_id = 56,
- timestamp_ms = 56,
- schema_id = 56,
- summary = {
- 'key' : ''
- },
- representations = [
- null
- ],
- default_catalog = '',
- default_namespace = ["accounting","tax"], ),
- properties = {
- 'key' : ''
- },
- )
- """
-
- def testCreateViewRequest(self):
- """Test CreateViewRequest"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_data_file.py b/client/python/test/test_data_file.py
deleted file mode 100644
index cfc0cec05e..0000000000
--- a/client/python/test/test_data_file.py
+++ /dev/null
@@ -1,77 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Iceberg REST Catalog API
-
- Defines the specification for the first version of the REST Catalog API. Implementations should ideally support both Iceberg table specs v1 and v2, with priority given to v2.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.data_file import DataFile
-
-class TestDataFile(unittest.TestCase):
- """DataFile unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> DataFile:
- """Test DataFile
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `DataFile`
- """
- model = DataFile()
- if include_optional:
- return DataFile(
- content = '',
- column_sizes = {keys=[1, 2], values=[100, 200]},
- value_counts = {keys=[1, 2], values=[100, 200]},
- null_value_counts = {keys=[1, 2], values=[100, 200]},
- nan_value_counts = {keys=[1, 2], values=[100, 200]},
- lower_bounds = {keys=[1, 2], values=[100, test]},
- upper_bounds = {keys=[1, 2], values=[100, test]}
- )
- else:
- return DataFile(
- content = '',
- )
- """
-
- def testDataFile(self):
- """Test DataFile"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_delete_file.py b/client/python/test/test_delete_file.py
deleted file mode 100644
index d60b2b82b0..0000000000
--- a/client/python/test/test_delete_file.py
+++ /dev/null
@@ -1,91 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Iceberg REST Catalog API
-
- Defines the specification for the first version of the REST Catalog API. Implementations should ideally support both Iceberg table specs v1 and v2, with priority given to v2.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.delete_file import DeleteFile
-
-class TestDeleteFile(unittest.TestCase):
- """DeleteFile unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> DeleteFile:
- """Test DeleteFile
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `DeleteFile`
- """
- model = DeleteFile()
- if include_optional:
- return DeleteFile(
- content = '',
- equality_ids = [
- 56
- ],
- file_path = '',
- file_format = 'avro',
- spec_id = 56,
- partition = [1, bar],
- file_size_in_bytes = 56,
- record_count = 56,
- key_metadata = '78797A',
- split_offsets = [
- 56
- ],
- sort_order_id = 56
- )
- else:
- return DeleteFile(
- content = '',
- file_path = '',
- file_format = 'avro',
- spec_id = 56,
- partition = [1, bar],
- file_size_in_bytes = 56,
- record_count = 56,
- )
- """
-
- def testDeleteFile(self):
- """Test DeleteFile"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_detach_policy_request.py b/client/python/test/test_detach_policy_request.py
deleted file mode 100644
index 445185e255..0000000000
--- a/client/python/test/test_detach_policy_request.py
+++ /dev/null
@@ -1,75 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.detach_policy_request import DetachPolicyRequest
-
-class TestDetachPolicyRequest(unittest.TestCase):
- """DetachPolicyRequest unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> DetachPolicyRequest:
- """Test DetachPolicyRequest
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `DetachPolicyRequest`
- """
- model = DetachPolicyRequest()
- if include_optional:
- return DetachPolicyRequest(
- target = polaris.catalog.models.policy_attachment_target.PolicyAttachmentTarget(
- type = 'table-like',
- path = ["NS1","NS2","test_table_1"], )
- )
- else:
- return DetachPolicyRequest(
- target = polaris.catalog.models.policy_attachment_target.PolicyAttachmentTarget(
- type = 'table-like',
- path = ["NS1","NS2","test_table_1"], ),
- )
- """
-
- def testDetachPolicyRequest(self):
- """Test DetachPolicyRequest"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_empty_planning_result.py b/client/python/test/test_empty_planning_result.py
deleted file mode 100644
index 34077b4140..0000000000
--- a/client/python/test/test_empty_planning_result.py
+++ /dev/null
@@ -1,71 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Iceberg REST Catalog API
-
- Defines the specification for the first version of the REST Catalog API. Implementations should ideally support both Iceberg table specs v1 and v2, with priority given to v2.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.empty_planning_result import EmptyPlanningResult
-
-class TestEmptyPlanningResult(unittest.TestCase):
- """EmptyPlanningResult unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> EmptyPlanningResult:
- """Test EmptyPlanningResult
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `EmptyPlanningResult`
- """
- model = EmptyPlanningResult()
- if include_optional:
- return EmptyPlanningResult(
- status = 'submitted'
- )
- else:
- return EmptyPlanningResult(
- status = 'submitted',
- )
- """
-
- def testEmptyPlanningResult(self):
- """Test EmptyPlanningResult"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_enable_row_lineage_update.py b/client/python/test/test_enable_row_lineage_update.py
deleted file mode 100644
index de4a028ef1..0000000000
--- a/client/python/test/test_enable_row_lineage_update.py
+++ /dev/null
@@ -1,70 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.enable_row_lineage_update import EnableRowLineageUpdate
-
-class TestEnableRowLineageUpdate(unittest.TestCase):
- """EnableRowLineageUpdate unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> EnableRowLineageUpdate:
- """Test EnableRowLineageUpdate
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `EnableRowLineageUpdate`
- """
- model = EnableRowLineageUpdate()
- if include_optional:
- return EnableRowLineageUpdate(
- action = ''
- )
- else:
- return EnableRowLineageUpdate(
- )
- """
-
- def testEnableRowLineageUpdate(self):
- """Test EnableRowLineageUpdate"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_equality_delete_file.py b/client/python/test/test_equality_delete_file.py
deleted file mode 100644
index 46996c5345..0000000000
--- a/client/python/test/test_equality_delete_file.py
+++ /dev/null
@@ -1,74 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Iceberg REST Catalog API
-
- Defines the specification for the first version of the REST Catalog API. Implementations should ideally support both Iceberg table specs v1 and v2, with priority given to v2.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.equality_delete_file import EqualityDeleteFile
-
-class TestEqualityDeleteFile(unittest.TestCase):
- """EqualityDeleteFile unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> EqualityDeleteFile:
- """Test EqualityDeleteFile
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `EqualityDeleteFile`
- """
- model = EqualityDeleteFile()
- if include_optional:
- return EqualityDeleteFile(
- content = '',
- equality_ids = [
- 56
- ]
- )
- else:
- return EqualityDeleteFile(
- content = '',
- )
- """
-
- def testEqualityDeleteFile(self):
- """Test EqualityDeleteFile"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_error_model.py b/client/python/test/test_error_model.py
deleted file mode 100644
index aab159008e..0000000000
--- a/client/python/test/test_error_model.py
+++ /dev/null
@@ -1,78 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.error_model import ErrorModel
-
-class TestErrorModel(unittest.TestCase):
- """ErrorModel unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> ErrorModel:
- """Test ErrorModel
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `ErrorModel`
- """
- model = ErrorModel()
- if include_optional:
- return ErrorModel(
- message = '',
- type = 'NoSuchNamespaceException',
- code = 404,
- stack = [
- ''
- ]
- )
- else:
- return ErrorModel(
- message = '',
- type = 'NoSuchNamespaceException',
- code = 404,
- )
- """
-
- def testErrorModel(self):
- """Test ErrorModel"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_expression.py b/client/python/test/test_expression.py
deleted file mode 100644
index d13b6ce94f..0000000000
--- a/client/python/test/test_expression.py
+++ /dev/null
@@ -1,87 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.expression import Expression
-
-class TestExpression(unittest.TestCase):
- """Expression unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> Expression:
- """Test Expression
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `Expression`
- """
- model = Expression()
- if include_optional:
- return Expression(
- type = '["true","false","eq","and","or","not","in","not-in","lt","lt-eq","gt","gt-eq","not-eq","starts-with","not-starts-with","is-null","not-null","is-nan","not-nan"]',
- left = None,
- right = None,
- child = None,
- term = None,
- values = [
- None
- ],
- value = polaris.catalog.models.value.value()
- )
- else:
- return Expression(
- type = '["true","false","eq","and","or","not","in","not-in","lt","lt-eq","gt","gt-eq","not-eq","starts-with","not-starts-with","is-null","not-null","is-nan","not-nan"]',
- left = None,
- right = None,
- child = None,
- term = None,
- values = [
- None
- ],
- value = polaris.catalog.models.value.value(),
- )
- """
-
- def testExpression(self):
- """Test Expression"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_external_catalog.py b/client/python/test/test_external_catalog.py
deleted file mode 100644
index 0ae5dd4f36..0000000000
--- a/client/python/test/test_external_catalog.py
+++ /dev/null
@@ -1,76 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.external_catalog import ExternalCatalog
-
-class TestExternalCatalog(unittest.TestCase):
- """ExternalCatalog unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> ExternalCatalog:
- """Test ExternalCatalog
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `ExternalCatalog`
- """
- model = ExternalCatalog()
- if include_optional:
- return ExternalCatalog(
- connection_config_info = polaris.management.models.connection_config_info.ConnectionConfigInfo(
- connection_type = 'ICEBERG_REST',
- uri = '',
- authentication_parameters = polaris.management.models.authentication_parameters.AuthenticationParameters(
- authentication_type = 'OAUTH', ),
- service_identity = polaris.management.models.service_identity_info.ServiceIdentityInfo(
- identity_type = 'AWS_IAM', ), )
- )
- else:
- return ExternalCatalog(
- )
- """
-
- def testExternalCatalog(self):
- """Test ExternalCatalog"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_failed_planning_result.py b/client/python/test/test_failed_planning_result.py
deleted file mode 100644
index 0f8a9b601c..0000000000
--- a/client/python/test/test_failed_planning_result.py
+++ /dev/null
@@ -1,85 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Iceberg REST Catalog API
-
- Defines the specification for the first version of the REST Catalog API. Implementations should ideally support both Iceberg table specs v1 and v2, with priority given to v2.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.failed_planning_result import FailedPlanningResult
-
-class TestFailedPlanningResult(unittest.TestCase):
- """FailedPlanningResult unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> FailedPlanningResult:
- """Test FailedPlanningResult
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `FailedPlanningResult`
- """
- model = FailedPlanningResult()
- if include_optional:
- return FailedPlanningResult(
- error = polaris.catalog.models.error_model.ErrorModel(
- message = '',
- type = 'NoSuchNamespaceException',
- code = 404,
- stack = [
- ''
- ], ),
- status = 'completed'
- )
- else:
- return FailedPlanningResult(
- error = polaris.catalog.models.error_model.ErrorModel(
- message = '',
- type = 'NoSuchNamespaceException',
- code = 404,
- stack = [
- ''
- ], ),
- status = 'completed',
- )
- """
-
- def testFailedPlanningResult(self):
- """Test FailedPlanningResult"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_false_expression.py b/client/python/test/test_false_expression.py
deleted file mode 100644
index aa32d10b9c..0000000000
--- a/client/python/test/test_false_expression.py
+++ /dev/null
@@ -1,71 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.false_expression import FalseExpression
-
-class TestFalseExpression(unittest.TestCase):
- """FalseExpression unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> FalseExpression:
- """Test FalseExpression
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `FalseExpression`
- """
- model = FalseExpression()
- if include_optional:
- return FalseExpression(
- type = '["true","false","eq","and","or","not","in","not-in","lt","lt-eq","gt","gt-eq","not-eq","starts-with","not-starts-with","is-null","not-null","is-nan","not-nan"]'
- )
- else:
- return FalseExpression(
- type = '["true","false","eq","and","or","not","in","not-in","lt","lt-eq","gt","gt-eq","not-eq","starts-with","not-starts-with","is-null","not-null","is-nan","not-nan"]',
- )
- """
-
- def testFalseExpression(self):
- """Test FalseExpression"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_fetch_planning_result.py b/client/python/test/test_fetch_planning_result.py
deleted file mode 100644
index c71177ca91..0000000000
--- a/client/python/test/test_fetch_planning_result.py
+++ /dev/null
@@ -1,106 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Iceberg REST Catalog API
-
- Defines the specification for the first version of the REST Catalog API. Implementations should ideally support both Iceberg table specs v1 and v2, with priority given to v2.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.fetch_planning_result import FetchPlanningResult
-
-class TestFetchPlanningResult(unittest.TestCase):
- """FetchPlanningResult unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> FetchPlanningResult:
- """Test FetchPlanningResult
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `FetchPlanningResult`
- """
- model = FetchPlanningResult()
- if include_optional:
- return FetchPlanningResult(
- delete_files = [
- null
- ],
- file_scan_tasks = [
- polaris.catalog.models.file_scan_task.FileScanTask(
- data_file = polaris.catalog.models.data_file.DataFile(
- content = '',
- column_sizes = null,
- value_counts = null,
- null_value_counts = null,
- nan_value_counts = null,
- lower_bounds = null,
- upper_bounds = null, ),
- delete_file_references = [
- 56
- ],
- residual_filter = null, )
- ],
- plan_tasks = [
- ''
- ],
- status = 'submitted',
- error = polaris.catalog.models.error_model.ErrorModel(
- message = '',
- type = 'NoSuchNamespaceException',
- code = 404,
- stack = [
- ''
- ], )
- )
- else:
- return FetchPlanningResult(
- status = 'submitted',
- error = polaris.catalog.models.error_model.ErrorModel(
- message = '',
- type = 'NoSuchNamespaceException',
- code = 404,
- stack = [
- ''
- ], ),
- )
- """
-
- def testFetchPlanningResult(self):
- """Test FetchPlanningResult"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_fetch_scan_tasks_request.py b/client/python/test/test_fetch_scan_tasks_request.py
deleted file mode 100644
index 3399531f17..0000000000
--- a/client/python/test/test_fetch_scan_tasks_request.py
+++ /dev/null
@@ -1,71 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Iceberg REST Catalog API
-
- Defines the specification for the first version of the REST Catalog API. Implementations should ideally support both Iceberg table specs v1 and v2, with priority given to v2.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.fetch_scan_tasks_request import FetchScanTasksRequest
-
-class TestFetchScanTasksRequest(unittest.TestCase):
- """FetchScanTasksRequest unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> FetchScanTasksRequest:
- """Test FetchScanTasksRequest
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `FetchScanTasksRequest`
- """
- model = FetchScanTasksRequest()
- if include_optional:
- return FetchScanTasksRequest(
- plan_task = ''
- )
- else:
- return FetchScanTasksRequest(
- plan_task = '',
- )
- """
-
- def testFetchScanTasksRequest(self):
- """Test FetchScanTasksRequest"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_fetch_scan_tasks_result.py b/client/python/test/test_fetch_scan_tasks_result.py
deleted file mode 100644
index ff698d041b..0000000000
--- a/client/python/test/test_fetch_scan_tasks_result.py
+++ /dev/null
@@ -1,90 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Iceberg REST Catalog API
-
- Defines the specification for the first version of the REST Catalog API. Implementations should ideally support both Iceberg table specs v1 and v2, with priority given to v2.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.fetch_scan_tasks_result import FetchScanTasksResult
-
-class TestFetchScanTasksResult(unittest.TestCase):
- """FetchScanTasksResult unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> FetchScanTasksResult:
- """Test FetchScanTasksResult
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `FetchScanTasksResult`
- """
- model = FetchScanTasksResult()
- if include_optional:
- return FetchScanTasksResult(
- delete_files = [
- null
- ],
- file_scan_tasks = [
- polaris.catalog.models.file_scan_task.FileScanTask(
- data_file = polaris.catalog.models.data_file.DataFile(
- content = '',
- column_sizes = null,
- value_counts = null,
- null_value_counts = null,
- nan_value_counts = null,
- lower_bounds = null,
- upper_bounds = null, ),
- delete_file_references = [
- 56
- ],
- residual_filter = null, )
- ],
- plan_tasks = [
- ''
- ]
- )
- else:
- return FetchScanTasksResult(
- )
- """
-
- def testFetchScanTasksResult(self):
- """Test FetchScanTasksResult"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_file_format.py b/client/python/test/test_file_format.py
deleted file mode 100644
index abf6cdb739..0000000000
--- a/client/python/test/test_file_format.py
+++ /dev/null
@@ -1,52 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Iceberg REST Catalog API
-
- Defines the specification for the first version of the REST Catalog API. Implementations should ideally support both Iceberg table specs v1 and v2, with priority given to v2.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.file_format import FileFormat
-
-class TestFileFormat(unittest.TestCase):
- """FileFormat unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def testFileFormat(self):
- """Test FileFormat"""
- # inst = FileFormat()
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_file_scan_task.py b/client/python/test/test_file_scan_task.py
deleted file mode 100644
index 53bc95f90d..0000000000
--- a/client/python/test/test_file_scan_task.py
+++ /dev/null
@@ -1,89 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Iceberg REST Catalog API
-
- Defines the specification for the first version of the REST Catalog API. Implementations should ideally support both Iceberg table specs v1 and v2, with priority given to v2.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.file_scan_task import FileScanTask
-
-class TestFileScanTask(unittest.TestCase):
- """FileScanTask unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> FileScanTask:
- """Test FileScanTask
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `FileScanTask`
- """
- model = FileScanTask()
- if include_optional:
- return FileScanTask(
- data_file = polaris.catalog.models.data_file.DataFile(
- content = '',
- column_sizes = null,
- value_counts = null,
- null_value_counts = null,
- nan_value_counts = null,
- lower_bounds = null,
- upper_bounds = null, ),
- delete_file_references = [
- 56
- ],
- residual_filter = None
- )
- else:
- return FileScanTask(
- data_file = polaris.catalog.models.data_file.DataFile(
- content = '',
- column_sizes = null,
- value_counts = null,
- null_value_counts = null,
- nan_value_counts = null,
- lower_bounds = null,
- upper_bounds = null, ),
- )
- """
-
- def testFileScanTask(self):
- """Test FileScanTask"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_file_storage_config_info.py b/client/python/test/test_file_storage_config_info.py
deleted file mode 100644
index 7512921f7c..0000000000
--- a/client/python/test/test_file_storage_config_info.py
+++ /dev/null
@@ -1,69 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.file_storage_config_info import FileStorageConfigInfo
-
-class TestFileStorageConfigInfo(unittest.TestCase):
- """FileStorageConfigInfo unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> FileStorageConfigInfo:
- """Test FileStorageConfigInfo
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `FileStorageConfigInfo`
- """
- model = FileStorageConfigInfo()
- if include_optional:
- return FileStorageConfigInfo(
- )
- else:
- return FileStorageConfigInfo(
- )
- """
-
- def testFileStorageConfigInfo(self):
- """Test FileStorageConfigInfo"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_gcp_storage_config_info.py b/client/python/test/test_gcp_storage_config_info.py
deleted file mode 100644
index 1faede5b4d..0000000000
--- a/client/python/test/test_gcp_storage_config_info.py
+++ /dev/null
@@ -1,70 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.gcp_storage_config_info import GcpStorageConfigInfo
-
-class TestGcpStorageConfigInfo(unittest.TestCase):
- """GcpStorageConfigInfo unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> GcpStorageConfigInfo:
- """Test GcpStorageConfigInfo
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `GcpStorageConfigInfo`
- """
- model = GcpStorageConfigInfo()
- if include_optional:
- return GcpStorageConfigInfo(
- gcs_service_account = ''
- )
- else:
- return GcpStorageConfigInfo(
- )
- """
-
- def testGcpStorageConfigInfo(self):
- """Test GcpStorageConfigInfo"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_generic_table.py b/client/python/test/test_generic_table.py
deleted file mode 100644
index 2529dcd311..0000000000
--- a/client/python/test/test_generic_table.py
+++ /dev/null
@@ -1,77 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.generic_table import GenericTable
-
-class TestGenericTable(unittest.TestCase):
- """GenericTable unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> GenericTable:
- """Test GenericTable
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `GenericTable`
- """
- model = GenericTable()
- if include_optional:
- return GenericTable(
- name = '',
- format = '',
- doc = '',
- properties = {
- 'key' : ''
- }
- )
- else:
- return GenericTable(
- name = '',
- format = '',
- )
- """
-
- def testGenericTable(self):
- """Test GenericTable"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_generic_table_api.py b/client/python/test/test_generic_table_api.py
deleted file mode 100644
index 6435f7c3a5..0000000000
--- a/client/python/test/test_generic_table_api.py
+++ /dev/null
@@ -1,78 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.api.generic_table_api import GenericTableAPI
-
-
-class TestGenericTableAPI(unittest.TestCase):
- """GenericTableAPI unit test stubs"""
-
- def setUp(self) -> None:
- self.api = GenericTableAPI()
-
- def tearDown(self) -> None:
- pass
-
- def test_create_generic_table(self) -> None:
- """Test case for create_generic_table
-
- Create a generic table under the given namespace
- """
- pass
-
- def test_drop_generic_table(self) -> None:
- """Test case for drop_generic_table
-
- Drop a generic table under the given namespace from the catalog
- """
- pass
-
- def test_list_generic_tables(self) -> None:
- """Test case for list_generic_tables
-
- List all generic tables identifiers underneath a given namespace
- """
- pass
-
- def test_load_generic_table(self) -> None:
- """Test case for load_generic_table
-
- Load a generic table under the given namespace from the catalog
- """
- pass
-
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_get_applicable_policies_response.py b/client/python/test/test_get_applicable_policies_response.py
deleted file mode 100644
index f9ca923a38..0000000000
--- a/client/python/test/test_get_applicable_policies_response.py
+++ /dev/null
@@ -1,76 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.get_applicable_policies_response import GetApplicablePoliciesResponse
-
-class TestGetApplicablePoliciesResponse(unittest.TestCase):
- """GetApplicablePoliciesResponse unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> GetApplicablePoliciesResponse:
- """Test GetApplicablePoliciesResponse
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `GetApplicablePoliciesResponse`
- """
- model = GetApplicablePoliciesResponse()
- if include_optional:
- return GetApplicablePoliciesResponse(
- next_page_token = '',
- applicable_policies = [
- null
- ]
- )
- else:
- return GetApplicablePoliciesResponse(
- applicable_policies = [
- null
- ],
- )
- """
-
- def testGetApplicablePoliciesResponse(self):
- """Test GetApplicablePoliciesResponse"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_get_namespace_response.py b/client/python/test/test_get_namespace_response.py
deleted file mode 100644
index d86642841e..0000000000
--- a/client/python/test/test_get_namespace_response.py
+++ /dev/null
@@ -1,72 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.get_namespace_response import GetNamespaceResponse
-
-class TestGetNamespaceResponse(unittest.TestCase):
- """GetNamespaceResponse unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> GetNamespaceResponse:
- """Test GetNamespaceResponse
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `GetNamespaceResponse`
- """
- model = GetNamespaceResponse()
- if include_optional:
- return GetNamespaceResponse(
- namespace = ["accounting","tax"],
- properties = {"owner":"Ralph","transient_lastDdlTime":"1452120468"}
- )
- else:
- return GetNamespaceResponse(
- namespace = ["accounting","tax"],
- )
- """
-
- def testGetNamespaceResponse(self):
- """Test GetNamespaceResponse"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_grant_catalog_role_request.py b/client/python/test/test_grant_catalog_role_request.py
deleted file mode 100644
index 6c55084882..0000000000
--- a/client/python/test/test_grant_catalog_role_request.py
+++ /dev/null
@@ -1,77 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.grant_catalog_role_request import GrantCatalogRoleRequest
-
-class TestGrantCatalogRoleRequest(unittest.TestCase):
- """GrantCatalogRoleRequest unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> GrantCatalogRoleRequest:
- """Test GrantCatalogRoleRequest
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `GrantCatalogRoleRequest`
- """
- model = GrantCatalogRoleRequest()
- if include_optional:
- return GrantCatalogRoleRequest(
- catalog_role = polaris.management.models.catalog_role.CatalogRole(
- name = 'k&*h<4i H\'qT\\{\'es#)#iK.YM{Rag2/!KB!k@5oXh.:Ts\";mGL,i&z5[P@M\"lzfB+Y,Twzfu~N^z\"mfqecVU0',
- properties = {
- 'key' : ''
- },
- create_timestamp = 56,
- last_update_timestamp = 56,
- entity_version = 56, )
- )
- else:
- return GrantCatalogRoleRequest(
- )
- """
-
- def testGrantCatalogRoleRequest(self):
- """Test GrantCatalogRoleRequest"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_grant_principal_role_request.py b/client/python/test/test_grant_principal_role_request.py
deleted file mode 100644
index 4f6e2446e9..0000000000
--- a/client/python/test/test_grant_principal_role_request.py
+++ /dev/null
@@ -1,78 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.grant_principal_role_request import GrantPrincipalRoleRequest
-
-class TestGrantPrincipalRoleRequest(unittest.TestCase):
- """GrantPrincipalRoleRequest unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> GrantPrincipalRoleRequest:
- """Test GrantPrincipalRoleRequest
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `GrantPrincipalRoleRequest`
- """
- model = GrantPrincipalRoleRequest()
- if include_optional:
- return GrantPrincipalRoleRequest(
- principal_role = polaris.management.models.principal_role.PrincipalRole(
- name = 'k&*h<4i H\'qT\\{\'es#)#iK.YM{Rag2/!KB!k@5oXh.:Ts\";mGL,i&z5[P@M\"lzfB+Y,Twzfu~N^z\"mfqecVU0',
- federated = True,
- properties = {
- 'key' : ''
- },
- create_timestamp = 56,
- last_update_timestamp = 56,
- entity_version = 56, )
- )
- else:
- return GrantPrincipalRoleRequest(
- )
- """
-
- def testGrantPrincipalRoleRequest(self):
- """Test GrantPrincipalRoleRequest"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_grant_resource.py b/client/python/test/test_grant_resource.py
deleted file mode 100644
index 0ccc1b7e28..0000000000
--- a/client/python/test/test_grant_resource.py
+++ /dev/null
@@ -1,71 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.grant_resource import GrantResource
-
-class TestGrantResource(unittest.TestCase):
- """GrantResource unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> GrantResource:
- """Test GrantResource
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `GrantResource`
- """
- model = GrantResource()
- if include_optional:
- return GrantResource(
- type = 'catalog'
- )
- else:
- return GrantResource(
- type = 'catalog',
- )
- """
-
- def testGrantResource(self):
- """Test GrantResource"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_grant_resources.py b/client/python/test/test_grant_resources.py
deleted file mode 100644
index a8b5bb5b3d..0000000000
--- a/client/python/test/test_grant_resources.py
+++ /dev/null
@@ -1,77 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.grant_resources import GrantResources
-
-class TestGrantResources(unittest.TestCase):
- """GrantResources unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> GrantResources:
- """Test GrantResources
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `GrantResources`
- """
- model = GrantResources()
- if include_optional:
- return GrantResources(
- grants = [
- polaris.management.models.grant_resource.GrantResource(
- type = 'catalog', )
- ]
- )
- else:
- return GrantResources(
- grants = [
- polaris.management.models.grant_resource.GrantResource(
- type = 'catalog', )
- ],
- )
- """
-
- def testGrantResources(self):
- """Test GrantResources"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_hadoop_connection_config_info.py b/client/python/test/test_hadoop_connection_config_info.py
deleted file mode 100644
index 4f68bffd99..0000000000
--- a/client/python/test/test_hadoop_connection_config_info.py
+++ /dev/null
@@ -1,70 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.hadoop_connection_config_info import HadoopConnectionConfigInfo
-
-class TestHadoopConnectionConfigInfo(unittest.TestCase):
- """HadoopConnectionConfigInfo unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> HadoopConnectionConfigInfo:
- """Test HadoopConnectionConfigInfo
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `HadoopConnectionConfigInfo`
- """
- model = HadoopConnectionConfigInfo()
- if include_optional:
- return HadoopConnectionConfigInfo(
- warehouse = ''
- )
- else:
- return HadoopConnectionConfigInfo(
- )
- """
-
- def testHadoopConnectionConfigInfo(self):
- """Test HadoopConnectionConfigInfo"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_iceberg_catalog_api.py b/client/python/test/test_iceberg_catalog_api.py
deleted file mode 100644
index 2623e997be..0000000000
--- a/client/python/test/test_iceberg_catalog_api.py
+++ /dev/null
@@ -1,246 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Iceberg REST Catalog API
-
- Defines the specification for the first version of the REST Catalog API. Implementations should ideally support both Iceberg table specs v1 and v2, with priority given to v2.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.api.iceberg_catalog_api import IcebergCatalogAPI
-
-
-class TestIcebergCatalogAPI(unittest.TestCase):
- """IcebergCatalogAPI unit test stubs"""
-
- def setUp(self) -> None:
- self.api = IcebergCatalogAPI()
-
- def tearDown(self) -> None:
- pass
-
- def test_cancel_planning(self) -> None:
- """Test case for cancel_planning
-
- Cancels scan planning for a plan-id
- """
- pass
-
- def test_commit_transaction(self) -> None:
- """Test case for commit_transaction
-
- Commit updates to multiple tables in an atomic operation
- """
- pass
-
- def test_create_namespace(self) -> None:
- """Test case for create_namespace
-
- Create a namespace
- """
- pass
-
- def test_create_table(self) -> None:
- """Test case for create_table
-
- Create a table in the given namespace
- """
- pass
-
- def test_create_view(self) -> None:
- """Test case for create_view
-
- Create a view in the given namespace
- """
- pass
-
- def test_drop_namespace(self) -> None:
- """Test case for drop_namespace
-
- Drop a namespace from the catalog. Namespace must be empty.
- """
- pass
-
- def test_drop_table(self) -> None:
- """Test case for drop_table
-
- Drop a table from the catalog
- """
- pass
-
- def test_drop_view(self) -> None:
- """Test case for drop_view
-
- Drop a view from the catalog
- """
- pass
-
- def test_fetch_planning_result(self) -> None:
- """Test case for fetch_planning_result
-
- Fetches the result of scan planning for a plan-id
- """
- pass
-
- def test_fetch_scan_tasks(self) -> None:
- """Test case for fetch_scan_tasks
-
- Fetches result tasks for a plan task
- """
- pass
-
- def test_list_namespaces(self) -> None:
- """Test case for list_namespaces
-
- List namespaces, optionally providing a parent namespace to list underneath
- """
- pass
-
- def test_list_tables(self) -> None:
- """Test case for list_tables
-
- List all table identifiers underneath a given namespace
- """
- pass
-
- def test_list_views(self) -> None:
- """Test case for list_views
-
- List all view identifiers underneath a given namespace
- """
- pass
-
- def test_load_credentials(self) -> None:
- """Test case for load_credentials
-
- Load vended credentials for a table from the catalog
- """
- pass
-
- def test_load_namespace_metadata(self) -> None:
- """Test case for load_namespace_metadata
-
- Load the metadata properties for a namespace
- """
- pass
-
- def test_load_table(self) -> None:
- """Test case for load_table
-
- Load a table from the catalog
- """
- pass
-
- def test_load_view(self) -> None:
- """Test case for load_view
-
- Load a view from the catalog
- """
- pass
-
- def test_namespace_exists(self) -> None:
- """Test case for namespace_exists
-
- Check if a namespace exists
- """
- pass
-
- def test_plan_table_scan(self) -> None:
- """Test case for plan_table_scan
-
- Submit a scan for planning
- """
- pass
-
- def test_register_table(self) -> None:
- """Test case for register_table
-
- Register a table in the given namespace using given metadata file location
- """
- pass
-
- def test_rename_table(self) -> None:
- """Test case for rename_table
-
- Rename a table from its current name to a new name
- """
- pass
-
- def test_rename_view(self) -> None:
- """Test case for rename_view
-
- Rename a view from its current name to a new name
- """
- pass
-
- def test_replace_view(self) -> None:
- """Test case for replace_view
-
- Replace a view
- """
- pass
-
- def test_report_metrics(self) -> None:
- """Test case for report_metrics
-
- Send a metrics report to this endpoint to be processed by the backend
- """
- pass
-
- def test_table_exists(self) -> None:
- """Test case for table_exists
-
- Check if a table exists
- """
- pass
-
- def test_update_properties(self) -> None:
- """Test case for update_properties
-
- Set or remove properties on a namespace
- """
- pass
-
- def test_update_table(self) -> None:
- """Test case for update_table
-
- Commit updates to a table
- """
- pass
-
- def test_view_exists(self) -> None:
- """Test case for view_exists
-
- Check if a view exists
- """
- pass
-
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_iceberg_configuration_api.py b/client/python/test/test_iceberg_configuration_api.py
deleted file mode 100644
index 38795310c0..0000000000
--- a/client/python/test/test_iceberg_configuration_api.py
+++ /dev/null
@@ -1,57 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Iceberg REST Catalog API
-
- Defines the specification for the first version of the REST Catalog API. Implementations should ideally support both Iceberg table specs v1 and v2, with priority given to v2.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.api.iceberg_configuration_api import IcebergConfigurationAPI
-
-
-class TestIcebergConfigurationAPI(unittest.TestCase):
- """IcebergConfigurationAPI unit test stubs"""
-
- def setUp(self) -> None:
- self.api = IcebergConfigurationAPI()
-
- def tearDown(self) -> None:
- pass
-
- def test_get_config(self) -> None:
- """Test case for get_config
-
- List all catalog configuration settings
- """
- pass
-
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_iceberg_error_response.py b/client/python/test/test_iceberg_error_response.py
deleted file mode 100644
index 8502675b8a..0000000000
--- a/client/python/test/test_iceberg_error_response.py
+++ /dev/null
@@ -1,83 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.iceberg_error_response import IcebergErrorResponse
-
-class TestIcebergErrorResponse(unittest.TestCase):
- """IcebergErrorResponse unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> IcebergErrorResponse:
- """Test IcebergErrorResponse
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `IcebergErrorResponse`
- """
- model = IcebergErrorResponse()
- if include_optional:
- return IcebergErrorResponse(
- error = polaris.catalog.models.error_model.ErrorModel(
- message = '',
- type = 'NoSuchNamespaceException',
- code = 404,
- stack = [
- ''
- ], )
- )
- else:
- return IcebergErrorResponse(
- error = polaris.catalog.models.error_model.ErrorModel(
- message = '',
- type = 'NoSuchNamespaceException',
- code = 404,
- stack = [
- ''
- ], ),
- )
- """
-
- def testIcebergErrorResponse(self):
- """Test IcebergErrorResponse"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_iceberg_error_response1.py b/client/python/test/test_iceberg_error_response1.py
deleted file mode 100644
index 09069dfcdd..0000000000
--- a/client/python/test/test_iceberg_error_response1.py
+++ /dev/null
@@ -1,83 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.iceberg_error_response1 import IcebergErrorResponse1
-
-class TestIcebergErrorResponse1(unittest.TestCase):
- """IcebergErrorResponse1 unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> IcebergErrorResponse1:
- """Test IcebergErrorResponse1
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `IcebergErrorResponse1`
- """
- model = IcebergErrorResponse1()
- if include_optional:
- return IcebergErrorResponse1(
- error = polaris.catalog.models.error_model.ErrorModel(
- message = '',
- type = 'NoSuchNamespaceException',
- code = 404,
- stack = [
- ''
- ], )
- )
- else:
- return IcebergErrorResponse1(
- error = polaris.catalog.models.error_model.ErrorModel(
- message = '',
- type = 'NoSuchNamespaceException',
- code = 404,
- stack = [
- ''
- ], ),
- )
- """
-
- def testIcebergErrorResponse1(self):
- """Test IcebergErrorResponse1"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_iceberg_o_auth2_api.py b/client/python/test/test_iceberg_o_auth2_api.py
deleted file mode 100644
index 54bf3c1e65..0000000000
--- a/client/python/test/test_iceberg_o_auth2_api.py
+++ /dev/null
@@ -1,57 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Iceberg REST Catalog API
-
- Defines the specification for the first version of the REST Catalog API. Implementations should ideally support both Iceberg table specs v1 and v2, with priority given to v2.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.api.iceberg_o_auth2_api import IcebergOAuth2API
-
-
-class TestIcebergOAuth2API(unittest.TestCase):
- """IcebergOAuth2API unit test stubs"""
-
- def setUp(self) -> None:
- self.api = IcebergOAuth2API()
-
- def tearDown(self) -> None:
- pass
-
- def test_get_token(self) -> None:
- """Test case for get_token
-
- Get a token using an OAuth2 flow (DEPRECATED for REMOVAL)
- """
- pass
-
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_iceberg_rest_connection_config_info.py b/client/python/test/test_iceberg_rest_connection_config_info.py
deleted file mode 100644
index 7806c0c5e4..0000000000
--- a/client/python/test/test_iceberg_rest_connection_config_info.py
+++ /dev/null
@@ -1,70 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.iceberg_rest_connection_config_info import IcebergRestConnectionConfigInfo
-
-class TestIcebergRestConnectionConfigInfo(unittest.TestCase):
- """IcebergRestConnectionConfigInfo unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> IcebergRestConnectionConfigInfo:
- """Test IcebergRestConnectionConfigInfo
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `IcebergRestConnectionConfigInfo`
- """
- model = IcebergRestConnectionConfigInfo()
- if include_optional:
- return IcebergRestConnectionConfigInfo(
- remote_catalog_name = ''
- )
- else:
- return IcebergRestConnectionConfigInfo(
- )
- """
-
- def testIcebergRestConnectionConfigInfo(self):
- """Test IcebergRestConnectionConfigInfo"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_list_generic_tables_response.py b/client/python/test/test_list_generic_tables_response.py
deleted file mode 100644
index 6e34a3caef..0000000000
--- a/client/python/test/test_list_generic_tables_response.py
+++ /dev/null
@@ -1,75 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.list_generic_tables_response import ListGenericTablesResponse
-
-class TestListGenericTablesResponse(unittest.TestCase):
- """ListGenericTablesResponse unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> ListGenericTablesResponse:
- """Test ListGenericTablesResponse
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `ListGenericTablesResponse`
- """
- model = ListGenericTablesResponse()
- if include_optional:
- return ListGenericTablesResponse(
- next_page_token = '',
- identifiers = [
- polaris.catalog.models.table_identifier.TableIdentifier(
- namespace = ["accounting","tax"],
- name = '', )
- ]
- )
- else:
- return ListGenericTablesResponse(
- )
- """
-
- def testListGenericTablesResponse(self):
- """Test ListGenericTablesResponse"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_list_namespaces_response.py b/client/python/test/test_list_namespaces_response.py
deleted file mode 100644
index 437f097373..0000000000
--- a/client/python/test/test_list_namespaces_response.py
+++ /dev/null
@@ -1,73 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.list_namespaces_response import ListNamespacesResponse
-
-class TestListNamespacesResponse(unittest.TestCase):
- """ListNamespacesResponse unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> ListNamespacesResponse:
- """Test ListNamespacesResponse
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `ListNamespacesResponse`
- """
- model = ListNamespacesResponse()
- if include_optional:
- return ListNamespacesResponse(
- next_page_token = '',
- namespaces = [
- ["accounting","tax"]
- ]
- )
- else:
- return ListNamespacesResponse(
- )
- """
-
- def testListNamespacesResponse(self):
- """Test ListNamespacesResponse"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_list_policies_response.py b/client/python/test/test_list_policies_response.py
deleted file mode 100644
index b23954f675..0000000000
--- a/client/python/test/test_list_policies_response.py
+++ /dev/null
@@ -1,75 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.list_policies_response import ListPoliciesResponse
-
-class TestListPoliciesResponse(unittest.TestCase):
- """ListPoliciesResponse unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> ListPoliciesResponse:
- """Test ListPoliciesResponse
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `ListPoliciesResponse`
- """
- model = ListPoliciesResponse()
- if include_optional:
- return ListPoliciesResponse(
- next_page_token = '',
- identifiers = [
- polaris.catalog.models.policy_identifier.PolicyIdentifier(
- namespace = ["accounting","tax"],
- name = '', )
- ]
- )
- else:
- return ListPoliciesResponse(
- )
- """
-
- def testListPoliciesResponse(self):
- """Test ListPoliciesResponse"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_list_tables_response.py b/client/python/test/test_list_tables_response.py
deleted file mode 100644
index 6bc6ed2e10..0000000000
--- a/client/python/test/test_list_tables_response.py
+++ /dev/null
@@ -1,75 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.list_tables_response import ListTablesResponse
-
-class TestListTablesResponse(unittest.TestCase):
- """ListTablesResponse unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> ListTablesResponse:
- """Test ListTablesResponse
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `ListTablesResponse`
- """
- model = ListTablesResponse()
- if include_optional:
- return ListTablesResponse(
- next_page_token = '',
- identifiers = [
- polaris.catalog.models.table_identifier.TableIdentifier(
- namespace = ["accounting","tax"],
- name = '', )
- ]
- )
- else:
- return ListTablesResponse(
- )
- """
-
- def testListTablesResponse(self):
- """Test ListTablesResponse"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_list_type.py b/client/python/test/test_list_type.py
deleted file mode 100644
index 8e16e6dff5..0000000000
--- a/client/python/test/test_list_type.py
+++ /dev/null
@@ -1,77 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.list_type import ListType
-
-class TestListType(unittest.TestCase):
- """ListType unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> ListType:
- """Test ListType
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `ListType`
- """
- model = ListType()
- if include_optional:
- return ListType(
- type = '',
- element_id = 56,
- element = None,
- element_required = True
- )
- else:
- return ListType(
- type = '',
- element_id = 56,
- element = None,
- element_required = True,
- )
- """
-
- def testListType(self):
- """Test ListType"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_literal_expression.py b/client/python/test/test_literal_expression.py
deleted file mode 100644
index 0aca467a1f..0000000000
--- a/client/python/test/test_literal_expression.py
+++ /dev/null
@@ -1,75 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.literal_expression import LiteralExpression
-
-class TestLiteralExpression(unittest.TestCase):
- """LiteralExpression unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> LiteralExpression:
- """Test LiteralExpression
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `LiteralExpression`
- """
- model = LiteralExpression()
- if include_optional:
- return LiteralExpression(
- type = '["true","false","eq","and","or","not","in","not-in","lt","lt-eq","gt","gt-eq","not-eq","starts-with","not-starts-with","is-null","not-null","is-nan","not-nan"]',
- term = None,
- value = polaris.catalog.models.value.value()
- )
- else:
- return LiteralExpression(
- type = '["true","false","eq","and","or","not","in","not-in","lt","lt-eq","gt","gt-eq","not-eq","starts-with","not-starts-with","is-null","not-null","is-nan","not-nan"]',
- term = None,
- value = polaris.catalog.models.value.value(),
- )
- """
-
- def testLiteralExpression(self):
- """Test LiteralExpression"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_load_credentials_response.py b/client/python/test/test_load_credentials_response.py
deleted file mode 100644
index 772fb3f146..0000000000
--- a/client/python/test/test_load_credentials_response.py
+++ /dev/null
@@ -1,83 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.load_credentials_response import LoadCredentialsResponse
-
-class TestLoadCredentialsResponse(unittest.TestCase):
- """LoadCredentialsResponse unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> LoadCredentialsResponse:
- """Test LoadCredentialsResponse
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `LoadCredentialsResponse`
- """
- model = LoadCredentialsResponse()
- if include_optional:
- return LoadCredentialsResponse(
- storage_credentials = [
- polaris.catalog.models.storage_credential.StorageCredential(
- prefix = '',
- config = {
- 'key' : ''
- }, )
- ]
- )
- else:
- return LoadCredentialsResponse(
- storage_credentials = [
- polaris.catalog.models.storage_credential.StorageCredential(
- prefix = '',
- config = {
- 'key' : ''
- }, )
- ],
- )
- """
-
- def testLoadCredentialsResponse(self):
- """Test LoadCredentialsResponse"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_load_generic_table_response.py b/client/python/test/test_load_generic_table_response.py
deleted file mode 100644
index 99a42c302b..0000000000
--- a/client/python/test/test_load_generic_table_response.py
+++ /dev/null
@@ -1,83 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.load_generic_table_response import LoadGenericTableResponse
-
-class TestLoadGenericTableResponse(unittest.TestCase):
- """LoadGenericTableResponse unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> LoadGenericTableResponse:
- """Test LoadGenericTableResponse
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `LoadGenericTableResponse`
- """
- model = LoadGenericTableResponse()
- if include_optional:
- return LoadGenericTableResponse(
- table = polaris.catalog.models.generic_table.GenericTable(
- name = '',
- format = '',
- doc = '',
- properties = {
- 'key' : ''
- }, )
- )
- else:
- return LoadGenericTableResponse(
- table = polaris.catalog.models.generic_table.GenericTable(
- name = '',
- format = '',
- doc = '',
- properties = {
- 'key' : ''
- }, ),
- )
- """
-
- def testLoadGenericTableResponse(self):
- """Test LoadGenericTableResponse"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_load_policy_response.py b/client/python/test/test_load_policy_response.py
deleted file mode 100644
index 40db1b4fc0..0000000000
--- a/client/python/test/test_load_policy_response.py
+++ /dev/null
@@ -1,76 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.load_policy_response import LoadPolicyResponse
-
-class TestLoadPolicyResponse(unittest.TestCase):
- """LoadPolicyResponse unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> LoadPolicyResponse:
- """Test LoadPolicyResponse
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `LoadPolicyResponse`
- """
- model = LoadPolicyResponse()
- if include_optional:
- return LoadPolicyResponse(
- policy = polaris.catalog.models.policy.Policy(
- policy_type = '',
- inheritable = True,
- name = 'compaction',
- description = '',
- content = '',
- version = 56, )
- )
- else:
- return LoadPolicyResponse(
- )
- """
-
- def testLoadPolicyResponse(self):
- """Test LoadPolicyResponse"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_load_table_result.py b/client/python/test/test_load_table_result.py
deleted file mode 100644
index 8b74a9a1da..0000000000
--- a/client/python/test/test_load_table_result.py
+++ /dev/null
@@ -1,264 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.load_table_result import LoadTableResult
-
-class TestLoadTableResult(unittest.TestCase):
- """LoadTableResult unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> LoadTableResult:
- """Test LoadTableResult
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `LoadTableResult`
- """
- model = LoadTableResult()
- if include_optional:
- return LoadTableResult(
- metadata_location = '',
- metadata = polaris.catalog.models.table_metadata.TableMetadata(
- format_version = 1,
- table_uuid = '',
- location = '',
- last_updated_ms = 56,
- properties = {
- 'key' : ''
- },
- schemas = [
- null
- ],
- current_schema_id = 56,
- last_column_id = 56,
- partition_specs = [
- polaris.catalog.models.partition_spec.PartitionSpec(
- spec_id = 56,
- fields = [
- polaris.catalog.models.partition_field.PartitionField(
- field_id = 56,
- source_id = 56,
- name = '',
- transform = '["identity","year","month","day","hour","bucket[256]","truncate[16]"]', )
- ], )
- ],
- default_spec_id = 56,
- last_partition_id = 56,
- sort_orders = [
- polaris.catalog.models.sort_order.SortOrder(
- order_id = 56,
- fields = [
- polaris.catalog.models.sort_field.SortField(
- source_id = 56,
- transform = '["identity","year","month","day","hour","bucket[256]","truncate[16]"]',
- direction = 'asc',
- null_order = 'nulls-first', )
- ], )
- ],
- default_sort_order_id = 56,
- snapshots = [
- polaris.catalog.models.snapshot.Snapshot(
- snapshot_id = 56,
- parent_snapshot_id = 56,
- sequence_number = 56,
- timestamp_ms = 56,
- manifest_list = '',
- summary = {
- 'key' : ''
- },
- schema_id = 56, )
- ],
- refs = {
- 'key' : polaris.catalog.models.snapshot_reference.SnapshotReference(
- type = 'tag',
- snapshot_id = 56,
- max_ref_age_ms = 56,
- max_snapshot_age_ms = 56,
- min_snapshots_to_keep = 56, )
- },
- current_snapshot_id = 56,
- last_sequence_number = 56,
- snapshot_log = [
- polaris.catalog.models.snapshot_log_inner.SnapshotLog_inner(
- snapshot_id = 56,
- timestamp_ms = 56, )
- ],
- metadata_log = [
- polaris.catalog.models.metadata_log_inner.MetadataLog_inner(
- metadata_file = '',
- timestamp_ms = 56, )
- ],
- statistics = [
- polaris.catalog.models.statistics_file.StatisticsFile(
- snapshot_id = 56,
- statistics_path = '',
- file_size_in_bytes = 56,
- file_footer_size_in_bytes = 56,
- blob_metadata = [
- polaris.catalog.models.blob_metadata.BlobMetadata(
- type = '',
- snapshot_id = 56,
- sequence_number = 56,
- fields = [
- 56
- ], )
- ], )
- ],
- partition_statistics = [
- polaris.catalog.models.partition_statistics_file.PartitionStatisticsFile(
- snapshot_id = 56,
- statistics_path = '',
- file_size_in_bytes = 56, )
- ], ),
- config = {
- 'key' : ''
- },
- storage_credentials = [
- polaris.catalog.models.storage_credential.StorageCredential(
- prefix = '',
- config = {
- 'key' : ''
- }, )
- ]
- )
- else:
- return LoadTableResult(
- metadata = polaris.catalog.models.table_metadata.TableMetadata(
- format_version = 1,
- table_uuid = '',
- location = '',
- last_updated_ms = 56,
- properties = {
- 'key' : ''
- },
- schemas = [
- null
- ],
- current_schema_id = 56,
- last_column_id = 56,
- partition_specs = [
- polaris.catalog.models.partition_spec.PartitionSpec(
- spec_id = 56,
- fields = [
- polaris.catalog.models.partition_field.PartitionField(
- field_id = 56,
- source_id = 56,
- name = '',
- transform = '["identity","year","month","day","hour","bucket[256]","truncate[16]"]', )
- ], )
- ],
- default_spec_id = 56,
- last_partition_id = 56,
- sort_orders = [
- polaris.catalog.models.sort_order.SortOrder(
- order_id = 56,
- fields = [
- polaris.catalog.models.sort_field.SortField(
- source_id = 56,
- transform = '["identity","year","month","day","hour","bucket[256]","truncate[16]"]',
- direction = 'asc',
- null_order = 'nulls-first', )
- ], )
- ],
- default_sort_order_id = 56,
- snapshots = [
- polaris.catalog.models.snapshot.Snapshot(
- snapshot_id = 56,
- parent_snapshot_id = 56,
- sequence_number = 56,
- timestamp_ms = 56,
- manifest_list = '',
- summary = {
- 'key' : ''
- },
- schema_id = 56, )
- ],
- refs = {
- 'key' : polaris.catalog.models.snapshot_reference.SnapshotReference(
- type = 'tag',
- snapshot_id = 56,
- max_ref_age_ms = 56,
- max_snapshot_age_ms = 56,
- min_snapshots_to_keep = 56, )
- },
- current_snapshot_id = 56,
- last_sequence_number = 56,
- snapshot_log = [
- polaris.catalog.models.snapshot_log_inner.SnapshotLog_inner(
- snapshot_id = 56,
- timestamp_ms = 56, )
- ],
- metadata_log = [
- polaris.catalog.models.metadata_log_inner.MetadataLog_inner(
- metadata_file = '',
- timestamp_ms = 56, )
- ],
- statistics = [
- polaris.catalog.models.statistics_file.StatisticsFile(
- snapshot_id = 56,
- statistics_path = '',
- file_size_in_bytes = 56,
- file_footer_size_in_bytes = 56,
- blob_metadata = [
- polaris.catalog.models.blob_metadata.BlobMetadata(
- type = '',
- snapshot_id = 56,
- sequence_number = 56,
- fields = [
- 56
- ], )
- ], )
- ],
- partition_statistics = [
- polaris.catalog.models.partition_statistics_file.PartitionStatisticsFile(
- snapshot_id = 56,
- statistics_path = '',
- file_size_in_bytes = 56, )
- ], ),
- )
- """
-
- def testLoadTableResult(self):
- """Test LoadTableResult"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_load_view_result.py b/client/python/test/test_load_view_result.py
deleted file mode 100644
index 7c4a14637b..0000000000
--- a/client/python/test/test_load_view_result.py
+++ /dev/null
@@ -1,134 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.load_view_result import LoadViewResult
-
-class TestLoadViewResult(unittest.TestCase):
- """LoadViewResult unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> LoadViewResult:
- """Test LoadViewResult
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `LoadViewResult`
- """
- model = LoadViewResult()
- if include_optional:
- return LoadViewResult(
- metadata_location = '',
- metadata = polaris.catalog.models.view_metadata.ViewMetadata(
- view_uuid = '',
- format_version = 1,
- location = '',
- current_version_id = 56,
- versions = [
- polaris.catalog.models.view_version.ViewVersion(
- version_id = 56,
- timestamp_ms = 56,
- schema_id = 56,
- summary = {
- 'key' : ''
- },
- representations = [
- null
- ],
- default_catalog = '',
- default_namespace = ["accounting","tax"], )
- ],
- version_log = [
- polaris.catalog.models.view_history_entry.ViewHistoryEntry(
- version_id = 56,
- timestamp_ms = 56, )
- ],
- schemas = [
- null
- ],
- properties = {
- 'key' : ''
- }, ),
- config = {
- 'key' : ''
- }
- )
- else:
- return LoadViewResult(
- metadata_location = '',
- metadata = polaris.catalog.models.view_metadata.ViewMetadata(
- view_uuid = '',
- format_version = 1,
- location = '',
- current_version_id = 56,
- versions = [
- polaris.catalog.models.view_version.ViewVersion(
- version_id = 56,
- timestamp_ms = 56,
- schema_id = 56,
- summary = {
- 'key' : ''
- },
- representations = [
- null
- ],
- default_catalog = '',
- default_namespace = ["accounting","tax"], )
- ],
- version_log = [
- polaris.catalog.models.view_history_entry.ViewHistoryEntry(
- version_id = 56,
- timestamp_ms = 56, )
- ],
- schemas = [
- null
- ],
- properties = {
- 'key' : ''
- }, ),
- )
- """
-
- def testLoadViewResult(self):
- """Test LoadViewResult"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_map_type.py b/client/python/test/test_map_type.py
deleted file mode 100644
index 1c3ad1291c..0000000000
--- a/client/python/test/test_map_type.py
+++ /dev/null
@@ -1,81 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.map_type import MapType
-
-class TestMapType(unittest.TestCase):
- """MapType unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> MapType:
- """Test MapType
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `MapType`
- """
- model = MapType()
- if include_optional:
- return MapType(
- type = '',
- key_id = 56,
- key = None,
- value_id = 56,
- value = None,
- value_required = True
- )
- else:
- return MapType(
- type = '',
- key_id = 56,
- key = None,
- value_id = 56,
- value = None,
- value_required = True,
- )
- """
-
- def testMapType(self):
- """Test MapType"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_metadata_log_inner.py b/client/python/test/test_metadata_log_inner.py
deleted file mode 100644
index b071beb727..0000000000
--- a/client/python/test/test_metadata_log_inner.py
+++ /dev/null
@@ -1,73 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.metadata_log_inner import MetadataLogInner
-
-class TestMetadataLogInner(unittest.TestCase):
- """MetadataLogInner unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> MetadataLogInner:
- """Test MetadataLogInner
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `MetadataLogInner`
- """
- model = MetadataLogInner()
- if include_optional:
- return MetadataLogInner(
- metadata_file = '',
- timestamp_ms = 56
- )
- else:
- return MetadataLogInner(
- metadata_file = '',
- timestamp_ms = 56,
- )
- """
-
- def testMetadataLogInner(self):
- """Test MetadataLogInner"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_metric_result.py b/client/python/test/test_metric_result.py
deleted file mode 100644
index 2fdc9cf9ac..0000000000
--- a/client/python/test/test_metric_result.py
+++ /dev/null
@@ -1,79 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.metric_result import MetricResult
-
-class TestMetricResult(unittest.TestCase):
- """MetricResult unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> MetricResult:
- """Test MetricResult
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `MetricResult`
- """
- model = MetricResult()
- if include_optional:
- return MetricResult(
- unit = '',
- value = 56,
- time_unit = '',
- count = 56,
- total_duration = 56
- )
- else:
- return MetricResult(
- unit = '',
- value = 56,
- time_unit = '',
- count = 56,
- total_duration = 56,
- )
- """
-
- def testMetricResult(self):
- """Test MetricResult"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_model_schema.py b/client/python/test/test_model_schema.py
deleted file mode 100644
index d89680bcdc..0000000000
--- a/client/python/test/test_model_schema.py
+++ /dev/null
@@ -1,95 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.model_schema import ModelSchema
-
-class TestModelSchema(unittest.TestCase):
- """ModelSchema unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> ModelSchema:
- """Test ModelSchema
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `ModelSchema`
- """
- model = ModelSchema()
- if include_optional:
- return ModelSchema(
- type = '',
- fields = [
- polaris.catalog.models.struct_field.StructField(
- id = 56,
- name = '',
- type = null,
- required = True,
- doc = '',
- initial_default = null,
- write_default = null, )
- ],
- schema_id = 56,
- identifier_field_ids = [
- 56
- ]
- )
- else:
- return ModelSchema(
- type = '',
- fields = [
- polaris.catalog.models.struct_field.StructField(
- id = 56,
- name = '',
- type = null,
- required = True,
- doc = '',
- initial_default = null,
- write_default = null, )
- ],
- )
- """
-
- def testModelSchema(self):
- """Test ModelSchema"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_namespace_grant.py b/client/python/test/test_namespace_grant.py
deleted file mode 100644
index 57b8601886..0000000000
--- a/client/python/test/test_namespace_grant.py
+++ /dev/null
@@ -1,77 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.namespace_grant import NamespaceGrant
-
-class TestNamespaceGrant(unittest.TestCase):
- """NamespaceGrant unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> NamespaceGrant:
- """Test NamespaceGrant
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `NamespaceGrant`
- """
- model = NamespaceGrant()
- if include_optional:
- return NamespaceGrant(
- namespace = [
- ''
- ],
- privilege = 'CATALOG_MANAGE_ACCESS'
- )
- else:
- return NamespaceGrant(
- namespace = [
- ''
- ],
- privilege = 'CATALOG_MANAGE_ACCESS',
- )
- """
-
- def testNamespaceGrant(self):
- """Test NamespaceGrant"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_namespace_privilege.py b/client/python/test/test_namespace_privilege.py
deleted file mode 100644
index 6672916176..0000000000
--- a/client/python/test/test_namespace_privilege.py
+++ /dev/null
@@ -1,52 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.namespace_privilege import NamespacePrivilege
-
-class TestNamespacePrivilege(unittest.TestCase):
- """NamespacePrivilege unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def testNamespacePrivilege(self):
- """Test NamespacePrivilege"""
- # inst = NamespacePrivilege()
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_not_expression.py b/client/python/test/test_not_expression.py
deleted file mode 100644
index d1b4fe9e9a..0000000000
--- a/client/python/test/test_not_expression.py
+++ /dev/null
@@ -1,73 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.not_expression import NotExpression
-
-class TestNotExpression(unittest.TestCase):
- """NotExpression unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> NotExpression:
- """Test NotExpression
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `NotExpression`
- """
- model = NotExpression()
- if include_optional:
- return NotExpression(
- type = '["true","false","eq","and","or","not","in","not-in","lt","lt-eq","gt","gt-eq","not-eq","starts-with","not-starts-with","is-null","not-null","is-nan","not-nan"]',
- child = None
- )
- else:
- return NotExpression(
- type = '["true","false","eq","and","or","not","in","not-in","lt","lt-eq","gt","gt-eq","not-eq","starts-with","not-starts-with","is-null","not-null","is-nan","not-nan"]',
- child = None,
- )
- """
-
- def testNotExpression(self):
- """Test NotExpression"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_notification_request.py b/client/python/test/test_notification_request.py
deleted file mode 100644
index 2b0f52ba9f..0000000000
--- a/client/python/test/test_notification_request.py
+++ /dev/null
@@ -1,265 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.notification_request import NotificationRequest
-
-class TestNotificationRequest(unittest.TestCase):
- """NotificationRequest unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> NotificationRequest:
- """Test NotificationRequest
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `NotificationRequest`
- """
- model = NotificationRequest()
- if include_optional:
- return NotificationRequest(
- notification_type = 'UNKNOWN',
- payload = polaris.catalog.models.table_update_notification.TableUpdateNotification(
- table_name = '',
- timestamp = 56,
- table_uuid = '',
- metadata_location = '',
- metadata = polaris.catalog.models.table_metadata.TableMetadata(
- format_version = 1,
- table_uuid = '',
- location = '',
- last_updated_ms = 56,
- properties = {
- 'key' : ''
- },
- schemas = [
- null
- ],
- current_schema_id = 56,
- last_column_id = 56,
- partition_specs = [
- polaris.catalog.models.partition_spec.PartitionSpec(
- spec_id = 56,
- fields = [
- polaris.catalog.models.partition_field.PartitionField(
- field_id = 56,
- source_id = 56,
- name = '',
- transform = '["identity","year","month","day","hour","bucket[256]","truncate[16]"]', )
- ], )
- ],
- default_spec_id = 56,
- last_partition_id = 56,
- sort_orders = [
- polaris.catalog.models.sort_order.SortOrder(
- order_id = 56,
- fields = [
- polaris.catalog.models.sort_field.SortField(
- source_id = 56,
- transform = '["identity","year","month","day","hour","bucket[256]","truncate[16]"]',
- direction = 'asc',
- null_order = 'nulls-first', )
- ], )
- ],
- default_sort_order_id = 56,
- snapshots = [
- polaris.catalog.models.snapshot.Snapshot(
- snapshot_id = 56,
- parent_snapshot_id = 56,
- sequence_number = 56,
- timestamp_ms = 56,
- manifest_list = '',
- summary = {
- 'key' : ''
- },
- schema_id = 56, )
- ],
- refs = {
- 'key' : polaris.catalog.models.snapshot_reference.SnapshotReference(
- type = 'tag',
- snapshot_id = 56,
- max_ref_age_ms = 56,
- max_snapshot_age_ms = 56,
- min_snapshots_to_keep = 56, )
- },
- current_snapshot_id = 56,
- last_sequence_number = 56,
- snapshot_log = [
- polaris.catalog.models.snapshot_log_inner.SnapshotLog_inner(
- snapshot_id = 56,
- timestamp_ms = 56, )
- ],
- metadata_log = [
- polaris.catalog.models.metadata_log_inner.MetadataLog_inner(
- metadata_file = '',
- timestamp_ms = 56, )
- ],
- statistics = [
- polaris.catalog.models.statistics_file.StatisticsFile(
- snapshot_id = 56,
- statistics_path = '',
- file_size_in_bytes = 56,
- file_footer_size_in_bytes = 56,
- blob_metadata = [
- polaris.catalog.models.blob_metadata.BlobMetadata(
- type = '',
- snapshot_id = 56,
- sequence_number = 56,
- fields = [
- 56
- ], )
- ], )
- ],
- partition_statistics = [
- polaris.catalog.models.partition_statistics_file.PartitionStatisticsFile(
- snapshot_id = 56,
- statistics_path = '',
- file_size_in_bytes = 56, )
- ], ), )
- )
- else:
- return NotificationRequest(
- notification_type = 'UNKNOWN',
- payload = polaris.catalog.models.table_update_notification.TableUpdateNotification(
- table_name = '',
- timestamp = 56,
- table_uuid = '',
- metadata_location = '',
- metadata = polaris.catalog.models.table_metadata.TableMetadata(
- format_version = 1,
- table_uuid = '',
- location = '',
- last_updated_ms = 56,
- properties = {
- 'key' : ''
- },
- schemas = [
- null
- ],
- current_schema_id = 56,
- last_column_id = 56,
- partition_specs = [
- polaris.catalog.models.partition_spec.PartitionSpec(
- spec_id = 56,
- fields = [
- polaris.catalog.models.partition_field.PartitionField(
- field_id = 56,
- source_id = 56,
- name = '',
- transform = '["identity","year","month","day","hour","bucket[256]","truncate[16]"]', )
- ], )
- ],
- default_spec_id = 56,
- last_partition_id = 56,
- sort_orders = [
- polaris.catalog.models.sort_order.SortOrder(
- order_id = 56,
- fields = [
- polaris.catalog.models.sort_field.SortField(
- source_id = 56,
- transform = '["identity","year","month","day","hour","bucket[256]","truncate[16]"]',
- direction = 'asc',
- null_order = 'nulls-first', )
- ], )
- ],
- default_sort_order_id = 56,
- snapshots = [
- polaris.catalog.models.snapshot.Snapshot(
- snapshot_id = 56,
- parent_snapshot_id = 56,
- sequence_number = 56,
- timestamp_ms = 56,
- manifest_list = '',
- summary = {
- 'key' : ''
- },
- schema_id = 56, )
- ],
- refs = {
- 'key' : polaris.catalog.models.snapshot_reference.SnapshotReference(
- type = 'tag',
- snapshot_id = 56,
- max_ref_age_ms = 56,
- max_snapshot_age_ms = 56,
- min_snapshots_to_keep = 56, )
- },
- current_snapshot_id = 56,
- last_sequence_number = 56,
- snapshot_log = [
- polaris.catalog.models.snapshot_log_inner.SnapshotLog_inner(
- snapshot_id = 56,
- timestamp_ms = 56, )
- ],
- metadata_log = [
- polaris.catalog.models.metadata_log_inner.MetadataLog_inner(
- metadata_file = '',
- timestamp_ms = 56, )
- ],
- statistics = [
- polaris.catalog.models.statistics_file.StatisticsFile(
- snapshot_id = 56,
- statistics_path = '',
- file_size_in_bytes = 56,
- file_footer_size_in_bytes = 56,
- blob_metadata = [
- polaris.catalog.models.blob_metadata.BlobMetadata(
- type = '',
- snapshot_id = 56,
- sequence_number = 56,
- fields = [
- 56
- ], )
- ], )
- ],
- partition_statistics = [
- polaris.catalog.models.partition_statistics_file.PartitionStatisticsFile(
- snapshot_id = 56,
- statistics_path = '',
- file_size_in_bytes = 56, )
- ], ), ),
- )
- """
-
- def testNotificationRequest(self):
- """Test NotificationRequest"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_notification_type.py b/client/python/test/test_notification_type.py
deleted file mode 100644
index 8552391a4e..0000000000
--- a/client/python/test/test_notification_type.py
+++ /dev/null
@@ -1,52 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.notification_type import NotificationType
-
-class TestNotificationType(unittest.TestCase):
- """NotificationType unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def testNotificationType(self):
- """Test NotificationType"""
- # inst = NotificationType()
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_null_order.py b/client/python/test/test_null_order.py
deleted file mode 100644
index f7b5b51ea3..0000000000
--- a/client/python/test/test_null_order.py
+++ /dev/null
@@ -1,52 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.null_order import NullOrder
-
-class TestNullOrder(unittest.TestCase):
- """NullOrder unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def testNullOrder(self):
- """Test NullOrder"""
- # inst = NullOrder()
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_o_auth2_api.py b/client/python/test/test_o_auth2_api.py
deleted file mode 100644
index 7ffe15195c..0000000000
--- a/client/python/test/test_o_auth2_api.py
+++ /dev/null
@@ -1,57 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.api.o_auth2_api import OAuth2API
-
-
-class TestOAuth2API(unittest.TestCase):
- """OAuth2API unit test stubs"""
-
- def setUp(self) -> None:
- self.api = OAuth2API()
-
- def tearDown(self) -> None:
- pass
-
- def test_get_token(self) -> None:
- """Test case for get_token
-
- Get a token using an OAuth2 flow (DEPRECATED for REMOVAL)
- """
- pass
-
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_o_auth_client_credentials_parameters.py b/client/python/test/test_o_auth_client_credentials_parameters.py
deleted file mode 100644
index 3d9be97145..0000000000
--- a/client/python/test/test_o_auth_client_credentials_parameters.py
+++ /dev/null
@@ -1,75 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.o_auth_client_credentials_parameters import OAuthClientCredentialsParameters
-
-class TestOAuthClientCredentialsParameters(unittest.TestCase):
- """OAuthClientCredentialsParameters unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> OAuthClientCredentialsParameters:
- """Test OAuthClientCredentialsParameters
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `OAuthClientCredentialsParameters`
- """
- model = OAuthClientCredentialsParameters()
- if include_optional:
- return OAuthClientCredentialsParameters(
- token_uri = '',
- client_id = '',
- client_secret = '',
- scopes = [
- ''
- ]
- )
- else:
- return OAuthClientCredentialsParameters(
- )
- """
-
- def testOAuthClientCredentialsParameters(self):
- """Test OAuthClientCredentialsParameters"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_o_auth_error.py b/client/python/test/test_o_auth_error.py
deleted file mode 100644
index 3b53b87c9c..0000000000
--- a/client/python/test/test_o_auth_error.py
+++ /dev/null
@@ -1,73 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.o_auth_error import OAuthError
-
-class TestOAuthError(unittest.TestCase):
- """OAuthError unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> OAuthError:
- """Test OAuthError
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `OAuthError`
- """
- model = OAuthError()
- if include_optional:
- return OAuthError(
- error = 'invalid_request',
- error_description = '',
- error_uri = ''
- )
- else:
- return OAuthError(
- error = 'invalid_request',
- )
- """
-
- def testOAuthError(self):
- """Test OAuthError"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_o_auth_token_response.py b/client/python/test/test_o_auth_token_response.py
deleted file mode 100644
index 3674443f02..0000000000
--- a/client/python/test/test_o_auth_token_response.py
+++ /dev/null
@@ -1,77 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.o_auth_token_response import OAuthTokenResponse
-
-class TestOAuthTokenResponse(unittest.TestCase):
- """OAuthTokenResponse unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> OAuthTokenResponse:
- """Test OAuthTokenResponse
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `OAuthTokenResponse`
- """
- model = OAuthTokenResponse()
- if include_optional:
- return OAuthTokenResponse(
- access_token = '',
- token_type = 'bearer',
- expires_in = 56,
- issued_token_type = 'urn:ietf:params:oauth:token-type:access_token',
- refresh_token = '',
- scope = ''
- )
- else:
- return OAuthTokenResponse(
- access_token = '',
- token_type = 'bearer',
- )
- """
-
- def testOAuthTokenResponse(self):
- """Test OAuthTokenResponse"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_partition_field.py b/client/python/test/test_partition_field.py
deleted file mode 100644
index cf0e84f373..0000000000
--- a/client/python/test/test_partition_field.py
+++ /dev/null
@@ -1,76 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.partition_field import PartitionField
-
-class TestPartitionField(unittest.TestCase):
- """PartitionField unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> PartitionField:
- """Test PartitionField
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `PartitionField`
- """
- model = PartitionField()
- if include_optional:
- return PartitionField(
- field_id = 56,
- source_id = 56,
- name = '',
- transform = '["identity","year","month","day","hour","bucket[256]","truncate[16]"]'
- )
- else:
- return PartitionField(
- source_id = 56,
- name = '',
- transform = '["identity","year","month","day","hour","bucket[256]","truncate[16]"]',
- )
- """
-
- def testPartitionField(self):
- """Test PartitionField"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_partition_spec.py b/client/python/test/test_partition_spec.py
deleted file mode 100644
index 25f647018a..0000000000
--- a/client/python/test/test_partition_spec.py
+++ /dev/null
@@ -1,84 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.partition_spec import PartitionSpec
-
-class TestPartitionSpec(unittest.TestCase):
- """PartitionSpec unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> PartitionSpec:
- """Test PartitionSpec
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `PartitionSpec`
- """
- model = PartitionSpec()
- if include_optional:
- return PartitionSpec(
- spec_id = 56,
- fields = [
- polaris.catalog.models.partition_field.PartitionField(
- field_id = 56,
- source_id = 56,
- name = '',
- transform = '["identity","year","month","day","hour","bucket[256]","truncate[16]"]', )
- ]
- )
- else:
- return PartitionSpec(
- fields = [
- polaris.catalog.models.partition_field.PartitionField(
- field_id = 56,
- source_id = 56,
- name = '',
- transform = '["identity","year","month","day","hour","bucket[256]","truncate[16]"]', )
- ],
- )
- """
-
- def testPartitionSpec(self):
- """Test PartitionSpec"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_partition_statistics_file.py b/client/python/test/test_partition_statistics_file.py
deleted file mode 100644
index d381e967f7..0000000000
--- a/client/python/test/test_partition_statistics_file.py
+++ /dev/null
@@ -1,75 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.partition_statistics_file import PartitionStatisticsFile
-
-class TestPartitionStatisticsFile(unittest.TestCase):
- """PartitionStatisticsFile unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> PartitionStatisticsFile:
- """Test PartitionStatisticsFile
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `PartitionStatisticsFile`
- """
- model = PartitionStatisticsFile()
- if include_optional:
- return PartitionStatisticsFile(
- snapshot_id = 56,
- statistics_path = '',
- file_size_in_bytes = 56
- )
- else:
- return PartitionStatisticsFile(
- snapshot_id = 56,
- statistics_path = '',
- file_size_in_bytes = 56,
- )
- """
-
- def testPartitionStatisticsFile(self):
- """Test PartitionStatisticsFile"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_plan_status.py b/client/python/test/test_plan_status.py
deleted file mode 100644
index 592225545d..0000000000
--- a/client/python/test/test_plan_status.py
+++ /dev/null
@@ -1,52 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Iceberg REST Catalog API
-
- Defines the specification for the first version of the REST Catalog API. Implementations should ideally support both Iceberg table specs v1 and v2, with priority given to v2.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.plan_status import PlanStatus
-
-class TestPlanStatus(unittest.TestCase):
- """PlanStatus unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def testPlanStatus(self):
- """Test PlanStatus"""
- # inst = PlanStatus()
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_plan_table_scan_request.py b/client/python/test/test_plan_table_scan_request.py
deleted file mode 100644
index 664b1911e8..0000000000
--- a/client/python/test/test_plan_table_scan_request.py
+++ /dev/null
@@ -1,81 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Iceberg REST Catalog API
-
- Defines the specification for the first version of the REST Catalog API. Implementations should ideally support both Iceberg table specs v1 and v2, with priority given to v2.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.plan_table_scan_request import PlanTableScanRequest
-
-class TestPlanTableScanRequest(unittest.TestCase):
- """PlanTableScanRequest unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> PlanTableScanRequest:
- """Test PlanTableScanRequest
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `PlanTableScanRequest`
- """
- model = PlanTableScanRequest()
- if include_optional:
- return PlanTableScanRequest(
- snapshot_id = 56,
- select = [
- ''
- ],
- filter = None,
- case_sensitive = True,
- use_snapshot_schema = True,
- start_snapshot_id = 56,
- end_snapshot_id = 56,
- stats_fields = [
- ''
- ]
- )
- else:
- return PlanTableScanRequest(
- )
- """
-
- def testPlanTableScanRequest(self):
- """Test PlanTableScanRequest"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_plan_table_scan_result.py b/client/python/test/test_plan_table_scan_result.py
deleted file mode 100644
index c23562532e..0000000000
--- a/client/python/test/test_plan_table_scan_result.py
+++ /dev/null
@@ -1,107 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Iceberg REST Catalog API
-
- Defines the specification for the first version of the REST Catalog API. Implementations should ideally support both Iceberg table specs v1 and v2, with priority given to v2.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.plan_table_scan_result import PlanTableScanResult
-
-class TestPlanTableScanResult(unittest.TestCase):
- """PlanTableScanResult unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> PlanTableScanResult:
- """Test PlanTableScanResult
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `PlanTableScanResult`
- """
- model = PlanTableScanResult()
- if include_optional:
- return PlanTableScanResult(
- delete_files = [
- null
- ],
- file_scan_tasks = [
- polaris.catalog.models.file_scan_task.FileScanTask(
- data_file = polaris.catalog.models.data_file.DataFile(
- content = '',
- column_sizes = null,
- value_counts = null,
- null_value_counts = null,
- nan_value_counts = null,
- lower_bounds = null,
- upper_bounds = null, ),
- delete_file_references = [
- 56
- ],
- residual_filter = null, )
- ],
- plan_tasks = [
- ''
- ],
- status = 'submitted',
- plan_id = '',
- error = polaris.catalog.models.error_model.ErrorModel(
- message = '',
- type = 'NoSuchNamespaceException',
- code = 404,
- stack = [
- ''
- ], )
- )
- else:
- return PlanTableScanResult(
- status = 'submitted',
- error = polaris.catalog.models.error_model.ErrorModel(
- message = '',
- type = 'NoSuchNamespaceException',
- code = 404,
- stack = [
- ''
- ], ),
- )
- """
-
- def testPlanTableScanResult(self):
- """Test PlanTableScanResult"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_polaris_catalog.py b/client/python/test/test_polaris_catalog.py
deleted file mode 100644
index 75ffb1dca8..0000000000
--- a/client/python/test/test_polaris_catalog.py
+++ /dev/null
@@ -1,69 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.polaris_catalog import PolarisCatalog
-
-class TestPolarisCatalog(unittest.TestCase):
- """PolarisCatalog unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> PolarisCatalog:
- """Test PolarisCatalog
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `PolarisCatalog`
- """
- model = PolarisCatalog()
- if include_optional:
- return PolarisCatalog(
- )
- else:
- return PolarisCatalog(
- )
- """
-
- def testPolarisCatalog(self):
- """Test PolarisCatalog"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_polaris_default_api.py b/client/python/test/test_polaris_default_api.py
deleted file mode 100644
index 5a4480bc78..0000000000
--- a/client/python/test/test_polaris_default_api.py
+++ /dev/null
@@ -1,242 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.api.polaris_default_api import PolarisDefaultApi
-
-
-class TestPolarisDefaultApi(unittest.TestCase):
- """PolarisDefaultApi unit test stubs"""
-
- def setUp(self) -> None:
- self.api = PolarisDefaultApi()
-
- def tearDown(self) -> None:
- pass
-
- def test_add_grant_to_catalog_role(self) -> None:
- """Test case for add_grant_to_catalog_role
-
- """
- pass
-
- def test_assign_catalog_role_to_principal_role(self) -> None:
- """Test case for assign_catalog_role_to_principal_role
-
- """
- pass
-
- def test_assign_principal_role(self) -> None:
- """Test case for assign_principal_role
-
- """
- pass
-
- def test_create_catalog(self) -> None:
- """Test case for create_catalog
-
- """
- pass
-
- def test_create_catalog_role(self) -> None:
- """Test case for create_catalog_role
-
- """
- pass
-
- def test_create_principal(self) -> None:
- """Test case for create_principal
-
- """
- pass
-
- def test_create_principal_role(self) -> None:
- """Test case for create_principal_role
-
- """
- pass
-
- def test_delete_catalog(self) -> None:
- """Test case for delete_catalog
-
- """
- pass
-
- def test_delete_catalog_role(self) -> None:
- """Test case for delete_catalog_role
-
- """
- pass
-
- def test_delete_principal(self) -> None:
- """Test case for delete_principal
-
- """
- pass
-
- def test_delete_principal_role(self) -> None:
- """Test case for delete_principal_role
-
- """
- pass
-
- def test_get_catalog(self) -> None:
- """Test case for get_catalog
-
- """
- pass
-
- def test_get_catalog_role(self) -> None:
- """Test case for get_catalog_role
-
- """
- pass
-
- def test_get_principal(self) -> None:
- """Test case for get_principal
-
- """
- pass
-
- def test_get_principal_role(self) -> None:
- """Test case for get_principal_role
-
- """
- pass
-
- def test_list_assignee_principal_roles_for_catalog_role(self) -> None:
- """Test case for list_assignee_principal_roles_for_catalog_role
-
- """
- pass
-
- def test_list_assignee_principals_for_principal_role(self) -> None:
- """Test case for list_assignee_principals_for_principal_role
-
- """
- pass
-
- def test_list_catalog_roles(self) -> None:
- """Test case for list_catalog_roles
-
- """
- pass
-
- def test_list_catalog_roles_for_principal_role(self) -> None:
- """Test case for list_catalog_roles_for_principal_role
-
- """
- pass
-
- def test_list_catalogs(self) -> None:
- """Test case for list_catalogs
-
- """
- pass
-
- def test_list_grants_for_catalog_role(self) -> None:
- """Test case for list_grants_for_catalog_role
-
- """
- pass
-
- def test_list_principal_roles(self) -> None:
- """Test case for list_principal_roles
-
- """
- pass
-
- def test_list_principal_roles_assigned(self) -> None:
- """Test case for list_principal_roles_assigned
-
- """
- pass
-
- def test_list_principals(self) -> None:
- """Test case for list_principals
-
- """
- pass
-
- def test_revoke_catalog_role_from_principal_role(self) -> None:
- """Test case for revoke_catalog_role_from_principal_role
-
- """
- pass
-
- def test_revoke_grant_from_catalog_role(self) -> None:
- """Test case for revoke_grant_from_catalog_role
-
- """
- pass
-
- def test_revoke_principal_role(self) -> None:
- """Test case for revoke_principal_role
-
- """
- pass
-
- def test_rotate_credentials(self) -> None:
- """Test case for rotate_credentials
-
- """
- pass
-
- def test_update_catalog(self) -> None:
- """Test case for update_catalog
-
- """
- pass
-
- def test_update_catalog_role(self) -> None:
- """Test case for update_catalog_role
-
- """
- pass
-
- def test_update_principal(self) -> None:
- """Test case for update_principal
-
- """
- pass
-
- def test_update_principal_role(self) -> None:
- """Test case for update_principal_role
-
- """
- pass
-
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_policy.py b/client/python/test/test_policy.py
deleted file mode 100644
index 14770534ea..0000000000
--- a/client/python/test/test_policy.py
+++ /dev/null
@@ -1,79 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.policy import Policy
-
-class TestPolicy(unittest.TestCase):
- """Policy unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> Policy:
- """Test Policy
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `Policy`
- """
- model = Policy()
- if include_optional:
- return Policy(
- policy_type = '',
- inheritable = True,
- name = 'compaction',
- description = '',
- content = '',
- version = 56
- )
- else:
- return Policy(
- policy_type = '',
- inheritable = True,
- name = 'compaction',
- version = 56,
- )
- """
-
- def testPolicy(self):
- """Test Policy"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_policy_api.py b/client/python/test/test_policy_api.py
deleted file mode 100644
index 3c4277ca38..0000000000
--- a/client/python/test/test_policy_api.py
+++ /dev/null
@@ -1,106 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.api.policy_api import PolicyAPI
-
-
-class TestPolicyAPI(unittest.TestCase):
- """PolicyAPI unit test stubs"""
-
- def setUp(self) -> None:
- self.api = PolicyAPI()
-
- def tearDown(self) -> None:
- pass
-
- def test_attach_policy(self) -> None:
- """Test case for attach_policy
-
- Create a mapping between a policy and a resource entity
- """
- pass
-
- def test_create_policy(self) -> None:
- """Test case for create_policy
-
- Create a policy in the given namespace
- """
- pass
-
- def test_detach_policy(self) -> None:
- """Test case for detach_policy
-
- Remove a mapping between a policy and a target entity
- """
- pass
-
- def test_drop_policy(self) -> None:
- """Test case for drop_policy
-
- Drop a policy from the catalog
- """
- pass
-
- def test_get_applicable_policies(self) -> None:
- """Test case for get_applicable_policies
-
- Get Applicable policies for catalog, namespace, table, or views
- """
- pass
-
- def test_list_policies(self) -> None:
- """Test case for list_policies
-
- List all policy identifiers underneath a given namespace
- """
- pass
-
- def test_load_policy(self) -> None:
- """Test case for load_policy
-
- Load a policy
- """
- pass
-
- def test_update_policy(self) -> None:
- """Test case for update_policy
-
- Update a policy
- """
- pass
-
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_policy_attachment_target.py b/client/python/test/test_policy_attachment_target.py
deleted file mode 100644
index a1947045c9..0000000000
--- a/client/python/test/test_policy_attachment_target.py
+++ /dev/null
@@ -1,72 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.policy_attachment_target import PolicyAttachmentTarget
-
-class TestPolicyAttachmentTarget(unittest.TestCase):
- """PolicyAttachmentTarget unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> PolicyAttachmentTarget:
- """Test PolicyAttachmentTarget
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `PolicyAttachmentTarget`
- """
- model = PolicyAttachmentTarget()
- if include_optional:
- return PolicyAttachmentTarget(
- type = 'table-like',
- path = ["NS1","NS2","test_table_1"]
- )
- else:
- return PolicyAttachmentTarget(
- type = 'table-like',
- )
- """
-
- def testPolicyAttachmentTarget(self):
- """Test PolicyAttachmentTarget"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_policy_grant.py b/client/python/test/test_policy_grant.py
deleted file mode 100644
index 14ee427907..0000000000
--- a/client/python/test/test_policy_grant.py
+++ /dev/null
@@ -1,79 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.policy_grant import PolicyGrant
-
-class TestPolicyGrant(unittest.TestCase):
- """PolicyGrant unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> PolicyGrant:
- """Test PolicyGrant
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `PolicyGrant`
- """
- model = PolicyGrant()
- if include_optional:
- return PolicyGrant(
- namespace = [
- ''
- ],
- policy_name = '',
- privilege = 'CATALOG_MANAGE_ACCESS'
- )
- else:
- return PolicyGrant(
- namespace = [
- ''
- ],
- policy_name = '',
- privilege = 'CATALOG_MANAGE_ACCESS',
- )
- """
-
- def testPolicyGrant(self):
- """Test PolicyGrant"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_policy_identifier.py b/client/python/test/test_policy_identifier.py
deleted file mode 100644
index 09f74a5a7e..0000000000
--- a/client/python/test/test_policy_identifier.py
+++ /dev/null
@@ -1,73 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.policy_identifier import PolicyIdentifier
-
-class TestPolicyIdentifier(unittest.TestCase):
- """PolicyIdentifier unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> PolicyIdentifier:
- """Test PolicyIdentifier
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `PolicyIdentifier`
- """
- model = PolicyIdentifier()
- if include_optional:
- return PolicyIdentifier(
- namespace = ["accounting","tax"],
- name = ''
- )
- else:
- return PolicyIdentifier(
- namespace = ["accounting","tax"],
- name = '',
- )
- """
-
- def testPolicyIdentifier(self):
- """Test PolicyIdentifier"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_policy_privilege.py b/client/python/test/test_policy_privilege.py
deleted file mode 100644
index 3062e366ac..0000000000
--- a/client/python/test/test_policy_privilege.py
+++ /dev/null
@@ -1,52 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.policy_privilege import PolicyPrivilege
-
-class TestPolicyPrivilege(unittest.TestCase):
- """PolicyPrivilege unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def testPolicyPrivilege(self):
- """Test PolicyPrivilege"""
- # inst = PolicyPrivilege()
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_position_delete_file.py b/client/python/test/test_position_delete_file.py
deleted file mode 100644
index aa0cb29207..0000000000
--- a/client/python/test/test_position_delete_file.py
+++ /dev/null
@@ -1,73 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Iceberg REST Catalog API
-
- Defines the specification for the first version of the REST Catalog API. Implementations should ideally support both Iceberg table specs v1 and v2, with priority given to v2.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.position_delete_file import PositionDeleteFile
-
-class TestPositionDeleteFile(unittest.TestCase):
- """PositionDeleteFile unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> PositionDeleteFile:
- """Test PositionDeleteFile
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `PositionDeleteFile`
- """
- model = PositionDeleteFile()
- if include_optional:
- return PositionDeleteFile(
- content = '',
- content_offset = 56,
- content_size_in_bytes = 56
- )
- else:
- return PositionDeleteFile(
- content = '',
- )
- """
-
- def testPositionDeleteFile(self):
- """Test PositionDeleteFile"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_primitive_type_value.py b/client/python/test/test_primitive_type_value.py
deleted file mode 100644
index 56dcb521bd..0000000000
--- a/client/python/test/test_primitive_type_value.py
+++ /dev/null
@@ -1,69 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.primitive_type_value import PrimitiveTypeValue
-
-class TestPrimitiveTypeValue(unittest.TestCase):
- """PrimitiveTypeValue unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> PrimitiveTypeValue:
- """Test PrimitiveTypeValue
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `PrimitiveTypeValue`
- """
- model = PrimitiveTypeValue()
- if include_optional:
- return PrimitiveTypeValue(
- )
- else:
- return PrimitiveTypeValue(
- )
- """
-
- def testPrimitiveTypeValue(self):
- """Test PrimitiveTypeValue"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_principal.py b/client/python/test/test_principal.py
deleted file mode 100644
index 6d8292dbab..0000000000
--- a/client/python/test/test_principal.py
+++ /dev/null
@@ -1,78 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.principal import Principal
-
-class TestPrincipal(unittest.TestCase):
- """Principal unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> Principal:
- """Test Principal
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `Principal`
- """
- model = Principal()
- if include_optional:
- return Principal(
- name = 'k&*h<4i H\'qT\\{\'es#)#iK.YM{Rag2/!KB!k@5oXh.:Ts\";mGL,i&z5[P@M\"lzfB+Y,Twzfu~N^z\"mfqecVU0',
- client_id = '',
- properties = {
- 'key' : ''
- },
- create_timestamp = 56,
- last_update_timestamp = 56,
- entity_version = 56
- )
- else:
- return Principal(
- name = 'k&*h<4i H\'qT\\{\'es#)#iK.YM{Rag2/!KB!k@5oXh.:Ts\";mGL,i&z5[P@M\"lzfB+Y,Twzfu~N^z\"mfqecVU0',
- )
- """
-
- def testPrincipal(self):
- """Test Principal"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_principal_role.py b/client/python/test/test_principal_role.py
deleted file mode 100644
index b4627d0f2a..0000000000
--- a/client/python/test/test_principal_role.py
+++ /dev/null
@@ -1,78 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.principal_role import PrincipalRole
-
-class TestPrincipalRole(unittest.TestCase):
- """PrincipalRole unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> PrincipalRole:
- """Test PrincipalRole
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `PrincipalRole`
- """
- model = PrincipalRole()
- if include_optional:
- return PrincipalRole(
- name = 'k&*h<4i H\'qT\\{\'es#)#iK.YM{Rag2/!KB!k@5oXh.:Ts\";mGL,i&z5[P@M\"lzfB+Y,Twzfu~N^z\"mfqecVU0',
- federated = True,
- properties = {
- 'key' : ''
- },
- create_timestamp = 56,
- last_update_timestamp = 56,
- entity_version = 56
- )
- else:
- return PrincipalRole(
- name = 'k&*h<4i H\'qT\\{\'es#)#iK.YM{Rag2/!KB!k@5oXh.:Ts\";mGL,i&z5[P@M\"lzfB+Y,Twzfu~N^z\"mfqecVU0',
- )
- """
-
- def testPrincipalRole(self):
- """Test PrincipalRole"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_principal_roles.py b/client/python/test/test_principal_roles.py
deleted file mode 100644
index 7cf0ac652c..0000000000
--- a/client/python/test/test_principal_roles.py
+++ /dev/null
@@ -1,91 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.principal_roles import PrincipalRoles
-
-class TestPrincipalRoles(unittest.TestCase):
- """PrincipalRoles unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> PrincipalRoles:
- """Test PrincipalRoles
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `PrincipalRoles`
- """
- model = PrincipalRoles()
- if include_optional:
- return PrincipalRoles(
- roles = [
- polaris.management.models.principal_role.PrincipalRole(
- name = 'k&*h<4i H\'qT\\{\'es#)#iK.YM{Rag2/!KB!k@5oXh.:Ts\";mGL,i&z5[P@M\"lzfB+Y,Twzfu~N^z\"mfqecVU0',
- federated = True,
- properties = {
- 'key' : ''
- },
- create_timestamp = 56,
- last_update_timestamp = 56,
- entity_version = 56, )
- ]
- )
- else:
- return PrincipalRoles(
- roles = [
- polaris.management.models.principal_role.PrincipalRole(
- name = 'k&*h<4i H\'qT\\{\'es#)#iK.YM{Rag2/!KB!k@5oXh.:Ts\";mGL,i&z5[P@M\"lzfB+Y,Twzfu~N^z\"mfqecVU0',
- federated = True,
- properties = {
- 'key' : ''
- },
- create_timestamp = 56,
- last_update_timestamp = 56,
- entity_version = 56, )
- ],
- )
- """
-
- def testPrincipalRoles(self):
- """Test PrincipalRoles"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_principal_with_credentials.py b/client/python/test/test_principal_with_credentials.py
deleted file mode 100644
index 54201bf52d..0000000000
--- a/client/python/test/test_principal_with_credentials.py
+++ /dev/null
@@ -1,93 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.principal_with_credentials import PrincipalWithCredentials
-
-class TestPrincipalWithCredentials(unittest.TestCase):
- """PrincipalWithCredentials unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> PrincipalWithCredentials:
- """Test PrincipalWithCredentials
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `PrincipalWithCredentials`
- """
- model = PrincipalWithCredentials()
- if include_optional:
- return PrincipalWithCredentials(
- principal = polaris.management.models.principal.Principal(
- name = 'k&*h<4i H\'qT\\{\'es#)#iK.YM{Rag2/!KB!k@5oXh.:Ts\";mGL,i&z5[P@M\"lzfB+Y,Twzfu~N^z\"mfqecVU0',
- client_id = '',
- properties = {
- 'key' : ''
- },
- create_timestamp = 56,
- last_update_timestamp = 56,
- entity_version = 56, ),
- credentials = polaris.management.models.principal_with_credentials_credentials.PrincipalWithCredentials_credentials(
- client_id = '',
- client_secret = '', )
- )
- else:
- return PrincipalWithCredentials(
- principal = polaris.management.models.principal.Principal(
- name = 'k&*h<4i H\'qT\\{\'es#)#iK.YM{Rag2/!KB!k@5oXh.:Ts\";mGL,i&z5[P@M\"lzfB+Y,Twzfu~N^z\"mfqecVU0',
- client_id = '',
- properties = {
- 'key' : ''
- },
- create_timestamp = 56,
- last_update_timestamp = 56,
- entity_version = 56, ),
- credentials = polaris.management.models.principal_with_credentials_credentials.PrincipalWithCredentials_credentials(
- client_id = '',
- client_secret = '', ),
- )
- """
-
- def testPrincipalWithCredentials(self):
- """Test PrincipalWithCredentials"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_principal_with_credentials_credentials.py b/client/python/test/test_principal_with_credentials_credentials.py
deleted file mode 100644
index 64160cd493..0000000000
--- a/client/python/test/test_principal_with_credentials_credentials.py
+++ /dev/null
@@ -1,71 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.principal_with_credentials_credentials import PrincipalWithCredentialsCredentials
-
-class TestPrincipalWithCredentialsCredentials(unittest.TestCase):
- """PrincipalWithCredentialsCredentials unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> PrincipalWithCredentialsCredentials:
- """Test PrincipalWithCredentialsCredentials
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `PrincipalWithCredentialsCredentials`
- """
- model = PrincipalWithCredentialsCredentials()
- if include_optional:
- return PrincipalWithCredentialsCredentials(
- client_id = '',
- client_secret = ''
- )
- else:
- return PrincipalWithCredentialsCredentials(
- )
- """
-
- def testPrincipalWithCredentialsCredentials(self):
- """Test PrincipalWithCredentialsCredentials"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_principals.py b/client/python/test/test_principals.py
deleted file mode 100644
index cb93382bdc..0000000000
--- a/client/python/test/test_principals.py
+++ /dev/null
@@ -1,91 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.principals import Principals
-
-class TestPrincipals(unittest.TestCase):
- """Principals unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> Principals:
- """Test Principals
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `Principals`
- """
- model = Principals()
- if include_optional:
- return Principals(
- principals = [
- polaris.management.models.principal.Principal(
- name = 'k&*h<4i H\'qT\\{\'es#)#iK.YM{Rag2/!KB!k@5oXh.:Ts\";mGL,i&z5[P@M\"lzfB+Y,Twzfu~N^z\"mfqecVU0',
- client_id = '',
- properties = {
- 'key' : ''
- },
- create_timestamp = 56,
- last_update_timestamp = 56,
- entity_version = 56, )
- ]
- )
- else:
- return Principals(
- principals = [
- polaris.management.models.principal.Principal(
- name = 'k&*h<4i H\'qT\\{\'es#)#iK.YM{Rag2/!KB!k@5oXh.:Ts\";mGL,i&z5[P@M\"lzfB+Y,Twzfu~N^z\"mfqecVU0',
- client_id = '',
- properties = {
- 'key' : ''
- },
- create_timestamp = 56,
- last_update_timestamp = 56,
- entity_version = 56, )
- ],
- )
- """
-
- def testPrincipals(self):
- """Test Principals"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_register_table_request.py b/client/python/test/test_register_table_request.py
deleted file mode 100644
index f75562a9bf..0000000000
--- a/client/python/test/test_register_table_request.py
+++ /dev/null
@@ -1,73 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.register_table_request import RegisterTableRequest
-
-class TestRegisterTableRequest(unittest.TestCase):
- """RegisterTableRequest unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> RegisterTableRequest:
- """Test RegisterTableRequest
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `RegisterTableRequest`
- """
- model = RegisterTableRequest()
- if include_optional:
- return RegisterTableRequest(
- name = '',
- metadata_location = ''
- )
- else:
- return RegisterTableRequest(
- name = '',
- metadata_location = '',
- )
- """
-
- def testRegisterTableRequest(self):
- """Test RegisterTableRequest"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_remove_partition_specs_update.py b/client/python/test/test_remove_partition_specs_update.py
deleted file mode 100644
index 60065902e0..0000000000
--- a/client/python/test/test_remove_partition_specs_update.py
+++ /dev/null
@@ -1,76 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.remove_partition_specs_update import RemovePartitionSpecsUpdate
-
-class TestRemovePartitionSpecsUpdate(unittest.TestCase):
- """RemovePartitionSpecsUpdate unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> RemovePartitionSpecsUpdate:
- """Test RemovePartitionSpecsUpdate
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `RemovePartitionSpecsUpdate`
- """
- model = RemovePartitionSpecsUpdate()
- if include_optional:
- return RemovePartitionSpecsUpdate(
- action = '',
- spec_ids = [
- 56
- ]
- )
- else:
- return RemovePartitionSpecsUpdate(
- spec_ids = [
- 56
- ],
- )
- """
-
- def testRemovePartitionSpecsUpdate(self):
- """Test RemovePartitionSpecsUpdate"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_remove_partition_statistics_update.py b/client/python/test/test_remove_partition_statistics_update.py
deleted file mode 100644
index 08af663d34..0000000000
--- a/client/python/test/test_remove_partition_statistics_update.py
+++ /dev/null
@@ -1,72 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.remove_partition_statistics_update import RemovePartitionStatisticsUpdate
-
-class TestRemovePartitionStatisticsUpdate(unittest.TestCase):
- """RemovePartitionStatisticsUpdate unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> RemovePartitionStatisticsUpdate:
- """Test RemovePartitionStatisticsUpdate
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `RemovePartitionStatisticsUpdate`
- """
- model = RemovePartitionStatisticsUpdate()
- if include_optional:
- return RemovePartitionStatisticsUpdate(
- action = '',
- snapshot_id = 56
- )
- else:
- return RemovePartitionStatisticsUpdate(
- snapshot_id = 56,
- )
- """
-
- def testRemovePartitionStatisticsUpdate(self):
- """Test RemovePartitionStatisticsUpdate"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_remove_properties_update.py b/client/python/test/test_remove_properties_update.py
deleted file mode 100644
index 019a64e89a..0000000000
--- a/client/python/test/test_remove_properties_update.py
+++ /dev/null
@@ -1,76 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.remove_properties_update import RemovePropertiesUpdate
-
-class TestRemovePropertiesUpdate(unittest.TestCase):
- """RemovePropertiesUpdate unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> RemovePropertiesUpdate:
- """Test RemovePropertiesUpdate
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `RemovePropertiesUpdate`
- """
- model = RemovePropertiesUpdate()
- if include_optional:
- return RemovePropertiesUpdate(
- action = '',
- removals = [
- ''
- ]
- )
- else:
- return RemovePropertiesUpdate(
- removals = [
- ''
- ],
- )
- """
-
- def testRemovePropertiesUpdate(self):
- """Test RemovePropertiesUpdate"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_remove_snapshot_ref_update.py b/client/python/test/test_remove_snapshot_ref_update.py
deleted file mode 100644
index 5916d8b6b9..0000000000
--- a/client/python/test/test_remove_snapshot_ref_update.py
+++ /dev/null
@@ -1,72 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.remove_snapshot_ref_update import RemoveSnapshotRefUpdate
-
-class TestRemoveSnapshotRefUpdate(unittest.TestCase):
- """RemoveSnapshotRefUpdate unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> RemoveSnapshotRefUpdate:
- """Test RemoveSnapshotRefUpdate
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `RemoveSnapshotRefUpdate`
- """
- model = RemoveSnapshotRefUpdate()
- if include_optional:
- return RemoveSnapshotRefUpdate(
- action = '',
- ref_name = ''
- )
- else:
- return RemoveSnapshotRefUpdate(
- ref_name = '',
- )
- """
-
- def testRemoveSnapshotRefUpdate(self):
- """Test RemoveSnapshotRefUpdate"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_remove_snapshots_update.py b/client/python/test/test_remove_snapshots_update.py
deleted file mode 100644
index 38057d5a9c..0000000000
--- a/client/python/test/test_remove_snapshots_update.py
+++ /dev/null
@@ -1,76 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.remove_snapshots_update import RemoveSnapshotsUpdate
-
-class TestRemoveSnapshotsUpdate(unittest.TestCase):
- """RemoveSnapshotsUpdate unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> RemoveSnapshotsUpdate:
- """Test RemoveSnapshotsUpdate
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `RemoveSnapshotsUpdate`
- """
- model = RemoveSnapshotsUpdate()
- if include_optional:
- return RemoveSnapshotsUpdate(
- action = '',
- snapshot_ids = [
- 56
- ]
- )
- else:
- return RemoveSnapshotsUpdate(
- snapshot_ids = [
- 56
- ],
- )
- """
-
- def testRemoveSnapshotsUpdate(self):
- """Test RemoveSnapshotsUpdate"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_remove_statistics_update.py b/client/python/test/test_remove_statistics_update.py
deleted file mode 100644
index 0ac8c7db44..0000000000
--- a/client/python/test/test_remove_statistics_update.py
+++ /dev/null
@@ -1,72 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.remove_statistics_update import RemoveStatisticsUpdate
-
-class TestRemoveStatisticsUpdate(unittest.TestCase):
- """RemoveStatisticsUpdate unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> RemoveStatisticsUpdate:
- """Test RemoveStatisticsUpdate
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `RemoveStatisticsUpdate`
- """
- model = RemoveStatisticsUpdate()
- if include_optional:
- return RemoveStatisticsUpdate(
- action = '',
- snapshot_id = 56
- )
- else:
- return RemoveStatisticsUpdate(
- snapshot_id = 56,
- )
- """
-
- def testRemoveStatisticsUpdate(self):
- """Test RemoveStatisticsUpdate"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_rename_table_request.py b/client/python/test/test_rename_table_request.py
deleted file mode 100644
index 740bf9eafd..0000000000
--- a/client/python/test/test_rename_table_request.py
+++ /dev/null
@@ -1,81 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.rename_table_request import RenameTableRequest
-
-class TestRenameTableRequest(unittest.TestCase):
- """RenameTableRequest unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> RenameTableRequest:
- """Test RenameTableRequest
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `RenameTableRequest`
- """
- model = RenameTableRequest()
- if include_optional:
- return RenameTableRequest(
- source = polaris.catalog.models.table_identifier.TableIdentifier(
- namespace = ["accounting","tax"],
- name = '', ),
- destination = polaris.catalog.models.table_identifier.TableIdentifier(
- namespace = ["accounting","tax"],
- name = '', )
- )
- else:
- return RenameTableRequest(
- source = polaris.catalog.models.table_identifier.TableIdentifier(
- namespace = ["accounting","tax"],
- name = '', ),
- destination = polaris.catalog.models.table_identifier.TableIdentifier(
- namespace = ["accounting","tax"],
- name = '', ),
- )
- """
-
- def testRenameTableRequest(self):
- """Test RenameTableRequest"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_report_metrics_request.py b/client/python/test/test_report_metrics_request.py
deleted file mode 100644
index 7367ca9732..0000000000
--- a/client/python/test/test_report_metrics_request.py
+++ /dev/null
@@ -1,100 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.report_metrics_request import ReportMetricsRequest
-
-class TestReportMetricsRequest(unittest.TestCase):
- """ReportMetricsRequest unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> ReportMetricsRequest:
- """Test ReportMetricsRequest
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `ReportMetricsRequest`
- """
- model = ReportMetricsRequest()
- if include_optional:
- return ReportMetricsRequest(
- report_type = '',
- table_name = '',
- snapshot_id = 56,
- filter = None,
- schema_id = 56,
- projected_field_ids = [
- 56
- ],
- projected_field_names = [
- ''
- ],
- metrics = {"metrics":{"total-planning-duration":{"count":1,"time-unit":"nanoseconds","total-duration":2644235116},"result-data-files":{"unit":"count","value":1},"result-delete-files":{"unit":"count","value":0},"total-data-manifests":{"unit":"count","value":1},"total-delete-manifests":{"unit":"count","value":0},"scanned-data-manifests":{"unit":"count","value":1},"skipped-data-manifests":{"unit":"count","value":0},"total-file-size-bytes":{"unit":"bytes","value":10},"total-delete-file-size-bytes":{"unit":"bytes","value":0}}},
- metadata = {
- 'key' : ''
- },
- sequence_number = 56,
- operation = ''
- )
- else:
- return ReportMetricsRequest(
- report_type = '',
- table_name = '',
- snapshot_id = 56,
- filter = None,
- schema_id = 56,
- projected_field_ids = [
- 56
- ],
- projected_field_names = [
- ''
- ],
- metrics = {"metrics":{"total-planning-duration":{"count":1,"time-unit":"nanoseconds","total-duration":2644235116},"result-data-files":{"unit":"count","value":1},"result-delete-files":{"unit":"count","value":0},"total-data-manifests":{"unit":"count","value":1},"total-delete-manifests":{"unit":"count","value":0},"scanned-data-manifests":{"unit":"count","value":1},"skipped-data-manifests":{"unit":"count","value":0},"total-file-size-bytes":{"unit":"bytes","value":10},"total-delete-file-size-bytes":{"unit":"bytes","value":0}}},
- sequence_number = 56,
- operation = '',
- )
- """
-
- def testReportMetricsRequest(self):
- """Test ReportMetricsRequest"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_revoke_grant_request.py b/client/python/test/test_revoke_grant_request.py
deleted file mode 100644
index 96d1cc4b91..0000000000
--- a/client/python/test/test_revoke_grant_request.py
+++ /dev/null
@@ -1,71 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.revoke_grant_request import RevokeGrantRequest
-
-class TestRevokeGrantRequest(unittest.TestCase):
- """RevokeGrantRequest unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> RevokeGrantRequest:
- """Test RevokeGrantRequest
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `RevokeGrantRequest`
- """
- model = RevokeGrantRequest()
- if include_optional:
- return RevokeGrantRequest(
- grant = polaris.management.models.grant_resource.GrantResource(
- type = 'catalog', )
- )
- else:
- return RevokeGrantRequest(
- )
- """
-
- def testRevokeGrantRequest(self):
- """Test RevokeGrantRequest"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_scan_report.py b/client/python/test/test_scan_report.py
deleted file mode 100644
index eaccfdc41f..0000000000
--- a/client/python/test/test_scan_report.py
+++ /dev/null
@@ -1,94 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.scan_report import ScanReport
-
-class TestScanReport(unittest.TestCase):
- """ScanReport unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> ScanReport:
- """Test ScanReport
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `ScanReport`
- """
- model = ScanReport()
- if include_optional:
- return ScanReport(
- table_name = '',
- snapshot_id = 56,
- filter = None,
- schema_id = 56,
- projected_field_ids = [
- 56
- ],
- projected_field_names = [
- ''
- ],
- metrics = {"metrics":{"total-planning-duration":{"count":1,"time-unit":"nanoseconds","total-duration":2644235116},"result-data-files":{"unit":"count","value":1},"result-delete-files":{"unit":"count","value":0},"total-data-manifests":{"unit":"count","value":1},"total-delete-manifests":{"unit":"count","value":0},"scanned-data-manifests":{"unit":"count","value":1},"skipped-data-manifests":{"unit":"count","value":0},"total-file-size-bytes":{"unit":"bytes","value":10},"total-delete-file-size-bytes":{"unit":"bytes","value":0}}},
- metadata = {
- 'key' : ''
- }
- )
- else:
- return ScanReport(
- table_name = '',
- snapshot_id = 56,
- filter = None,
- schema_id = 56,
- projected_field_ids = [
- 56
- ],
- projected_field_names = [
- ''
- ],
- metrics = {"metrics":{"total-planning-duration":{"count":1,"time-unit":"nanoseconds","total-duration":2644235116},"result-data-files":{"unit":"count","value":1},"result-delete-files":{"unit":"count","value":0},"total-data-manifests":{"unit":"count","value":1},"total-delete-manifests":{"unit":"count","value":0},"scanned-data-manifests":{"unit":"count","value":1},"skipped-data-manifests":{"unit":"count","value":0},"total-file-size-bytes":{"unit":"bytes","value":10},"total-delete-file-size-bytes":{"unit":"bytes","value":0}}},
- )
- """
-
- def testScanReport(self):
- """Test ScanReport"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_scan_tasks.py b/client/python/test/test_scan_tasks.py
deleted file mode 100644
index 2c13a9d524..0000000000
--- a/client/python/test/test_scan_tasks.py
+++ /dev/null
@@ -1,90 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Iceberg REST Catalog API
-
- Defines the specification for the first version of the REST Catalog API. Implementations should ideally support both Iceberg table specs v1 and v2, with priority given to v2.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.scan_tasks import ScanTasks
-
-class TestScanTasks(unittest.TestCase):
- """ScanTasks unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> ScanTasks:
- """Test ScanTasks
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `ScanTasks`
- """
- model = ScanTasks()
- if include_optional:
- return ScanTasks(
- delete_files = [
- null
- ],
- file_scan_tasks = [
- polaris.catalog.models.file_scan_task.FileScanTask(
- data_file = polaris.catalog.models.data_file.DataFile(
- content = '',
- column_sizes = null,
- value_counts = null,
- null_value_counts = null,
- nan_value_counts = null,
- lower_bounds = null,
- upper_bounds = null, ),
- delete_file_references = [
- 56
- ],
- residual_filter = null, )
- ],
- plan_tasks = [
- ''
- ]
- )
- else:
- return ScanTasks(
- )
- """
-
- def testScanTasks(self):
- """Test ScanTasks"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_service_identity_info.py b/client/python/test/test_service_identity_info.py
deleted file mode 100644
index 22baa0c3ee..0000000000
--- a/client/python/test/test_service_identity_info.py
+++ /dev/null
@@ -1,71 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.service_identity_info import ServiceIdentityInfo
-
-class TestServiceIdentityInfo(unittest.TestCase):
- """ServiceIdentityInfo unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> ServiceIdentityInfo:
- """Test ServiceIdentityInfo
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `ServiceIdentityInfo`
- """
- model = ServiceIdentityInfo()
- if include_optional:
- return ServiceIdentityInfo(
- identity_type = 'AWS_IAM'
- )
- else:
- return ServiceIdentityInfo(
- identity_type = 'AWS_IAM',
- )
- """
-
- def testServiceIdentityInfo(self):
- """Test ServiceIdentityInfo"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_set_current_schema_update.py b/client/python/test/test_set_current_schema_update.py
deleted file mode 100644
index f4ed364977..0000000000
--- a/client/python/test/test_set_current_schema_update.py
+++ /dev/null
@@ -1,72 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.set_current_schema_update import SetCurrentSchemaUpdate
-
-class TestSetCurrentSchemaUpdate(unittest.TestCase):
- """SetCurrentSchemaUpdate unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> SetCurrentSchemaUpdate:
- """Test SetCurrentSchemaUpdate
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `SetCurrentSchemaUpdate`
- """
- model = SetCurrentSchemaUpdate()
- if include_optional:
- return SetCurrentSchemaUpdate(
- action = '',
- schema_id = 56
- )
- else:
- return SetCurrentSchemaUpdate(
- schema_id = 56,
- )
- """
-
- def testSetCurrentSchemaUpdate(self):
- """Test SetCurrentSchemaUpdate"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_set_current_view_version_update.py b/client/python/test/test_set_current_view_version_update.py
deleted file mode 100644
index fe311fdb91..0000000000
--- a/client/python/test/test_set_current_view_version_update.py
+++ /dev/null
@@ -1,72 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.set_current_view_version_update import SetCurrentViewVersionUpdate
-
-class TestSetCurrentViewVersionUpdate(unittest.TestCase):
- """SetCurrentViewVersionUpdate unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> SetCurrentViewVersionUpdate:
- """Test SetCurrentViewVersionUpdate
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `SetCurrentViewVersionUpdate`
- """
- model = SetCurrentViewVersionUpdate()
- if include_optional:
- return SetCurrentViewVersionUpdate(
- action = '',
- view_version_id = 56
- )
- else:
- return SetCurrentViewVersionUpdate(
- view_version_id = 56,
- )
- """
-
- def testSetCurrentViewVersionUpdate(self):
- """Test SetCurrentViewVersionUpdate"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_set_default_sort_order_update.py b/client/python/test/test_set_default_sort_order_update.py
deleted file mode 100644
index 4db280262e..0000000000
--- a/client/python/test/test_set_default_sort_order_update.py
+++ /dev/null
@@ -1,72 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.set_default_sort_order_update import SetDefaultSortOrderUpdate
-
-class TestSetDefaultSortOrderUpdate(unittest.TestCase):
- """SetDefaultSortOrderUpdate unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> SetDefaultSortOrderUpdate:
- """Test SetDefaultSortOrderUpdate
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `SetDefaultSortOrderUpdate`
- """
- model = SetDefaultSortOrderUpdate()
- if include_optional:
- return SetDefaultSortOrderUpdate(
- action = '',
- sort_order_id = 56
- )
- else:
- return SetDefaultSortOrderUpdate(
- sort_order_id = 56,
- )
- """
-
- def testSetDefaultSortOrderUpdate(self):
- """Test SetDefaultSortOrderUpdate"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_set_default_spec_update.py b/client/python/test/test_set_default_spec_update.py
deleted file mode 100644
index 0240ff6857..0000000000
--- a/client/python/test/test_set_default_spec_update.py
+++ /dev/null
@@ -1,72 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.set_default_spec_update import SetDefaultSpecUpdate
-
-class TestSetDefaultSpecUpdate(unittest.TestCase):
- """SetDefaultSpecUpdate unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> SetDefaultSpecUpdate:
- """Test SetDefaultSpecUpdate
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `SetDefaultSpecUpdate`
- """
- model = SetDefaultSpecUpdate()
- if include_optional:
- return SetDefaultSpecUpdate(
- action = '',
- spec_id = 56
- )
- else:
- return SetDefaultSpecUpdate(
- spec_id = 56,
- )
- """
-
- def testSetDefaultSpecUpdate(self):
- """Test SetDefaultSpecUpdate"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_set_expression.py b/client/python/test/test_set_expression.py
deleted file mode 100644
index ffff80bf7a..0000000000
--- a/client/python/test/test_set_expression.py
+++ /dev/null
@@ -1,79 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.set_expression import SetExpression
-
-class TestSetExpression(unittest.TestCase):
- """SetExpression unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> SetExpression:
- """Test SetExpression
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `SetExpression`
- """
- model = SetExpression()
- if include_optional:
- return SetExpression(
- type = '["true","false","eq","and","or","not","in","not-in","lt","lt-eq","gt","gt-eq","not-eq","starts-with","not-starts-with","is-null","not-null","is-nan","not-nan"]',
- term = None,
- values = [
- None
- ]
- )
- else:
- return SetExpression(
- type = '["true","false","eq","and","or","not","in","not-in","lt","lt-eq","gt","gt-eq","not-eq","starts-with","not-starts-with","is-null","not-null","is-nan","not-nan"]',
- term = None,
- values = [
- None
- ],
- )
- """
-
- def testSetExpression(self):
- """Test SetExpression"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_set_location_update.py b/client/python/test/test_set_location_update.py
deleted file mode 100644
index 58735e0853..0000000000
--- a/client/python/test/test_set_location_update.py
+++ /dev/null
@@ -1,72 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.set_location_update import SetLocationUpdate
-
-class TestSetLocationUpdate(unittest.TestCase):
- """SetLocationUpdate unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> SetLocationUpdate:
- """Test SetLocationUpdate
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `SetLocationUpdate`
- """
- model = SetLocationUpdate()
- if include_optional:
- return SetLocationUpdate(
- action = '',
- location = ''
- )
- else:
- return SetLocationUpdate(
- location = '',
- )
- """
-
- def testSetLocationUpdate(self):
- """Test SetLocationUpdate"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_set_partition_statistics_update.py b/client/python/test/test_set_partition_statistics_update.py
deleted file mode 100644
index ee27aebb69..0000000000
--- a/client/python/test/test_set_partition_statistics_update.py
+++ /dev/null
@@ -1,78 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.set_partition_statistics_update import SetPartitionStatisticsUpdate
-
-class TestSetPartitionStatisticsUpdate(unittest.TestCase):
- """SetPartitionStatisticsUpdate unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> SetPartitionStatisticsUpdate:
- """Test SetPartitionStatisticsUpdate
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `SetPartitionStatisticsUpdate`
- """
- model = SetPartitionStatisticsUpdate()
- if include_optional:
- return SetPartitionStatisticsUpdate(
- action = '',
- partition_statistics = polaris.catalog.models.partition_statistics_file.PartitionStatisticsFile(
- snapshot_id = 56,
- statistics_path = '',
- file_size_in_bytes = 56, )
- )
- else:
- return SetPartitionStatisticsUpdate(
- partition_statistics = polaris.catalog.models.partition_statistics_file.PartitionStatisticsFile(
- snapshot_id = 56,
- statistics_path = '',
- file_size_in_bytes = 56, ),
- )
- """
-
- def testSetPartitionStatisticsUpdate(self):
- """Test SetPartitionStatisticsUpdate"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_set_properties_update.py b/client/python/test/test_set_properties_update.py
deleted file mode 100644
index df40491c63..0000000000
--- a/client/python/test/test_set_properties_update.py
+++ /dev/null
@@ -1,76 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.set_properties_update import SetPropertiesUpdate
-
-class TestSetPropertiesUpdate(unittest.TestCase):
- """SetPropertiesUpdate unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> SetPropertiesUpdate:
- """Test SetPropertiesUpdate
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `SetPropertiesUpdate`
- """
- model = SetPropertiesUpdate()
- if include_optional:
- return SetPropertiesUpdate(
- action = '',
- updates = {
- 'key' : ''
- }
- )
- else:
- return SetPropertiesUpdate(
- updates = {
- 'key' : ''
- },
- )
- """
-
- def testSetPropertiesUpdate(self):
- """Test SetPropertiesUpdate"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_set_snapshot_ref_update.py b/client/python/test/test_set_snapshot_ref_update.py
deleted file mode 100644
index 524ee486ce..0000000000
--- a/client/python/test/test_set_snapshot_ref_update.py
+++ /dev/null
@@ -1,79 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.set_snapshot_ref_update import SetSnapshotRefUpdate
-
-class TestSetSnapshotRefUpdate(unittest.TestCase):
- """SetSnapshotRefUpdate unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> SetSnapshotRefUpdate:
- """Test SetSnapshotRefUpdate
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `SetSnapshotRefUpdate`
- """
- model = SetSnapshotRefUpdate()
- if include_optional:
- return SetSnapshotRefUpdate(
- action = '',
- ref_name = '',
- type = 'tag',
- snapshot_id = 56,
- max_ref_age_ms = 56,
- max_snapshot_age_ms = 56,
- min_snapshots_to_keep = 56
- )
- else:
- return SetSnapshotRefUpdate(
- ref_name = '',
- type = 'tag',
- snapshot_id = 56,
- )
- """
-
- def testSetSnapshotRefUpdate(self):
- """Test SetSnapshotRefUpdate"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_set_statistics_update.py b/client/python/test/test_set_statistics_update.py
deleted file mode 100644
index 851f060f86..0000000000
--- a/client/python/test/test_set_statistics_update.py
+++ /dev/null
@@ -1,105 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.set_statistics_update import SetStatisticsUpdate
-
-class TestSetStatisticsUpdate(unittest.TestCase):
- """SetStatisticsUpdate unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> SetStatisticsUpdate:
- """Test SetStatisticsUpdate
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `SetStatisticsUpdate`
- """
- model = SetStatisticsUpdate()
- if include_optional:
- return SetStatisticsUpdate(
- action = '',
- snapshot_id = 56,
- statistics = polaris.catalog.models.statistics_file.StatisticsFile(
- snapshot_id = 56,
- statistics_path = '',
- file_size_in_bytes = 56,
- file_footer_size_in_bytes = 56,
- blob_metadata = [
- polaris.catalog.models.blob_metadata.BlobMetadata(
- type = '',
- snapshot_id = 56,
- sequence_number = 56,
- fields = [
- 56
- ],
- properties = {
- 'key' : ''
- }, )
- ], )
- )
- else:
- return SetStatisticsUpdate(
- statistics = polaris.catalog.models.statistics_file.StatisticsFile(
- snapshot_id = 56,
- statistics_path = '',
- file_size_in_bytes = 56,
- file_footer_size_in_bytes = 56,
- blob_metadata = [
- polaris.catalog.models.blob_metadata.BlobMetadata(
- type = '',
- snapshot_id = 56,
- sequence_number = 56,
- fields = [
- 56
- ],
- properties = {
- 'key' : ''
- }, )
- ], ),
- )
- """
-
- def testSetStatisticsUpdate(self):
- """Test SetStatisticsUpdate"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_sig_v4_authentication_parameters.py b/client/python/test/test_sig_v4_authentication_parameters.py
deleted file mode 100644
index 38e326c0ef..0000000000
--- a/client/python/test/test_sig_v4_authentication_parameters.py
+++ /dev/null
@@ -1,76 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.sig_v4_authentication_parameters import SigV4AuthenticationParameters
-
-class TestSigV4AuthenticationParameters(unittest.TestCase):
- """SigV4AuthenticationParameters unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> SigV4AuthenticationParameters:
- """Test SigV4AuthenticationParameters
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `SigV4AuthenticationParameters`
- """
- model = SigV4AuthenticationParameters()
- if include_optional:
- return SigV4AuthenticationParameters(
- role_arn = 'arn:aws:iam::123456789001:role/role-that-has-remote-catalog-access',
- role_session_name = 'polaris-remote-catalog-access',
- external_id = 'external-id-1234',
- signing_region = 'us-west-2',
- signing_name = 'glue'
- )
- else:
- return SigV4AuthenticationParameters(
- role_arn = 'arn:aws:iam::123456789001:role/role-that-has-remote-catalog-access',
- signing_region = 'us-west-2',
- )
- """
-
- def testSigV4AuthenticationParameters(self):
- """Test SigV4AuthenticationParameters"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_snapshot.py b/client/python/test/test_snapshot.py
deleted file mode 100644
index 94eb86f3e2..0000000000
--- a/client/python/test/test_snapshot.py
+++ /dev/null
@@ -1,84 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.snapshot import Snapshot
-
-class TestSnapshot(unittest.TestCase):
- """Snapshot unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> Snapshot:
- """Test Snapshot
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `Snapshot`
- """
- model = Snapshot()
- if include_optional:
- return Snapshot(
- snapshot_id = 56,
- parent_snapshot_id = 56,
- sequence_number = 56,
- timestamp_ms = 56,
- manifest_list = '',
- summary = {
- 'key' : ''
- },
- schema_id = 56
- )
- else:
- return Snapshot(
- snapshot_id = 56,
- timestamp_ms = 56,
- manifest_list = '',
- summary = {
- 'key' : ''
- },
- )
- """
-
- def testSnapshot(self):
- """Test Snapshot"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_snapshot_log_inner.py b/client/python/test/test_snapshot_log_inner.py
deleted file mode 100644
index b2eb01ba64..0000000000
--- a/client/python/test/test_snapshot_log_inner.py
+++ /dev/null
@@ -1,73 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.snapshot_log_inner import SnapshotLogInner
-
-class TestSnapshotLogInner(unittest.TestCase):
- """SnapshotLogInner unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> SnapshotLogInner:
- """Test SnapshotLogInner
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `SnapshotLogInner`
- """
- model = SnapshotLogInner()
- if include_optional:
- return SnapshotLogInner(
- snapshot_id = 56,
- timestamp_ms = 56
- )
- else:
- return SnapshotLogInner(
- snapshot_id = 56,
- timestamp_ms = 56,
- )
- """
-
- def testSnapshotLogInner(self):
- """Test SnapshotLogInner"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_snapshot_reference.py b/client/python/test/test_snapshot_reference.py
deleted file mode 100644
index 651b4d01eb..0000000000
--- a/client/python/test/test_snapshot_reference.py
+++ /dev/null
@@ -1,76 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.snapshot_reference import SnapshotReference
-
-class TestSnapshotReference(unittest.TestCase):
- """SnapshotReference unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> SnapshotReference:
- """Test SnapshotReference
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `SnapshotReference`
- """
- model = SnapshotReference()
- if include_optional:
- return SnapshotReference(
- type = 'tag',
- snapshot_id = 56,
- max_ref_age_ms = 56,
- max_snapshot_age_ms = 56,
- min_snapshots_to_keep = 56
- )
- else:
- return SnapshotReference(
- type = 'tag',
- snapshot_id = 56,
- )
- """
-
- def testSnapshotReference(self):
- """Test SnapshotReference"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_snapshot_summary.py b/client/python/test/test_snapshot_summary.py
deleted file mode 100644
index 116fd53cab..0000000000
--- a/client/python/test/test_snapshot_summary.py
+++ /dev/null
@@ -1,71 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.snapshot_summary import SnapshotSummary
-
-class TestSnapshotSummary(unittest.TestCase):
- """SnapshotSummary unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> SnapshotSummary:
- """Test SnapshotSummary
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `SnapshotSummary`
- """
- model = SnapshotSummary()
- if include_optional:
- return SnapshotSummary(
- operation = 'append'
- )
- else:
- return SnapshotSummary(
- operation = 'append',
- )
- """
-
- def testSnapshotSummary(self):
- """Test SnapshotSummary"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_sort_direction.py b/client/python/test/test_sort_direction.py
deleted file mode 100644
index 6134ed9dbc..0000000000
--- a/client/python/test/test_sort_direction.py
+++ /dev/null
@@ -1,52 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.sort_direction import SortDirection
-
-class TestSortDirection(unittest.TestCase):
- """SortDirection unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def testSortDirection(self):
- """Test SortDirection"""
- # inst = SortDirection()
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_sort_field.py b/client/python/test/test_sort_field.py
deleted file mode 100644
index 715fbc3b59..0000000000
--- a/client/python/test/test_sort_field.py
+++ /dev/null
@@ -1,77 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.sort_field import SortField
-
-class TestSortField(unittest.TestCase):
- """SortField unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> SortField:
- """Test SortField
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `SortField`
- """
- model = SortField()
- if include_optional:
- return SortField(
- source_id = 56,
- transform = '["identity","year","month","day","hour","bucket[256]","truncate[16]"]',
- direction = 'asc',
- null_order = 'nulls-first'
- )
- else:
- return SortField(
- source_id = 56,
- transform = '["identity","year","month","day","hour","bucket[256]","truncate[16]"]',
- direction = 'asc',
- null_order = 'nulls-first',
- )
- """
-
- def testSortField(self):
- """Test SortField"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_sort_order.py b/client/python/test/test_sort_order.py
deleted file mode 100644
index 2a2002390d..0000000000
--- a/client/python/test/test_sort_order.py
+++ /dev/null
@@ -1,85 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.sort_order import SortOrder
-
-class TestSortOrder(unittest.TestCase):
- """SortOrder unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> SortOrder:
- """Test SortOrder
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `SortOrder`
- """
- model = SortOrder()
- if include_optional:
- return SortOrder(
- order_id = 56,
- fields = [
- polaris.catalog.models.sort_field.SortField(
- source_id = 56,
- transform = '["identity","year","month","day","hour","bucket[256]","truncate[16]"]',
- direction = 'asc',
- null_order = 'nulls-first', )
- ]
- )
- else:
- return SortOrder(
- order_id = 56,
- fields = [
- polaris.catalog.models.sort_field.SortField(
- source_id = 56,
- transform = '["identity","year","month","day","hour","bucket[256]","truncate[16]"]',
- direction = 'asc',
- null_order = 'nulls-first', )
- ],
- )
- """
-
- def testSortOrder(self):
- """Test SortOrder"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_sql_view_representation.py b/client/python/test/test_sql_view_representation.py
deleted file mode 100644
index d59dc0a6ac..0000000000
--- a/client/python/test/test_sql_view_representation.py
+++ /dev/null
@@ -1,75 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.sql_view_representation import SQLViewRepresentation
-
-class TestSQLViewRepresentation(unittest.TestCase):
- """SQLViewRepresentation unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> SQLViewRepresentation:
- """Test SQLViewRepresentation
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `SQLViewRepresentation`
- """
- model = SQLViewRepresentation()
- if include_optional:
- return SQLViewRepresentation(
- type = '',
- sql = '',
- dialect = ''
- )
- else:
- return SQLViewRepresentation(
- type = '',
- sql = '',
- dialect = '',
- )
- """
-
- def testSQLViewRepresentation(self):
- """Test SQLViewRepresentation"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_statistics_file.py b/client/python/test/test_statistics_file.py
deleted file mode 100644
index 4e2ddc96cb..0000000000
--- a/client/python/test/test_statistics_file.py
+++ /dev/null
@@ -1,101 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.statistics_file import StatisticsFile
-
-class TestStatisticsFile(unittest.TestCase):
- """StatisticsFile unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> StatisticsFile:
- """Test StatisticsFile
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `StatisticsFile`
- """
- model = StatisticsFile()
- if include_optional:
- return StatisticsFile(
- snapshot_id = 56,
- statistics_path = '',
- file_size_in_bytes = 56,
- file_footer_size_in_bytes = 56,
- blob_metadata = [
- polaris.catalog.models.blob_metadata.BlobMetadata(
- type = '',
- snapshot_id = 56,
- sequence_number = 56,
- fields = [
- 56
- ],
- properties = {
- 'key' : ''
- }, )
- ]
- )
- else:
- return StatisticsFile(
- snapshot_id = 56,
- statistics_path = '',
- file_size_in_bytes = 56,
- file_footer_size_in_bytes = 56,
- blob_metadata = [
- polaris.catalog.models.blob_metadata.BlobMetadata(
- type = '',
- snapshot_id = 56,
- sequence_number = 56,
- fields = [
- 56
- ],
- properties = {
- 'key' : ''
- }, )
- ],
- )
- """
-
- def testStatisticsFile(self):
- """Test StatisticsFile"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_storage_config_info.py b/client/python/test/test_storage_config_info.py
deleted file mode 100644
index d803dd2f5d..0000000000
--- a/client/python/test/test_storage_config_info.py
+++ /dev/null
@@ -1,72 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.storage_config_info import StorageConfigInfo
-
-class TestStorageConfigInfo(unittest.TestCase):
- """StorageConfigInfo unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> StorageConfigInfo:
- """Test StorageConfigInfo
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `StorageConfigInfo`
- """
- model = StorageConfigInfo()
- if include_optional:
- return StorageConfigInfo(
- storage_type = 'S3',
- allowed_locations = For AWS [s3://bucketname/prefix/], for AZURE [abfss://container@storageaccount.blob.core.windows.net/prefix/], for GCP [gs://bucketname/prefix/]
- )
- else:
- return StorageConfigInfo(
- storage_type = 'S3',
- )
- """
-
- def testStorageConfigInfo(self):
- """Test StorageConfigInfo"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_storage_credential.py b/client/python/test/test_storage_credential.py
deleted file mode 100644
index 8dc32f9b37..0000000000
--- a/client/python/test/test_storage_credential.py
+++ /dev/null
@@ -1,77 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.storage_credential import StorageCredential
-
-class TestStorageCredential(unittest.TestCase):
- """StorageCredential unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> StorageCredential:
- """Test StorageCredential
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `StorageCredential`
- """
- model = StorageCredential()
- if include_optional:
- return StorageCredential(
- prefix = '',
- config = {
- 'key' : ''
- }
- )
- else:
- return StorageCredential(
- prefix = '',
- config = {
- 'key' : ''
- },
- )
- """
-
- def testStorageCredential(self):
- """Test StorageCredential"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_struct_field.py b/client/python/test/test_struct_field.py
deleted file mode 100644
index 8dff74b083..0000000000
--- a/client/python/test/test_struct_field.py
+++ /dev/null
@@ -1,80 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.struct_field import StructField
-
-class TestStructField(unittest.TestCase):
- """StructField unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> StructField:
- """Test StructField
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `StructField`
- """
- model = StructField()
- if include_optional:
- return StructField(
- id = 56,
- name = '',
- type = None,
- required = True,
- doc = '',
- initial_default = None,
- write_default = None
- )
- else:
- return StructField(
- id = 56,
- name = '',
- type = None,
- required = True,
- )
- """
-
- def testStructField(self):
- """Test StructField"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_struct_type.py b/client/python/test/test_struct_type.py
deleted file mode 100644
index 0864975f5b..0000000000
--- a/client/python/test/test_struct_type.py
+++ /dev/null
@@ -1,91 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.struct_type import StructType
-
-class TestStructType(unittest.TestCase):
- """StructType unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> StructType:
- """Test StructType
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `StructType`
- """
- model = StructType()
- if include_optional:
- return StructType(
- type = '',
- fields = [
- polaris.catalog.models.struct_field.StructField(
- id = 56,
- name = '',
- type = null,
- required = True,
- doc = '',
- initial_default = null,
- write_default = null, )
- ]
- )
- else:
- return StructType(
- type = '',
- fields = [
- polaris.catalog.models.struct_field.StructField(
- id = 56,
- name = '',
- type = null,
- required = True,
- doc = '',
- initial_default = null,
- write_default = null, )
- ],
- )
- """
-
- def testStructType(self):
- """Test StructType"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_table_grant.py b/client/python/test/test_table_grant.py
deleted file mode 100644
index 8b52971434..0000000000
--- a/client/python/test/test_table_grant.py
+++ /dev/null
@@ -1,79 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.table_grant import TableGrant
-
-class TestTableGrant(unittest.TestCase):
- """TableGrant unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> TableGrant:
- """Test TableGrant
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `TableGrant`
- """
- model = TableGrant()
- if include_optional:
- return TableGrant(
- namespace = [
- ''
- ],
- table_name = '0',
- privilege = 'CATALOG_MANAGE_ACCESS'
- )
- else:
- return TableGrant(
- namespace = [
- ''
- ],
- table_name = '0',
- privilege = 'CATALOG_MANAGE_ACCESS',
- )
- """
-
- def testTableGrant(self):
- """Test TableGrant"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_table_identifier.py b/client/python/test/test_table_identifier.py
deleted file mode 100644
index 9afca42dd6..0000000000
--- a/client/python/test/test_table_identifier.py
+++ /dev/null
@@ -1,73 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.table_identifier import TableIdentifier
-
-class TestTableIdentifier(unittest.TestCase):
- """TableIdentifier unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> TableIdentifier:
- """Test TableIdentifier
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `TableIdentifier`
- """
- model = TableIdentifier()
- if include_optional:
- return TableIdentifier(
- namespace = ["accounting","tax"],
- name = ''
- )
- else:
- return TableIdentifier(
- namespace = ["accounting","tax"],
- name = '',
- )
- """
-
- def testTableIdentifier(self):
- """Test TableIdentifier"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_table_metadata.py b/client/python/test/test_table_metadata.py
deleted file mode 100644
index ac168c59a2..0000000000
--- a/client/python/test/test_table_metadata.py
+++ /dev/null
@@ -1,165 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.table_metadata import TableMetadata
-
-class TestTableMetadata(unittest.TestCase):
- """TableMetadata unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> TableMetadata:
- """Test TableMetadata
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `TableMetadata`
- """
- model = TableMetadata()
- if include_optional:
- return TableMetadata(
- format_version = 1,
- table_uuid = '',
- location = '',
- last_updated_ms = 56,
- properties = {
- 'key' : ''
- },
- schemas = [
- null
- ],
- current_schema_id = 56,
- last_column_id = 56,
- partition_specs = [
- polaris.catalog.models.partition_spec.PartitionSpec(
- spec_id = 56,
- fields = [
- polaris.catalog.models.partition_field.PartitionField(
- field_id = 56,
- source_id = 56,
- name = '',
- transform = '["identity","year","month","day","hour","bucket[256]","truncate[16]"]', )
- ], )
- ],
- default_spec_id = 56,
- last_partition_id = 56,
- sort_orders = [
- polaris.catalog.models.sort_order.SortOrder(
- order_id = 56,
- fields = [
- polaris.catalog.models.sort_field.SortField(
- source_id = 56,
- transform = '["identity","year","month","day","hour","bucket[256]","truncate[16]"]',
- direction = 'asc',
- null_order = 'nulls-first', )
- ], )
- ],
- default_sort_order_id = 56,
- snapshots = [
- polaris.catalog.models.snapshot.Snapshot(
- snapshot_id = 56,
- parent_snapshot_id = 56,
- sequence_number = 56,
- timestamp_ms = 56,
- manifest_list = '',
- summary = {
- 'key' : ''
- },
- schema_id = 56, )
- ],
- refs = {
- 'key' : polaris.catalog.models.snapshot_reference.SnapshotReference(
- type = 'tag',
- snapshot_id = 56,
- max_ref_age_ms = 56,
- max_snapshot_age_ms = 56,
- min_snapshots_to_keep = 56, )
- },
- current_snapshot_id = 56,
- last_sequence_number = 56,
- snapshot_log = [
- polaris.catalog.models.snapshot_log_inner.SnapshotLog_inner(
- snapshot_id = 56,
- timestamp_ms = 56, )
- ],
- metadata_log = [
- polaris.catalog.models.metadata_log_inner.MetadataLog_inner(
- metadata_file = '',
- timestamp_ms = 56, )
- ],
- statistics = [
- polaris.catalog.models.statistics_file.StatisticsFile(
- snapshot_id = 56,
- statistics_path = '',
- file_size_in_bytes = 56,
- file_footer_size_in_bytes = 56,
- blob_metadata = [
- polaris.catalog.models.blob_metadata.BlobMetadata(
- type = '',
- snapshot_id = 56,
- sequence_number = 56,
- fields = [
- 56
- ],
- properties = {
- 'key' : ''
- }, )
- ], )
- ],
- partition_statistics = [
- polaris.catalog.models.partition_statistics_file.PartitionStatisticsFile(
- snapshot_id = 56,
- statistics_path = '',
- file_size_in_bytes = 56, )
- ]
- )
- else:
- return TableMetadata(
- format_version = 1,
- table_uuid = '',
- )
- """
-
- def testTableMetadata(self):
- """Test TableMetadata"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_table_privilege.py b/client/python/test/test_table_privilege.py
deleted file mode 100644
index 43c3fb9c9f..0000000000
--- a/client/python/test/test_table_privilege.py
+++ /dev/null
@@ -1,52 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.table_privilege import TablePrivilege
-
-class TestTablePrivilege(unittest.TestCase):
- """TablePrivilege unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def testTablePrivilege(self):
- """Test TablePrivilege"""
- # inst = TablePrivilege()
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_table_requirement.py b/client/python/test/test_table_requirement.py
deleted file mode 100644
index e755e5dd54..0000000000
--- a/client/python/test/test_table_requirement.py
+++ /dev/null
@@ -1,71 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.table_requirement import TableRequirement
-
-class TestTableRequirement(unittest.TestCase):
- """TableRequirement unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> TableRequirement:
- """Test TableRequirement
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `TableRequirement`
- """
- model = TableRequirement()
- if include_optional:
- return TableRequirement(
- type = ''
- )
- else:
- return TableRequirement(
- type = '',
- )
- """
-
- def testTableRequirement(self):
- """Test TableRequirement"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_table_update.py b/client/python/test/test_table_update.py
deleted file mode 100644
index 099303a7da..0000000000
--- a/client/python/test/test_table_update.py
+++ /dev/null
@@ -1,207 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.table_update import TableUpdate
-
-class TestTableUpdate(unittest.TestCase):
- """TableUpdate unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> TableUpdate:
- """Test TableUpdate
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `TableUpdate`
- """
- model = TableUpdate()
- if include_optional:
- return TableUpdate(
- action = '',
- format_version = 56,
- var_schema = None,
- last_column_id = 56,
- schema_id = 56,
- spec = polaris.catalog.models.partition_spec.PartitionSpec(
- spec_id = 56,
- fields = [
- polaris.catalog.models.partition_field.PartitionField(
- field_id = 56,
- source_id = 56,
- name = '',
- transform = '["identity","year","month","day","hour","bucket[256]","truncate[16]"]', )
- ], ),
- spec_id = 56,
- sort_order = polaris.catalog.models.sort_order.SortOrder(
- order_id = 56,
- fields = [
- polaris.catalog.models.sort_field.SortField(
- source_id = 56,
- transform = '["identity","year","month","day","hour","bucket[256]","truncate[16]"]',
- direction = 'asc',
- null_order = 'nulls-first', )
- ], ),
- sort_order_id = 56,
- snapshot = polaris.catalog.models.snapshot.Snapshot(
- snapshot_id = 56,
- parent_snapshot_id = 56,
- sequence_number = 56,
- timestamp_ms = 56,
- manifest_list = '',
- summary = {
- 'key' : ''
- },
- schema_id = 56, ),
- ref_name = '',
- type = 'tag',
- snapshot_id = 56,
- max_ref_age_ms = 56,
- max_snapshot_age_ms = 56,
- min_snapshots_to_keep = 56,
- snapshot_ids = [
- 56
- ],
- location = '',
- updates = {
- 'key' : ''
- },
- removals = [
- ''
- ],
- statistics = polaris.catalog.models.statistics_file.StatisticsFile(
- snapshot_id = 56,
- statistics_path = '',
- file_size_in_bytes = 56,
- file_footer_size_in_bytes = 56,
- blob_metadata = [
- polaris.catalog.models.blob_metadata.BlobMetadata(
- type = '',
- snapshot_id = 56,
- sequence_number = 56,
- fields = [
- 56
- ],
- properties = {
- 'key' : ''
- }, )
- ], ),
- spec_ids = [
- 56
- ]
- )
- else:
- return TableUpdate(
- action = '',
- format_version = 56,
- var_schema = None,
- schema_id = 56,
- spec = polaris.catalog.models.partition_spec.PartitionSpec(
- spec_id = 56,
- fields = [
- polaris.catalog.models.partition_field.PartitionField(
- field_id = 56,
- source_id = 56,
- name = '',
- transform = '["identity","year","month","day","hour","bucket[256]","truncate[16]"]', )
- ], ),
- spec_id = 56,
- sort_order = polaris.catalog.models.sort_order.SortOrder(
- order_id = 56,
- fields = [
- polaris.catalog.models.sort_field.SortField(
- source_id = 56,
- transform = '["identity","year","month","day","hour","bucket[256]","truncate[16]"]',
- direction = 'asc',
- null_order = 'nulls-first', )
- ], ),
- sort_order_id = 56,
- snapshot = polaris.catalog.models.snapshot.Snapshot(
- snapshot_id = 56,
- parent_snapshot_id = 56,
- sequence_number = 56,
- timestamp_ms = 56,
- manifest_list = '',
- summary = {
- 'key' : ''
- },
- schema_id = 56, ),
- ref_name = '',
- type = 'tag',
- snapshot_id = 56,
- snapshot_ids = [
- 56
- ],
- location = '',
- updates = {
- 'key' : ''
- },
- removals = [
- ''
- ],
- statistics = polaris.catalog.models.statistics_file.StatisticsFile(
- snapshot_id = 56,
- statistics_path = '',
- file_size_in_bytes = 56,
- file_footer_size_in_bytes = 56,
- blob_metadata = [
- polaris.catalog.models.blob_metadata.BlobMetadata(
- type = '',
- snapshot_id = 56,
- sequence_number = 56,
- fields = [
- 56
- ],
- properties = {
- 'key' : ''
- }, )
- ], ),
- spec_ids = [
- 56
- ],
- )
- """
-
- def testTableUpdate(self):
- """Test TableUpdate"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_table_update_notification.py b/client/python/test/test_table_update_notification.py
deleted file mode 100644
index fd54b6c5ed..0000000000
--- a/client/python/test/test_table_update_notification.py
+++ /dev/null
@@ -1,169 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.table_update_notification import TableUpdateNotification
-
-class TestTableUpdateNotification(unittest.TestCase):
- """TableUpdateNotification unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> TableUpdateNotification:
- """Test TableUpdateNotification
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `TableUpdateNotification`
- """
- model = TableUpdateNotification()
- if include_optional:
- return TableUpdateNotification(
- table_name = '',
- timestamp = 56,
- table_uuid = '',
- metadata_location = '',
- metadata = polaris.catalog.models.table_metadata.TableMetadata(
- format_version = 1,
- table_uuid = '',
- location = '',
- last_updated_ms = 56,
- properties = {
- 'key' : ''
- },
- schemas = [
- null
- ],
- current_schema_id = 56,
- last_column_id = 56,
- partition_specs = [
- polaris.catalog.models.partition_spec.PartitionSpec(
- spec_id = 56,
- fields = [
- polaris.catalog.models.partition_field.PartitionField(
- field_id = 56,
- source_id = 56,
- name = '',
- transform = '["identity","year","month","day","hour","bucket[256]","truncate[16]"]', )
- ], )
- ],
- default_spec_id = 56,
- last_partition_id = 56,
- sort_orders = [
- polaris.catalog.models.sort_order.SortOrder(
- order_id = 56,
- fields = [
- polaris.catalog.models.sort_field.SortField(
- source_id = 56,
- transform = '["identity","year","month","day","hour","bucket[256]","truncate[16]"]',
- direction = 'asc',
- null_order = 'nulls-first', )
- ], )
- ],
- default_sort_order_id = 56,
- snapshots = [
- polaris.catalog.models.snapshot.Snapshot(
- snapshot_id = 56,
- parent_snapshot_id = 56,
- sequence_number = 56,
- timestamp_ms = 56,
- manifest_list = '',
- summary = {
- 'key' : ''
- },
- schema_id = 56, )
- ],
- refs = {
- 'key' : polaris.catalog.models.snapshot_reference.SnapshotReference(
- type = 'tag',
- snapshot_id = 56,
- max_ref_age_ms = 56,
- max_snapshot_age_ms = 56,
- min_snapshots_to_keep = 56, )
- },
- current_snapshot_id = 56,
- last_sequence_number = 56,
- snapshot_log = [
- polaris.catalog.models.snapshot_log_inner.SnapshotLog_inner(
- snapshot_id = 56,
- timestamp_ms = 56, )
- ],
- metadata_log = [
- polaris.catalog.models.metadata_log_inner.MetadataLog_inner(
- metadata_file = '',
- timestamp_ms = 56, )
- ],
- statistics = [
- polaris.catalog.models.statistics_file.StatisticsFile(
- snapshot_id = 56,
- statistics_path = '',
- file_size_in_bytes = 56,
- file_footer_size_in_bytes = 56,
- blob_metadata = [
- polaris.catalog.models.blob_metadata.BlobMetadata(
- type = '',
- snapshot_id = 56,
- sequence_number = 56,
- fields = [
- 56
- ], )
- ], )
- ],
- partition_statistics = [
- polaris.catalog.models.partition_statistics_file.PartitionStatisticsFile(
- snapshot_id = 56,
- statistics_path = '',
- file_size_in_bytes = 56, )
- ], )
- )
- else:
- return TableUpdateNotification(
- table_name = '',
- timestamp = 56,
- table_uuid = '',
- metadata_location = '',
- )
- """
-
- def testTableUpdateNotification(self):
- """Test TableUpdateNotification"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_term.py b/client/python/test/test_term.py
deleted file mode 100644
index 39aaed99e0..0000000000
--- a/client/python/test/test_term.py
+++ /dev/null
@@ -1,75 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.term import Term
-
-class TestTerm(unittest.TestCase):
- """Term unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> Term:
- """Test Term
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `Term`
- """
- model = Term()
- if include_optional:
- return Term(
- type = '',
- transform = '["identity","year","month","day","hour","bucket[256]","truncate[16]"]',
- term = '["column-name"]'
- )
- else:
- return Term(
- type = '',
- transform = '["identity","year","month","day","hour","bucket[256]","truncate[16]"]',
- term = '["column-name"]',
- )
- """
-
- def testTerm(self):
- """Test Term"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_timer_result.py b/client/python/test/test_timer_result.py
deleted file mode 100644
index 194212c841..0000000000
--- a/client/python/test/test_timer_result.py
+++ /dev/null
@@ -1,75 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.timer_result import TimerResult
-
-class TestTimerResult(unittest.TestCase):
- """TimerResult unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> TimerResult:
- """Test TimerResult
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `TimerResult`
- """
- model = TimerResult()
- if include_optional:
- return TimerResult(
- time_unit = '',
- count = 56,
- total_duration = 56
- )
- else:
- return TimerResult(
- time_unit = '',
- count = 56,
- total_duration = 56,
- )
- """
-
- def testTimerResult(self):
- """Test TimerResult"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_token_type.py b/client/python/test/test_token_type.py
deleted file mode 100644
index 4474e35f0e..0000000000
--- a/client/python/test/test_token_type.py
+++ /dev/null
@@ -1,52 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.token_type import TokenType
-
-class TestTokenType(unittest.TestCase):
- """TokenType unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def testTokenType(self):
- """Test TokenType"""
- # inst = TokenType()
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_transform_term.py b/client/python/test/test_transform_term.py
deleted file mode 100644
index c0040b2566..0000000000
--- a/client/python/test/test_transform_term.py
+++ /dev/null
@@ -1,75 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.transform_term import TransformTerm
-
-class TestTransformTerm(unittest.TestCase):
- """TransformTerm unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> TransformTerm:
- """Test TransformTerm
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `TransformTerm`
- """
- model = TransformTerm()
- if include_optional:
- return TransformTerm(
- type = '',
- transform = '["identity","year","month","day","hour","bucket[256]","truncate[16]"]',
- term = '["column-name"]'
- )
- else:
- return TransformTerm(
- type = '',
- transform = '["identity","year","month","day","hour","bucket[256]","truncate[16]"]',
- term = '["column-name"]',
- )
- """
-
- def testTransformTerm(self):
- """Test TransformTerm"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_true_expression.py b/client/python/test/test_true_expression.py
deleted file mode 100644
index faf4ccb620..0000000000
--- a/client/python/test/test_true_expression.py
+++ /dev/null
@@ -1,71 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.true_expression import TrueExpression
-
-class TestTrueExpression(unittest.TestCase):
- """TrueExpression unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> TrueExpression:
- """Test TrueExpression
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `TrueExpression`
- """
- model = TrueExpression()
- if include_optional:
- return TrueExpression(
- type = '["true","false","eq","and","or","not","in","not-in","lt","lt-eq","gt","gt-eq","not-eq","starts-with","not-starts-with","is-null","not-null","is-nan","not-nan"]'
- )
- else:
- return TrueExpression(
- type = '["true","false","eq","and","or","not","in","not-in","lt","lt-eq","gt","gt-eq","not-eq","starts-with","not-starts-with","is-null","not-null","is-nan","not-nan"]',
- )
- """
-
- def testTrueExpression(self):
- """Test TrueExpression"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_type.py b/client/python/test/test_type.py
deleted file mode 100644
index ff87b246a4..0000000000
--- a/client/python/test/test_type.py
+++ /dev/null
@@ -1,107 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.type import Type
-
-class TestType(unittest.TestCase):
- """Type unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> Type:
- """Test Type
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `Type`
- """
- model = Type()
- if include_optional:
- return Type(
- type = '',
- fields = [
- polaris.catalog.models.struct_field.StructField(
- id = 56,
- name = '',
- type = null,
- required = True,
- doc = '',
- initial_default = null,
- write_default = null, )
- ],
- element_id = 56,
- element = None,
- element_required = True,
- key_id = 56,
- key = None,
- value_id = 56,
- value = None,
- value_required = True
- )
- else:
- return Type(
- type = '',
- fields = [
- polaris.catalog.models.struct_field.StructField(
- id = 56,
- name = '',
- type = null,
- required = True,
- doc = '',
- initial_default = null,
- write_default = null, )
- ],
- element_id = 56,
- element = None,
- element_required = True,
- key_id = 56,
- key = None,
- value_id = 56,
- value = None,
- value_required = True,
- )
- """
-
- def testType(self):
- """Test Type"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_unary_expression.py b/client/python/test/test_unary_expression.py
deleted file mode 100644
index 6e563201fc..0000000000
--- a/client/python/test/test_unary_expression.py
+++ /dev/null
@@ -1,75 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.unary_expression import UnaryExpression
-
-class TestUnaryExpression(unittest.TestCase):
- """UnaryExpression unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> UnaryExpression:
- """Test UnaryExpression
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `UnaryExpression`
- """
- model = UnaryExpression()
- if include_optional:
- return UnaryExpression(
- type = '["true","false","eq","and","or","not","in","not-in","lt","lt-eq","gt","gt-eq","not-eq","starts-with","not-starts-with","is-null","not-null","is-nan","not-nan"]',
- term = None,
- value = polaris.catalog.models.value.value()
- )
- else:
- return UnaryExpression(
- type = '["true","false","eq","and","or","not","in","not-in","lt","lt-eq","gt","gt-eq","not-eq","starts-with","not-starts-with","is-null","not-null","is-nan","not-nan"]',
- term = None,
- value = polaris.catalog.models.value.value(),
- )
- """
-
- def testUnaryExpression(self):
- """Test UnaryExpression"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_update_catalog_request.py b/client/python/test/test_update_catalog_request.py
deleted file mode 100644
index b194beb150..0000000000
--- a/client/python/test/test_update_catalog_request.py
+++ /dev/null
@@ -1,76 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.update_catalog_request import UpdateCatalogRequest
-
-class TestUpdateCatalogRequest(unittest.TestCase):
- """UpdateCatalogRequest unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> UpdateCatalogRequest:
- """Test UpdateCatalogRequest
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `UpdateCatalogRequest`
- """
- model = UpdateCatalogRequest()
- if include_optional:
- return UpdateCatalogRequest(
- current_entity_version = 56,
- properties = {
- 'key' : ''
- },
- storage_config_info = polaris.management.models.storage_config_info.StorageConfigInfo(
- storage_type = 'S3',
- allowed_locations = For AWS [s3://bucketname/prefix/], for AZURE [abfss://container@storageaccount.blob.core.windows.net/prefix/], for GCP [gs://bucketname/prefix/], )
- )
- else:
- return UpdateCatalogRequest(
- )
- """
-
- def testUpdateCatalogRequest(self):
- """Test UpdateCatalogRequest"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_update_catalog_role_request.py b/client/python/test/test_update_catalog_role_request.py
deleted file mode 100644
index 1dd987d773..0000000000
--- a/client/python/test/test_update_catalog_role_request.py
+++ /dev/null
@@ -1,77 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.update_catalog_role_request import UpdateCatalogRoleRequest
-
-class TestUpdateCatalogRoleRequest(unittest.TestCase):
- """UpdateCatalogRoleRequest unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> UpdateCatalogRoleRequest:
- """Test UpdateCatalogRoleRequest
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `UpdateCatalogRoleRequest`
- """
- model = UpdateCatalogRoleRequest()
- if include_optional:
- return UpdateCatalogRoleRequest(
- current_entity_version = 56,
- properties = {
- 'key' : ''
- }
- )
- else:
- return UpdateCatalogRoleRequest(
- current_entity_version = 56,
- properties = {
- 'key' : ''
- },
- )
- """
-
- def testUpdateCatalogRoleRequest(self):
- """Test UpdateCatalogRoleRequest"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_update_namespace_properties_request.py b/client/python/test/test_update_namespace_properties_request.py
deleted file mode 100644
index 775de71fd6..0000000000
--- a/client/python/test/test_update_namespace_properties_request.py
+++ /dev/null
@@ -1,71 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.update_namespace_properties_request import UpdateNamespacePropertiesRequest
-
-class TestUpdateNamespacePropertiesRequest(unittest.TestCase):
- """UpdateNamespacePropertiesRequest unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> UpdateNamespacePropertiesRequest:
- """Test UpdateNamespacePropertiesRequest
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `UpdateNamespacePropertiesRequest`
- """
- model = UpdateNamespacePropertiesRequest()
- if include_optional:
- return UpdateNamespacePropertiesRequest(
- removals = ["department","access_group"],
- updates = {"owner":"Hank Bendickson"}
- )
- else:
- return UpdateNamespacePropertiesRequest(
- )
- """
-
- def testUpdateNamespacePropertiesRequest(self):
- """Test UpdateNamespacePropertiesRequest"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_update_namespace_properties_response.py b/client/python/test/test_update_namespace_properties_response.py
deleted file mode 100644
index ccbc45be99..0000000000
--- a/client/python/test/test_update_namespace_properties_response.py
+++ /dev/null
@@ -1,84 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.update_namespace_properties_response import UpdateNamespacePropertiesResponse
-
-class TestUpdateNamespacePropertiesResponse(unittest.TestCase):
- """UpdateNamespacePropertiesResponse unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> UpdateNamespacePropertiesResponse:
- """Test UpdateNamespacePropertiesResponse
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `UpdateNamespacePropertiesResponse`
- """
- model = UpdateNamespacePropertiesResponse()
- if include_optional:
- return UpdateNamespacePropertiesResponse(
- updated = [
- ''
- ],
- removed = [
- ''
- ],
- missing = [
- ''
- ]
- )
- else:
- return UpdateNamespacePropertiesResponse(
- updated = [
- ''
- ],
- removed = [
- ''
- ],
- )
- """
-
- def testUpdateNamespacePropertiesResponse(self):
- """Test UpdateNamespacePropertiesResponse"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_update_policy_request.py b/client/python/test/test_update_policy_request.py
deleted file mode 100644
index d546f729e8..0000000000
--- a/client/python/test/test_update_policy_request.py
+++ /dev/null
@@ -1,72 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.update_policy_request import UpdatePolicyRequest
-
-class TestUpdatePolicyRequest(unittest.TestCase):
- """UpdatePolicyRequest unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> UpdatePolicyRequest:
- """Test UpdatePolicyRequest
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `UpdatePolicyRequest`
- """
- model = UpdatePolicyRequest()
- if include_optional:
- return UpdatePolicyRequest(
- description = '',
- content = '',
- current_policy_version = 56
- )
- else:
- return UpdatePolicyRequest(
- )
- """
-
- def testUpdatePolicyRequest(self):
- """Test UpdatePolicyRequest"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_update_principal_request.py b/client/python/test/test_update_principal_request.py
deleted file mode 100644
index 6ba215b8d6..0000000000
--- a/client/python/test/test_update_principal_request.py
+++ /dev/null
@@ -1,77 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.update_principal_request import UpdatePrincipalRequest
-
-class TestUpdatePrincipalRequest(unittest.TestCase):
- """UpdatePrincipalRequest unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> UpdatePrincipalRequest:
- """Test UpdatePrincipalRequest
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `UpdatePrincipalRequest`
- """
- model = UpdatePrincipalRequest()
- if include_optional:
- return UpdatePrincipalRequest(
- current_entity_version = 56,
- properties = {
- 'key' : ''
- }
- )
- else:
- return UpdatePrincipalRequest(
- current_entity_version = 56,
- properties = {
- 'key' : ''
- },
- )
- """
-
- def testUpdatePrincipalRequest(self):
- """Test UpdatePrincipalRequest"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_update_principal_role_request.py b/client/python/test/test_update_principal_role_request.py
deleted file mode 100644
index ace6b560e4..0000000000
--- a/client/python/test/test_update_principal_role_request.py
+++ /dev/null
@@ -1,77 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.update_principal_role_request import UpdatePrincipalRoleRequest
-
-class TestUpdatePrincipalRoleRequest(unittest.TestCase):
- """UpdatePrincipalRoleRequest unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> UpdatePrincipalRoleRequest:
- """Test UpdatePrincipalRoleRequest
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `UpdatePrincipalRoleRequest`
- """
- model = UpdatePrincipalRoleRequest()
- if include_optional:
- return UpdatePrincipalRoleRequest(
- current_entity_version = 56,
- properties = {
- 'key' : ''
- }
- )
- else:
- return UpdatePrincipalRoleRequest(
- current_entity_version = 56,
- properties = {
- 'key' : ''
- },
- )
- """
-
- def testUpdatePrincipalRoleRequest(self):
- """Test UpdatePrincipalRoleRequest"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_upgrade_format_version_update.py b/client/python/test/test_upgrade_format_version_update.py
deleted file mode 100644
index 4558b13914..0000000000
--- a/client/python/test/test_upgrade_format_version_update.py
+++ /dev/null
@@ -1,72 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.upgrade_format_version_update import UpgradeFormatVersionUpdate
-
-class TestUpgradeFormatVersionUpdate(unittest.TestCase):
- """UpgradeFormatVersionUpdate unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> UpgradeFormatVersionUpdate:
- """Test UpgradeFormatVersionUpdate
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `UpgradeFormatVersionUpdate`
- """
- model = UpgradeFormatVersionUpdate()
- if include_optional:
- return UpgradeFormatVersionUpdate(
- action = '',
- format_version = 56
- )
- else:
- return UpgradeFormatVersionUpdate(
- format_version = 56,
- )
- """
-
- def testUpgradeFormatVersionUpdate(self):
- """Test UpgradeFormatVersionUpdate"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_value_map.py b/client/python/test/test_value_map.py
deleted file mode 100644
index 935eadd15b..0000000000
--- a/client/python/test/test_value_map.py
+++ /dev/null
@@ -1,75 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Iceberg REST Catalog API
-
- Defines the specification for the first version of the REST Catalog API. Implementations should ideally support both Iceberg table specs v1 and v2, with priority given to v2.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.value_map import ValueMap
-
-class TestValueMap(unittest.TestCase):
- """ValueMap unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> ValueMap:
- """Test ValueMap
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `ValueMap`
- """
- model = ValueMap()
- if include_optional:
- return ValueMap(
- keys = [
- 42
- ],
- values = [
- null
- ]
- )
- else:
- return ValueMap(
- )
- """
-
- def testValueMap(self):
- """Test ValueMap"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_view_grant.py b/client/python/test/test_view_grant.py
deleted file mode 100644
index bc21e5318c..0000000000
--- a/client/python/test/test_view_grant.py
+++ /dev/null
@@ -1,79 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.view_grant import ViewGrant
-
-class TestViewGrant(unittest.TestCase):
- """ViewGrant unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> ViewGrant:
- """Test ViewGrant
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `ViewGrant`
- """
- model = ViewGrant()
- if include_optional:
- return ViewGrant(
- namespace = [
- ''
- ],
- view_name = '0',
- privilege = 'CATALOG_MANAGE_ACCESS'
- )
- else:
- return ViewGrant(
- namespace = [
- ''
- ],
- view_name = '0',
- privilege = 'CATALOG_MANAGE_ACCESS',
- )
- """
-
- def testViewGrant(self):
- """Test ViewGrant"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_view_history_entry.py b/client/python/test/test_view_history_entry.py
deleted file mode 100644
index 9b7a7d1f93..0000000000
--- a/client/python/test/test_view_history_entry.py
+++ /dev/null
@@ -1,73 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.view_history_entry import ViewHistoryEntry
-
-class TestViewHistoryEntry(unittest.TestCase):
- """ViewHistoryEntry unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> ViewHistoryEntry:
- """Test ViewHistoryEntry
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `ViewHistoryEntry`
- """
- model = ViewHistoryEntry()
- if include_optional:
- return ViewHistoryEntry(
- version_id = 56,
- timestamp_ms = 56
- )
- else:
- return ViewHistoryEntry(
- version_id = 56,
- timestamp_ms = 56,
- )
- """
-
- def testViewHistoryEntry(self):
- """Test ViewHistoryEntry"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_view_metadata.py b/client/python/test/test_view_metadata.py
deleted file mode 100644
index 0f3f730fed..0000000000
--- a/client/python/test/test_view_metadata.py
+++ /dev/null
@@ -1,124 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.view_metadata import ViewMetadata
-
-class TestViewMetadata(unittest.TestCase):
- """ViewMetadata unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> ViewMetadata:
- """Test ViewMetadata
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `ViewMetadata`
- """
- model = ViewMetadata()
- if include_optional:
- return ViewMetadata(
- view_uuid = '',
- format_version = 1,
- location = '',
- current_version_id = 56,
- versions = [
- polaris.catalog.models.view_version.ViewVersion(
- version_id = 56,
- timestamp_ms = 56,
- schema_id = 56,
- summary = {
- 'key' : ''
- },
- representations = [
- null
- ],
- default_catalog = '',
- default_namespace = ["accounting","tax"], )
- ],
- version_log = [
- polaris.catalog.models.view_history_entry.ViewHistoryEntry(
- version_id = 56,
- timestamp_ms = 56, )
- ],
- schemas = [
- null
- ],
- properties = {
- 'key' : ''
- }
- )
- else:
- return ViewMetadata(
- view_uuid = '',
- format_version = 1,
- location = '',
- current_version_id = 56,
- versions = [
- polaris.catalog.models.view_version.ViewVersion(
- version_id = 56,
- timestamp_ms = 56,
- schema_id = 56,
- summary = {
- 'key' : ''
- },
- representations = [
- null
- ],
- default_catalog = '',
- default_namespace = ["accounting","tax"], )
- ],
- version_log = [
- polaris.catalog.models.view_history_entry.ViewHistoryEntry(
- version_id = 56,
- timestamp_ms = 56, )
- ],
- schemas = [
- null
- ],
- )
- """
-
- def testViewMetadata(self):
- """Test ViewMetadata"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_view_privilege.py b/client/python/test/test_view_privilege.py
deleted file mode 100644
index 76d030cd7a..0000000000
--- a/client/python/test/test_view_privilege.py
+++ /dev/null
@@ -1,52 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Polaris Management Service
-
- Defines the management APIs for using Polaris to create and manage Iceberg catalogs and their principals
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.management.models.view_privilege import ViewPrivilege
-
-class TestViewPrivilege(unittest.TestCase):
- """ViewPrivilege unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def testViewPrivilege(self):
- """Test ViewPrivilege"""
- # inst = ViewPrivilege()
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_view_representation.py b/client/python/test/test_view_representation.py
deleted file mode 100644
index 5e66022e34..0000000000
--- a/client/python/test/test_view_representation.py
+++ /dev/null
@@ -1,75 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.view_representation import ViewRepresentation
-
-class TestViewRepresentation(unittest.TestCase):
- """ViewRepresentation unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> ViewRepresentation:
- """Test ViewRepresentation
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `ViewRepresentation`
- """
- model = ViewRepresentation()
- if include_optional:
- return ViewRepresentation(
- type = '',
- sql = '',
- dialect = ''
- )
- else:
- return ViewRepresentation(
- type = '',
- sql = '',
- dialect = '',
- )
- """
-
- def testViewRepresentation(self):
- """Test ViewRepresentation"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_view_requirement.py b/client/python/test/test_view_requirement.py
deleted file mode 100644
index 4d87458e99..0000000000
--- a/client/python/test/test_view_requirement.py
+++ /dev/null
@@ -1,73 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.view_requirement import ViewRequirement
-
-class TestViewRequirement(unittest.TestCase):
- """ViewRequirement unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> ViewRequirement:
- """Test ViewRequirement
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `ViewRequirement`
- """
- model = ViewRequirement()
- if include_optional:
- return ViewRequirement(
- type = '',
- uuid = ''
- )
- else:
- return ViewRequirement(
- type = '',
- uuid = '',
- )
- """
-
- def testViewRequirement(self):
- """Test ViewRequirement"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_view_update.py b/client/python/test/test_view_update.py
deleted file mode 100644
index 6ab3d9439d..0000000000
--- a/client/python/test/test_view_update.py
+++ /dev/null
@@ -1,116 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.view_update import ViewUpdate
-
-class TestViewUpdate(unittest.TestCase):
- """ViewUpdate unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> ViewUpdate:
- """Test ViewUpdate
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `ViewUpdate`
- """
- model = ViewUpdate()
- if include_optional:
- return ViewUpdate(
- action = '',
- format_version = 56,
- var_schema = None,
- last_column_id = 56,
- location = '',
- updates = {
- 'key' : ''
- },
- removals = [
- ''
- ],
- view_version = polaris.catalog.models.view_version.ViewVersion(
- version_id = 56,
- timestamp_ms = 56,
- schema_id = 56,
- summary = {
- 'key' : ''
- },
- representations = [
- null
- ],
- default_catalog = '',
- default_namespace = ["accounting","tax"], ),
- view_version_id = 56
- )
- else:
- return ViewUpdate(
- action = '',
- format_version = 56,
- var_schema = None,
- location = '',
- updates = {
- 'key' : ''
- },
- removals = [
- ''
- ],
- view_version = polaris.catalog.models.view_version.ViewVersion(
- version_id = 56,
- timestamp_ms = 56,
- schema_id = 56,
- summary = {
- 'key' : ''
- },
- representations = [
- null
- ],
- default_catalog = '',
- default_namespace = ["accounting","tax"], ),
- view_version_id = 56,
- )
- """
-
- def testViewUpdate(self):
- """Test ViewUpdate"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/test/test_view_version.py b/client/python/test/test_view_version.py
deleted file mode 100644
index 4e4f79bba0..0000000000
--- a/client/python/test/test_view_version.py
+++ /dev/null
@@ -1,90 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# coding: utf-8
-
-"""
- Apache Polaris and Apache Iceberg REST Catalog API
-
- Defines the specification for the Polaris Catalog API, which encompasses both the Iceberg REST Catalog API and Polaris-native API.
-
- The version of the OpenAPI document: 0.0.1
- Generated by OpenAPI Generator (https://openapi-generator.tech)
-
- Do not edit the class manually.
-""" # noqa: E501
-
-
-import unittest
-
-from polaris.catalog.models.view_version import ViewVersion
-
-class TestViewVersion(unittest.TestCase):
- """ViewVersion unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional) -> ViewVersion:
- """Test ViewVersion
- include_optional is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `ViewVersion`
- """
- model = ViewVersion()
- if include_optional:
- return ViewVersion(
- version_id = 56,
- timestamp_ms = 56,
- schema_id = 56,
- summary = {
- 'key' : ''
- },
- representations = [
- null
- ],
- default_catalog = '',
- default_namespace = ["accounting","tax"]
- )
- else:
- return ViewVersion(
- version_id = 56,
- timestamp_ms = 56,
- schema_id = 56,
- summary = {
- 'key' : ''
- },
- representations = [
- null
- ],
- default_namespace = ["accounting","tax"],
- )
- """
-
- def testViewVersion(self):
- """Test ViewVersion"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/client/python/tox.ini b/client/python/tox.ini
deleted file mode 100644
index dae9f599b2..0000000000
--- a/client/python/tox.ini
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-[tox]
-envlist = py3
-
-[testenv]
-deps=-r{toxinidir}/requirements.txt
- -r{toxinidir}/test-requirements.txt
-
-commands=
- pytest --cov=polaris.catalog