hotdata 0.4.0__tar.gz → 0.4.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {hotdata-0.4.0 → hotdata-0.4.1}/PKG-INFO +1 -1
- hotdata-0.4.1/hotdata/_retry.py +112 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/api/connections_api.py +12 -12
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/api/databases_api.py +9 -9
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/api/indexes_api.py +36 -36
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/api/query_api.py +3 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/api/results_api.py +9 -9
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/api_client.py +1 -1
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/configuration.py +7 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/create_connection_request.py +2 -9
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/create_database_request.py +3 -10
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/create_dataset_request.py +1 -8
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/database_default_schema_decl.py +1 -1
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/database_default_table_decl.py +1 -1
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/get_result_response.py +2 -3
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/job_type.py +1 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/load_managed_table_request.py +1 -1
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/load_managed_table_response.py +1 -1
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/managed_schema_response.py +1 -1
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/query_response.py +6 -6
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/query_run_info.py +16 -2
- hotdata-0.4.1/hotdata/models/results_format_query.py +41 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata.egg-info/PKG-INFO +1 -1
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata.egg-info/SOURCES.txt +2 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/pyproject.toml +1 -1
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_create_connection_request.py +1 -2
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_create_database_request.py +1 -2
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_create_dataset_request.py +0 -1
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_get_result_response.py +1 -1
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_list_query_runs_response.py +4 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_query_run_info.py +2 -0
- hotdata-0.4.1/tests/test_retry.py +210 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/tests/test_update_changelog.py +4 -0
- hotdata-0.4.0/hotdata/models/results_format_query.py +0 -41
- {hotdata-0.4.0 → hotdata-0.4.1}/README.md +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/__init__.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/_auth.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/api/__init__.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/api/connection_types_api.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/api/database_context_api.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/api/datasets_api.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/api/embedding_providers_api.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/api/information_schema_api.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/api/jobs_api.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/api/query_runs_api.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/api/refresh_api.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/api/saved_queries_api.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/api/secrets_api.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/api/uploads_api.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/api/workspaces_api.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/api_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/arrow.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/exceptions.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/__init__.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/add_managed_schema_request.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/add_managed_table_decl.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/add_managed_table_request.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/api_error_detail.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/api_error_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/async_query_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/attach_database_catalog_request.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/boolean_profile_detail.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/categorical_profile_detail.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/category_value_info.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/column_info.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/column_profile_detail.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/column_profile_detail_one_of.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/column_profile_detail_one_of1.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/column_profile_detail_one_of2.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/column_profile_detail_one_of3.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/column_profile_detail_one_of4.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/column_profile_info.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/column_type_spec.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/connection_health_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/connection_info.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/connection_refresh_result.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/connection_schema_error.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/connection_type_detail.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/connection_type_summary.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/create_connection_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/create_database_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/create_dataset_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/create_embedding_provider_request.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/create_embedding_provider_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/create_index_request.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/create_saved_query_request.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/create_secret_request.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/create_secret_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/create_workspace_request.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/create_workspace_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/database_attachment_info.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/database_context_entry.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/database_detail_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/database_summary.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/dataset_source.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/dataset_source_one_of.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/dataset_source_one_of1.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/dataset_source_one_of2.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/dataset_source_one_of3.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/dataset_source_one_of4.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/dataset_summary.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/dataset_version_summary.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/discovery_status.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/embedding_provider_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/error.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/execute_saved_query_request.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/get_connection_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/get_database_context_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/get_dataset_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/get_secret_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/index_entry_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/index_info_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/index_status.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/information_schema_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/inline_data.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/inline_dataset_source.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/job_result.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/job_status.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/job_status_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/list_connection_types_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/list_connections_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/list_database_contexts_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/list_databases_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/list_dataset_versions_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/list_datasets_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/list_embedding_providers_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/list_indexes_page_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/list_indexes_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/list_jobs_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/list_query_runs_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/list_results_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/list_saved_queries_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/list_saved_query_versions_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/list_secrets_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/list_uploads_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/list_workspaces_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/managed_table_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/numeric_profile_detail.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/query_request.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/refresh_dataset_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/refresh_request.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/refresh_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/refresh_warning.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/result_info.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/saved_query_dataset_source.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/saved_query_detail.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/saved_query_summary.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/saved_query_version_info.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/schema_refresh_result.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/secret_metadata_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/sql_query_dataset_source.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/submit_job_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/table_info.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/table_profile_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/table_refresh_error.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/table_refresh_result.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/temporal_profile_detail.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/text_profile_detail.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/update_dataset_request.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/update_dataset_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/update_embedding_provider_request.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/update_embedding_provider_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/update_saved_query_request.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/update_secret_request.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/update_secret_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/upload_dataset_source.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/upload_info.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/upload_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/upsert_database_context_request.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/upsert_database_context_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/url_dataset_source.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/workspace_detail.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/models/workspace_list_item.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/py.typed +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/query.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata/rest.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata.egg-info/dependency_links.txt +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata.egg-info/requires.txt +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/hotdata.egg-info/top_level.txt +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/setup.cfg +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_add_managed_schema_request.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_add_managed_table_decl.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_add_managed_table_request.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_api_client_close.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_api_error_detail.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_api_error_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_async_query_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_attach_database_catalog_request.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_boolean_profile_detail.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_categorical_profile_detail.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_category_value_info.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_column_info.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_column_profile_detail.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_column_profile_detail_one_of.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_column_profile_detail_one_of1.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_column_profile_detail_one_of2.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_column_profile_detail_one_of3.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_column_profile_detail_one_of4.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_column_profile_info.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_column_type_spec.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_connection_health_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_connection_info.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_connection_refresh_result.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_connection_schema_error.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_connection_type_detail.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_connection_type_summary.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_connection_types_api.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_connections_api.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_create_connection_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_create_database_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_create_dataset_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_create_embedding_provider_request.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_create_embedding_provider_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_create_index_request.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_create_saved_query_request.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_create_secret_request.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_create_secret_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_create_workspace_request.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_create_workspace_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_database_attachment_info.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_database_context_api.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_database_context_entry.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_database_default_schema_decl.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_database_default_table_decl.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_database_detail_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_database_summary.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_databases_api.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_dataset_source.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_dataset_source_one_of.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_dataset_source_one_of1.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_dataset_source_one_of2.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_dataset_source_one_of3.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_dataset_source_one_of4.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_dataset_summary.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_dataset_version_summary.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_datasets_api.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_discovery_status.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_embedding_provider_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_embedding_providers_api.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_error.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_execute_saved_query_request.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_get_connection_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_get_database_context_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_get_dataset_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_get_secret_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_index_entry_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_index_info_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_index_status.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_indexes_api.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_information_schema_api.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_information_schema_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_inline_data.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_inline_dataset_source.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_job_result.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_job_status.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_job_status_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_job_type.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_jobs_api.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_list_connection_types_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_list_connections_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_list_database_contexts_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_list_databases_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_list_dataset_versions_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_list_datasets_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_list_embedding_providers_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_list_indexes_page_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_list_indexes_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_list_jobs_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_list_results_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_list_saved_queries_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_list_saved_query_versions_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_list_secrets_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_list_uploads_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_list_workspaces_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_load_managed_table_request.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_load_managed_table_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_managed_schema_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_managed_table_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_numeric_profile_detail.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_query_api.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_query_request.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_query_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_query_runs_api.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_refresh_api.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_refresh_dataset_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_refresh_request.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_refresh_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_refresh_warning.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_result_info.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_results_api.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_results_format_query.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_saved_queries_api.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_saved_query_dataset_source.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_saved_query_detail.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_saved_query_summary.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_saved_query_version_info.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_schema_refresh_result.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_secret_metadata_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_secrets_api.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_sql_query_dataset_source.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_submit_job_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_table_info.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_table_profile_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_table_refresh_error.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_table_refresh_result.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_temporal_profile_detail.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_text_profile_detail.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_update_dataset_request.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_update_dataset_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_update_embedding_provider_request.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_update_embedding_provider_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_update_saved_query_request.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_update_secret_request.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_update_secret_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_upload_dataset_source.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_upload_info.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_upload_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_uploads_api.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_upsert_database_context_request.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_upsert_database_context_response.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_url_dataset_source.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_workspace_detail.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_workspace_list_item.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/test/test_workspaces_api.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/tests/test_arrow.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/tests/test_auth.py +0 -0
- {hotdata-0.4.0 → hotdata-0.4.1}/tests/test_query.py +0 -0
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
"""Transparent retry of pre-response connection resets (#118).
|
|
2
|
+
|
|
3
|
+
A pooled keep-alive connection can be reused after an intermediary (load
|
|
4
|
+
balancer / reverse proxy) has already dropped it for exceeding its idle
|
|
5
|
+
timeout. The client is not notified, so the next request that reuses that
|
|
6
|
+
socket fails immediately with::
|
|
7
|
+
|
|
8
|
+
urllib3.exceptions.ProtocolError:
|
|
9
|
+
('Connection aborted.', ConnectionResetError(54, 'Connection reset by peer'))
|
|
10
|
+
|
|
11
|
+
urllib3 classifies *every* :class:`~urllib3.exceptions.ProtocolError` as a
|
|
12
|
+
*read* error (see ``Retry._is_read_error``) — it conservatively assumes the
|
|
13
|
+
server may have begun processing the request. Read retries are gated by
|
|
14
|
+
``allowed_methods``, which does not include ``POST``, so a ``POST`` that hits a
|
|
15
|
+
dead pooled connection is re-raised to the caller instead of being retried.
|
|
16
|
+
|
|
17
|
+
But a reset that happens *before any response bytes arrive* means the request
|
|
18
|
+
never reached the server — the connection was already gone when urllib3 tried
|
|
19
|
+
to send. That is safe to retry on **any** method, ``POST`` included, because the
|
|
20
|
+
server did no work and a retry cannot double-execute.
|
|
21
|
+
|
|
22
|
+
:class:`ConnectionResetRetry` reclassifies exactly that case — a
|
|
23
|
+
``ProtocolError`` whose underlying cause is a connection-level ``OSError`` — as
|
|
24
|
+
a *connection* error. urllib3's ``Retry.increment`` handles connection errors
|
|
25
|
+
before read errors and without the ``allowed_methods`` gate, so the reset is
|
|
26
|
+
retried on a fresh connection regardless of method. Read **timeouts**
|
|
27
|
+
(:class:`~urllib3.exceptions.ReadTimeoutError`) and status retries are left
|
|
28
|
+
untouched and stay idempotent-only, so a ``POST`` that may have reached the
|
|
29
|
+
server is never blindly replayed.
|
|
30
|
+
"""
|
|
31
|
+
|
|
32
|
+
from __future__ import annotations
|
|
33
|
+
|
|
34
|
+
from urllib3.exceptions import ProtocolError, ProxyError
|
|
35
|
+
from urllib3.util.retry import Retry
|
|
36
|
+
|
|
37
|
+
# Bounded attempts for the transparent connection-reset retry. Stale-pool resets
|
|
38
|
+
# clear on the first fresh connection, so a small ceiling is plenty; it also
|
|
39
|
+
# bounds the blast radius if a host is genuinely refusing connections.
|
|
40
|
+
DEFAULT_TOTAL_RETRIES = 3
|
|
41
|
+
|
|
42
|
+
# A small exponential backoff between attempts. The first retry on a fresh
|
|
43
|
+
# connection almost always succeeds, so the delay stays sub-second; it exists
|
|
44
|
+
# only to avoid hammering a host that is briefly flapping.
|
|
45
|
+
DEFAULT_BACKOFF_FACTOR = 0.1
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
def _is_pre_response_connection_reset(error: BaseException) -> bool:
|
|
49
|
+
"""True for a connection reset/abort that occurred before any response.
|
|
50
|
+
|
|
51
|
+
urllib3 wraps a low-level socket failure raised while sending the request as
|
|
52
|
+
``ProtocolError("Connection aborted.", <cause>)``, where ``<cause>`` is the
|
|
53
|
+
originating :class:`OSError` (``ConnectionResetError``,
|
|
54
|
+
``ConnectionAbortedError``, ``BrokenPipeError``, …). Those builtin
|
|
55
|
+
connection errors all subclass :class:`ConnectionError`, so the cause's type
|
|
56
|
+
is a precise, message-independent signal that the failure was at the socket
|
|
57
|
+
layer before a response existed — distinct from a read **timeout**, which
|
|
58
|
+
urllib3 raises as a ``ReadTimeoutError`` (not a ``ProtocolError``) and which
|
|
59
|
+
we deliberately leave method-gated.
|
|
60
|
+
"""
|
|
61
|
+
if isinstance(error, ProxyError):
|
|
62
|
+
error = error.original_error
|
|
63
|
+
if not isinstance(error, ProtocolError):
|
|
64
|
+
return False
|
|
65
|
+
cause = error.args[1] if len(error.args) > 1 else None
|
|
66
|
+
return isinstance(cause, ConnectionError)
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
class ConnectionResetRetry(Retry):
|
|
70
|
+
"""A :class:`urllib3.util.retry.Retry` that retries pre-response connection
|
|
71
|
+
resets on any HTTP method, while leaving read/status retries idempotent-only.
|
|
72
|
+
|
|
73
|
+
Behaves exactly like ``Retry`` except a connection reset/abort that happened
|
|
74
|
+
before any response bytes were received (see
|
|
75
|
+
:func:`_is_pre_response_connection_reset`) is treated as a *connection*
|
|
76
|
+
error rather than a *read* error. urllib3's ``increment`` retries connection
|
|
77
|
+
errors without consulting ``allowed_methods``, so the reset is retried on a
|
|
78
|
+
fresh connection for ``POST`` too — safe because the server did no work.
|
|
79
|
+
"""
|
|
80
|
+
|
|
81
|
+
def _is_connection_error(self, err: Exception) -> bool:
|
|
82
|
+
if super()._is_connection_error(err):
|
|
83
|
+
return True
|
|
84
|
+
return _is_pre_response_connection_reset(err)
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
def default_retry() -> ConnectionResetRetry:
|
|
88
|
+
"""The SDK's default retry policy.
|
|
89
|
+
|
|
90
|
+
Matches urllib3's defaults (idempotent-only read/status retries, a bounded
|
|
91
|
+
total, no retry on response status codes) and adds transparent retry of
|
|
92
|
+
pre-response connection resets on every method. ``Configuration`` installs
|
|
93
|
+
this when the caller does not supply their own ``retries``.
|
|
94
|
+
"""
|
|
95
|
+
return ConnectionResetRetry(
|
|
96
|
+
total=DEFAULT_TOTAL_RETRIES,
|
|
97
|
+
backoff_factor=DEFAULT_BACKOFF_FACTOR,
|
|
98
|
+
# Don't retry on response status codes by default: a status code means
|
|
99
|
+
# the request reached the server, and 429 admission-shedding already has
|
|
100
|
+
# dedicated handling in hotdata.query. Connection-reset retry is purely a
|
|
101
|
+
# transport-layer concern.
|
|
102
|
+
status=0,
|
|
103
|
+
raise_on_status=False,
|
|
104
|
+
)
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
__all__ = [
|
|
108
|
+
"ConnectionResetRetry",
|
|
109
|
+
"DEFAULT_BACKOFF_FACTOR",
|
|
110
|
+
"DEFAULT_TOTAL_RETRIES",
|
|
111
|
+
"default_retry",
|
|
112
|
+
]
|
|
@@ -69,7 +69,7 @@ class ConnectionsApi:
|
|
|
69
69
|
) -> ManagedSchemaResponse:
|
|
70
70
|
"""Add managed schema
|
|
71
71
|
|
|
72
|
-
Declare a new schema (and optionally its tables) on an existing managed catalog after creation. The schema is added to the connection's declaration; declared tables can then be populated via the managed-table load endpoint. Only valid against connections whose source type is `managed`. Identifiers are
|
|
72
|
+
Declare a new schema (and optionally its tables) on an existing managed catalog after creation. The schema is added to the connection's declaration; declared tables can then be populated via the managed-table load endpoint. Only valid against connections whose source type is `managed`. Identifiers are normalized to lowercase.
|
|
73
73
|
|
|
74
74
|
:param connection_id: Connection ID (required)
|
|
75
75
|
:type connection_id: str
|
|
@@ -143,7 +143,7 @@ class ConnectionsApi:
|
|
|
143
143
|
) -> ApiResponse[ManagedSchemaResponse]:
|
|
144
144
|
"""Add managed schema
|
|
145
145
|
|
|
146
|
-
Declare a new schema (and optionally its tables) on an existing managed catalog after creation. The schema is added to the connection's declaration; declared tables can then be populated via the managed-table load endpoint. Only valid against connections whose source type is `managed`. Identifiers are
|
|
146
|
+
Declare a new schema (and optionally its tables) on an existing managed catalog after creation. The schema is added to the connection's declaration; declared tables can then be populated via the managed-table load endpoint. Only valid against connections whose source type is `managed`. Identifiers are normalized to lowercase.
|
|
147
147
|
|
|
148
148
|
:param connection_id: Connection ID (required)
|
|
149
149
|
:type connection_id: str
|
|
@@ -217,7 +217,7 @@ class ConnectionsApi:
|
|
|
217
217
|
) -> RESTResponseType:
|
|
218
218
|
"""Add managed schema
|
|
219
219
|
|
|
220
|
-
Declare a new schema (and optionally its tables) on an existing managed catalog after creation. The schema is added to the connection's declaration; declared tables can then be populated via the managed-table load endpoint. Only valid against connections whose source type is `managed`. Identifiers are
|
|
220
|
+
Declare a new schema (and optionally its tables) on an existing managed catalog after creation. The schema is added to the connection's declaration; declared tables can then be populated via the managed-table load endpoint. Only valid against connections whose source type is `managed`. Identifiers are normalized to lowercase.
|
|
221
221
|
|
|
222
222
|
:param connection_id: Connection ID (required)
|
|
223
223
|
:type connection_id: str
|
|
@@ -369,7 +369,7 @@ class ConnectionsApi:
|
|
|
369
369
|
) -> ManagedTableResponse:
|
|
370
370
|
"""Add managed table
|
|
371
371
|
|
|
372
|
-
Declare a new table on an existing schema of a managed catalog after creation. The table is added empty (declared-but-unloaded) and can be populated via the managed-table load endpoint. Only valid against connections whose source type is `managed`. Identifiers are
|
|
372
|
+
Declare a new table on an existing schema of a managed catalog after creation. The table is added empty (declared-but-unloaded) and can be populated via the managed-table load endpoint. Only valid against connections whose source type is `managed`. Identifiers are normalized to lowercase.
|
|
373
373
|
|
|
374
374
|
:param connection_id: Connection ID (required)
|
|
375
375
|
:type connection_id: str
|
|
@@ -447,7 +447,7 @@ class ConnectionsApi:
|
|
|
447
447
|
) -> ApiResponse[ManagedTableResponse]:
|
|
448
448
|
"""Add managed table
|
|
449
449
|
|
|
450
|
-
Declare a new table on an existing schema of a managed catalog after creation. The table is added empty (declared-but-unloaded) and can be populated via the managed-table load endpoint. Only valid against connections whose source type is `managed`. Identifiers are
|
|
450
|
+
Declare a new table on an existing schema of a managed catalog after creation. The table is added empty (declared-but-unloaded) and can be populated via the managed-table load endpoint. Only valid against connections whose source type is `managed`. Identifiers are normalized to lowercase.
|
|
451
451
|
|
|
452
452
|
:param connection_id: Connection ID (required)
|
|
453
453
|
:type connection_id: str
|
|
@@ -525,7 +525,7 @@ class ConnectionsApi:
|
|
|
525
525
|
) -> RESTResponseType:
|
|
526
526
|
"""Add managed table
|
|
527
527
|
|
|
528
|
-
Declare a new table on an existing schema of a managed catalog after creation. The table is added empty (declared-but-unloaded) and can be populated via the managed-table load endpoint. Only valid against connections whose source type is `managed`. Identifiers are
|
|
528
|
+
Declare a new table on an existing schema of a managed catalog after creation. The table is added empty (declared-but-unloaded) and can be populated via the managed-table load endpoint. Only valid against connections whose source type is `managed`. Identifiers are normalized to lowercase.
|
|
529
529
|
|
|
530
530
|
:param connection_id: Connection ID (required)
|
|
531
531
|
:type connection_id: str
|
|
@@ -1497,7 +1497,7 @@ class ConnectionsApi:
|
|
|
1497
1497
|
) -> None:
|
|
1498
1498
|
"""Delete managed table
|
|
1499
1499
|
|
|
1500
|
-
Delete a single managed-catalog table. The
|
|
1500
|
+
Delete a single managed-catalog table. The table and its data are removed. Only valid against connections whose source type is `managed`.
|
|
1501
1501
|
|
|
1502
1502
|
:param connection_id: Connection ID (required)
|
|
1503
1503
|
:type connection_id: str
|
|
@@ -1574,7 +1574,7 @@ class ConnectionsApi:
|
|
|
1574
1574
|
) -> ApiResponse[None]:
|
|
1575
1575
|
"""Delete managed table
|
|
1576
1576
|
|
|
1577
|
-
Delete a single managed-catalog table. The
|
|
1577
|
+
Delete a single managed-catalog table. The table and its data are removed. Only valid against connections whose source type is `managed`.
|
|
1578
1578
|
|
|
1579
1579
|
:param connection_id: Connection ID (required)
|
|
1580
1580
|
:type connection_id: str
|
|
@@ -1651,7 +1651,7 @@ class ConnectionsApi:
|
|
|
1651
1651
|
) -> RESTResponseType:
|
|
1652
1652
|
"""Delete managed table
|
|
1653
1653
|
|
|
1654
|
-
Delete a single managed-catalog table. The
|
|
1654
|
+
Delete a single managed-catalog table. The table and its data are removed. Only valid against connections whose source type is `managed`.
|
|
1655
1655
|
|
|
1656
1656
|
:param connection_id: Connection ID (required)
|
|
1657
1657
|
:type connection_id: str
|
|
@@ -2603,7 +2603,7 @@ class ConnectionsApi:
|
|
|
2603
2603
|
) -> LoadManagedTableResponse:
|
|
2604
2604
|
"""Load managed table from upload
|
|
2605
2605
|
|
|
2606
|
-
Publish a previously-uploaded parquet file as the new
|
|
2606
|
+
Publish a previously-uploaded parquet file as the new contents of a managed table. The upload must reference a parquet file. Only `mode = \"replace\"` is supported. Concurrent loads against the same upload return 409.
|
|
2607
2607
|
|
|
2608
2608
|
:param connection_id: Connection ID (required)
|
|
2609
2609
|
:type connection_id: str
|
|
@@ -2685,7 +2685,7 @@ class ConnectionsApi:
|
|
|
2685
2685
|
) -> ApiResponse[LoadManagedTableResponse]:
|
|
2686
2686
|
"""Load managed table from upload
|
|
2687
2687
|
|
|
2688
|
-
Publish a previously-uploaded parquet file as the new
|
|
2688
|
+
Publish a previously-uploaded parquet file as the new contents of a managed table. The upload must reference a parquet file. Only `mode = \"replace\"` is supported. Concurrent loads against the same upload return 409.
|
|
2689
2689
|
|
|
2690
2690
|
:param connection_id: Connection ID (required)
|
|
2691
2691
|
:type connection_id: str
|
|
@@ -2767,7 +2767,7 @@ class ConnectionsApi:
|
|
|
2767
2767
|
) -> RESTResponseType:
|
|
2768
2768
|
"""Load managed table from upload
|
|
2769
2769
|
|
|
2770
|
-
Publish a previously-uploaded parquet file as the new
|
|
2770
|
+
Publish a previously-uploaded parquet file as the new contents of a managed table. The upload must reference a parquet file. Only `mode = \"replace\"` is supported. Concurrent loads against the same upload return 409.
|
|
2771
2771
|
|
|
2772
2772
|
:param connection_id: Connection ID (required)
|
|
2773
2773
|
:type connection_id: str
|
|
@@ -66,7 +66,7 @@ class DatabasesApi:
|
|
|
66
66
|
) -> ManagedSchemaResponse:
|
|
67
67
|
"""Add schema to database default catalog
|
|
68
68
|
|
|
69
|
-
Declare a new schema (and optionally its tables) on the database's auto-created default catalog after creation. The schema becomes reachable inside the database scope (e.g. `default.<schema>.<table>` and `information_schema.schemata`) without the caller addressing the internal default connection directly. Identifiers are
|
|
69
|
+
Declare a new schema (and optionally its tables) on the database's auto-created default catalog after creation. The schema becomes reachable inside the database scope (e.g. `default.<schema>.<table>` and `information_schema.schemata`) without the caller addressing the internal default connection directly. Identifiers are normalized to lowercase.
|
|
70
70
|
|
|
71
71
|
:param database_id: Database ID (required)
|
|
72
72
|
:type database_id: str
|
|
@@ -140,7 +140,7 @@ class DatabasesApi:
|
|
|
140
140
|
) -> ApiResponse[ManagedSchemaResponse]:
|
|
141
141
|
"""Add schema to database default catalog
|
|
142
142
|
|
|
143
|
-
Declare a new schema (and optionally its tables) on the database's auto-created default catalog after creation. The schema becomes reachable inside the database scope (e.g. `default.<schema>.<table>` and `information_schema.schemata`) without the caller addressing the internal default connection directly. Identifiers are
|
|
143
|
+
Declare a new schema (and optionally its tables) on the database's auto-created default catalog after creation. The schema becomes reachable inside the database scope (e.g. `default.<schema>.<table>` and `information_schema.schemata`) without the caller addressing the internal default connection directly. Identifiers are normalized to lowercase.
|
|
144
144
|
|
|
145
145
|
:param database_id: Database ID (required)
|
|
146
146
|
:type database_id: str
|
|
@@ -214,7 +214,7 @@ class DatabasesApi:
|
|
|
214
214
|
) -> RESTResponseType:
|
|
215
215
|
"""Add schema to database default catalog
|
|
216
216
|
|
|
217
|
-
Declare a new schema (and optionally its tables) on the database's auto-created default catalog after creation. The schema becomes reachable inside the database scope (e.g. `default.<schema>.<table>` and `information_schema.schemata`) without the caller addressing the internal default connection directly. Identifiers are
|
|
217
|
+
Declare a new schema (and optionally its tables) on the database's auto-created default catalog after creation. The schema becomes reachable inside the database scope (e.g. `default.<schema>.<table>` and `information_schema.schemata`) without the caller addressing the internal default connection directly. Identifiers are normalized to lowercase.
|
|
218
218
|
|
|
219
219
|
:param database_id: Database ID (required)
|
|
220
220
|
:type database_id: str
|
|
@@ -366,7 +366,7 @@ class DatabasesApi:
|
|
|
366
366
|
) -> ManagedTableResponse:
|
|
367
367
|
"""Add table to database default catalog
|
|
368
368
|
|
|
369
|
-
Declare a new table on an existing schema of the database's default catalog after creation. The table is added empty (declared-but-unloaded) and can be populated via the managed-table load endpoint targeting the default connection. Identifiers are
|
|
369
|
+
Declare a new table on an existing schema of the database's default catalog after creation. The table is added empty (declared-but-unloaded) and can be populated via the managed-table load endpoint targeting the default connection. Identifiers are normalized to lowercase.
|
|
370
370
|
|
|
371
371
|
:param database_id: Database ID (required)
|
|
372
372
|
:type database_id: str
|
|
@@ -444,7 +444,7 @@ class DatabasesApi:
|
|
|
444
444
|
) -> ApiResponse[ManagedTableResponse]:
|
|
445
445
|
"""Add table to database default catalog
|
|
446
446
|
|
|
447
|
-
Declare a new table on an existing schema of the database's default catalog after creation. The table is added empty (declared-but-unloaded) and can be populated via the managed-table load endpoint targeting the default connection. Identifiers are
|
|
447
|
+
Declare a new table on an existing schema of the database's default catalog after creation. The table is added empty (declared-but-unloaded) and can be populated via the managed-table load endpoint targeting the default connection. Identifiers are normalized to lowercase.
|
|
448
448
|
|
|
449
449
|
:param database_id: Database ID (required)
|
|
450
450
|
:type database_id: str
|
|
@@ -522,7 +522,7 @@ class DatabasesApi:
|
|
|
522
522
|
) -> RESTResponseType:
|
|
523
523
|
"""Add table to database default catalog
|
|
524
524
|
|
|
525
|
-
Declare a new table on an existing schema of the database's default catalog after creation. The table is added empty (declared-but-unloaded) and can be populated via the managed-table load endpoint targeting the default connection. Identifiers are
|
|
525
|
+
Declare a new table on an existing schema of the database's default catalog after creation. The table is added empty (declared-but-unloaded) and can be populated via the managed-table load endpoint targeting the default connection. Identifiers are normalized to lowercase.
|
|
526
526
|
|
|
527
527
|
:param database_id: Database ID (required)
|
|
528
528
|
:type database_id: str
|
|
@@ -977,7 +977,7 @@ class DatabasesApi:
|
|
|
977
977
|
) -> CreateDatabaseResponse:
|
|
978
978
|
"""Create database
|
|
979
979
|
|
|
980
|
-
Create a new database (a metadata-only grouping). A managed default catalog is auto-created and addressable inside the database as `default` (or the optional `default_catalog` name), with a `main` schema pre-declared so `default.main.<table>` works out of the box. The optional `name` is a free-form display label and is not required to be unique. Optional `default_catalog` overrides the name the default catalog answers to; it must be a valid SQL identifier and may not collide with the `hotdata`, `datasets`, or `information_schema` system catalogs. Optional `schemas` declares additional schemas/tables on the default catalog at create time; declared tables can be loaded via the standard managed-tables-load endpoint targeting `default_connection_id`. Optional `expires_at` sets when the database expires — accepts either an RFC 3339 timestamp or a relative duration suffixed with `h` (hours), `m` (minutes), or `d` (days), e.g. `24h`, `48h`, `90m`, `7d`. When omitted, the database never expires. Expiry is best-effort: the database will not be deleted before `expires_at`, but cleanup may run later than the exact timestamp.
|
|
980
|
+
Create a new database (a metadata-only grouping). A managed default catalog is auto-created and addressable inside the database as `default` (or the optional `default_catalog` name), with a `main` schema pre-declared so `default.main.<table>` works out of the box. The optional `name` is a free-form display label and is not required to be unique. Optional `default_catalog` overrides the name the default catalog answers to; it must be a valid SQL identifier and may not collide with the `hotdata`, `datasets`, or `information_schema` system catalogs. Optional `schemas` declares additional schemas/tables on the default catalog at create time; declared tables can be loaded via the standard managed-tables-load endpoint targeting `default_connection_id`. Optional `expires_at` sets when the database expires — accepts either an RFC 3339 timestamp or a relative duration suffixed with `h` (hours), `m` (minutes), or `d` (days), e.g. `24h`, `48h`, `90m`, `7d`. When omitted, the database never expires. Expiry is best-effort: the database will not be deleted before `expires_at`, but cleanup may run later than the exact timestamp.
|
|
981
981
|
|
|
982
982
|
:param create_database_request: (required)
|
|
983
983
|
:type create_database_request: CreateDatabaseRequest
|
|
@@ -1046,7 +1046,7 @@ class DatabasesApi:
|
|
|
1046
1046
|
) -> ApiResponse[CreateDatabaseResponse]:
|
|
1047
1047
|
"""Create database
|
|
1048
1048
|
|
|
1049
|
-
Create a new database (a metadata-only grouping). A managed default catalog is auto-created and addressable inside the database as `default` (or the optional `default_catalog` name), with a `main` schema pre-declared so `default.main.<table>` works out of the box. The optional `name` is a free-form display label and is not required to be unique. Optional `default_catalog` overrides the name the default catalog answers to; it must be a valid SQL identifier and may not collide with the `hotdata`, `datasets`, or `information_schema` system catalogs. Optional `schemas` declares additional schemas/tables on the default catalog at create time; declared tables can be loaded via the standard managed-tables-load endpoint targeting `default_connection_id`. Optional `expires_at` sets when the database expires — accepts either an RFC 3339 timestamp or a relative duration suffixed with `h` (hours), `m` (minutes), or `d` (days), e.g. `24h`, `48h`, `90m`, `7d`. When omitted, the database never expires. Expiry is best-effort: the database will not be deleted before `expires_at`, but cleanup may run later than the exact timestamp.
|
|
1049
|
+
Create a new database (a metadata-only grouping). A managed default catalog is auto-created and addressable inside the database as `default` (or the optional `default_catalog` name), with a `main` schema pre-declared so `default.main.<table>` works out of the box. The optional `name` is a free-form display label and is not required to be unique. Optional `default_catalog` overrides the name the default catalog answers to; it must be a valid SQL identifier and may not collide with the `hotdata`, `datasets`, or `information_schema` system catalogs. Optional `schemas` declares additional schemas/tables on the default catalog at create time; declared tables can be loaded via the standard managed-tables-load endpoint targeting `default_connection_id`. Optional `expires_at` sets when the database expires — accepts either an RFC 3339 timestamp or a relative duration suffixed with `h` (hours), `m` (minutes), or `d` (days), e.g. `24h`, `48h`, `90m`, `7d`. When omitted, the database never expires. Expiry is best-effort: the database will not be deleted before `expires_at`, but cleanup may run later than the exact timestamp.
|
|
1050
1050
|
|
|
1051
1051
|
:param create_database_request: (required)
|
|
1052
1052
|
:type create_database_request: CreateDatabaseRequest
|
|
@@ -1115,7 +1115,7 @@ class DatabasesApi:
|
|
|
1115
1115
|
) -> RESTResponseType:
|
|
1116
1116
|
"""Create database
|
|
1117
1117
|
|
|
1118
|
-
Create a new database (a metadata-only grouping). A managed default catalog is auto-created and addressable inside the database as `default` (or the optional `default_catalog` name), with a `main` schema pre-declared so `default.main.<table>` works out of the box. The optional `name` is a free-form display label and is not required to be unique. Optional `default_catalog` overrides the name the default catalog answers to; it must be a valid SQL identifier and may not collide with the `hotdata`, `datasets`, or `information_schema` system catalogs. Optional `schemas` declares additional schemas/tables on the default catalog at create time; declared tables can be loaded via the standard managed-tables-load endpoint targeting `default_connection_id`. Optional `expires_at` sets when the database expires — accepts either an RFC 3339 timestamp or a relative duration suffixed with `h` (hours), `m` (minutes), or `d` (days), e.g. `24h`, `48h`, `90m`, `7d`. When omitted, the database never expires. Expiry is best-effort: the database will not be deleted before `expires_at`, but cleanup may run later than the exact timestamp.
|
|
1118
|
+
Create a new database (a metadata-only grouping). A managed default catalog is auto-created and addressable inside the database as `default` (or the optional `default_catalog` name), with a `main` schema pre-declared so `default.main.<table>` works out of the box. The optional `name` is a free-form display label and is not required to be unique. Optional `default_catalog` overrides the name the default catalog answers to; it must be a valid SQL identifier and may not collide with the `hotdata`, `datasets`, or `information_schema` system catalogs. Optional `schemas` declares additional schemas/tables on the default catalog at create time; declared tables can be loaded via the standard managed-tables-load endpoint targeting `default_connection_id`. Optional `expires_at` sets when the database expires — accepts either an RFC 3339 timestamp or a relative duration suffixed with `h` (hours), `m` (minutes), or `d` (days), e.g. `24h`, `48h`, `90m`, `7d`. When omitted, the database never expires. Expiry is best-effort: the database will not be deleted before `expires_at`, but cleanup may run later than the exact timestamp.
|
|
1119
1119
|
|
|
1120
1120
|
:param create_database_request: (required)
|
|
1121
1121
|
:type create_database_request: CreateDatabaseRequest
|
|
@@ -45,7 +45,7 @@ class IndexesApi:
|
|
|
45
45
|
@validate_call
|
|
46
46
|
def create_dataset_index(
|
|
47
47
|
self,
|
|
48
|
-
dataset_id: Annotated[StrictStr, Field(description="Dataset
|
|
48
|
+
dataset_id: Annotated[StrictStr, Field(description="Dataset ID")],
|
|
49
49
|
create_index_request: CreateIndexRequest,
|
|
50
50
|
_request_timeout: Union[
|
|
51
51
|
None,
|
|
@@ -64,7 +64,7 @@ class IndexesApi:
|
|
|
64
64
|
|
|
65
65
|
Create a sorted, BM25, or vector index on a dataset.
|
|
66
66
|
|
|
67
|
-
:param dataset_id: Dataset
|
|
67
|
+
:param dataset_id: Dataset ID (required)
|
|
68
68
|
:type dataset_id: str
|
|
69
69
|
:param create_index_request: (required)
|
|
70
70
|
:type create_index_request: CreateIndexRequest
|
|
@@ -119,7 +119,7 @@ class IndexesApi:
|
|
|
119
119
|
@validate_call
|
|
120
120
|
def create_dataset_index_with_http_info(
|
|
121
121
|
self,
|
|
122
|
-
dataset_id: Annotated[StrictStr, Field(description="Dataset
|
|
122
|
+
dataset_id: Annotated[StrictStr, Field(description="Dataset ID")],
|
|
123
123
|
create_index_request: CreateIndexRequest,
|
|
124
124
|
_request_timeout: Union[
|
|
125
125
|
None,
|
|
@@ -138,7 +138,7 @@ class IndexesApi:
|
|
|
138
138
|
|
|
139
139
|
Create a sorted, BM25, or vector index on a dataset.
|
|
140
140
|
|
|
141
|
-
:param dataset_id: Dataset
|
|
141
|
+
:param dataset_id: Dataset ID (required)
|
|
142
142
|
:type dataset_id: str
|
|
143
143
|
:param create_index_request: (required)
|
|
144
144
|
:type create_index_request: CreateIndexRequest
|
|
@@ -193,7 +193,7 @@ class IndexesApi:
|
|
|
193
193
|
@validate_call
|
|
194
194
|
def create_dataset_index_without_preload_content(
|
|
195
195
|
self,
|
|
196
|
-
dataset_id: Annotated[StrictStr, Field(description="Dataset
|
|
196
|
+
dataset_id: Annotated[StrictStr, Field(description="Dataset ID")],
|
|
197
197
|
create_index_request: CreateIndexRequest,
|
|
198
198
|
_request_timeout: Union[
|
|
199
199
|
None,
|
|
@@ -212,7 +212,7 @@ class IndexesApi:
|
|
|
212
212
|
|
|
213
213
|
Create a sorted, BM25, or vector index on a dataset.
|
|
214
214
|
|
|
215
|
-
:param dataset_id: Dataset
|
|
215
|
+
:param dataset_id: Dataset ID (required)
|
|
216
216
|
:type dataset_id: str
|
|
217
217
|
:param create_index_request: (required)
|
|
218
218
|
:type create_index_request: CreateIndexRequest
|
|
@@ -345,7 +345,7 @@ class IndexesApi:
|
|
|
345
345
|
@validate_call
|
|
346
346
|
def create_index(
|
|
347
347
|
self,
|
|
348
|
-
connection_id: Annotated[StrictStr, Field(description="Connection
|
|
348
|
+
connection_id: Annotated[StrictStr, Field(description="Connection ID")],
|
|
349
349
|
var_schema: Annotated[StrictStr, Field(description="Schema name")],
|
|
350
350
|
table: Annotated[StrictStr, Field(description="Table name")],
|
|
351
351
|
create_index_request: CreateIndexRequest,
|
|
@@ -366,7 +366,7 @@ class IndexesApi:
|
|
|
366
366
|
|
|
367
367
|
Create a sorted or BM25 full-text index on a cached table.
|
|
368
368
|
|
|
369
|
-
:param connection_id: Connection
|
|
369
|
+
:param connection_id: Connection ID (required)
|
|
370
370
|
:type connection_id: str
|
|
371
371
|
:param var_schema: Schema name (required)
|
|
372
372
|
:type var_schema: str
|
|
@@ -427,7 +427,7 @@ class IndexesApi:
|
|
|
427
427
|
@validate_call
|
|
428
428
|
def create_index_with_http_info(
|
|
429
429
|
self,
|
|
430
|
-
connection_id: Annotated[StrictStr, Field(description="Connection
|
|
430
|
+
connection_id: Annotated[StrictStr, Field(description="Connection ID")],
|
|
431
431
|
var_schema: Annotated[StrictStr, Field(description="Schema name")],
|
|
432
432
|
table: Annotated[StrictStr, Field(description="Table name")],
|
|
433
433
|
create_index_request: CreateIndexRequest,
|
|
@@ -448,7 +448,7 @@ class IndexesApi:
|
|
|
448
448
|
|
|
449
449
|
Create a sorted or BM25 full-text index on a cached table.
|
|
450
450
|
|
|
451
|
-
:param connection_id: Connection
|
|
451
|
+
:param connection_id: Connection ID (required)
|
|
452
452
|
:type connection_id: str
|
|
453
453
|
:param var_schema: Schema name (required)
|
|
454
454
|
:type var_schema: str
|
|
@@ -509,7 +509,7 @@ class IndexesApi:
|
|
|
509
509
|
@validate_call
|
|
510
510
|
def create_index_without_preload_content(
|
|
511
511
|
self,
|
|
512
|
-
connection_id: Annotated[StrictStr, Field(description="Connection
|
|
512
|
+
connection_id: Annotated[StrictStr, Field(description="Connection ID")],
|
|
513
513
|
var_schema: Annotated[StrictStr, Field(description="Schema name")],
|
|
514
514
|
table: Annotated[StrictStr, Field(description="Table name")],
|
|
515
515
|
create_index_request: CreateIndexRequest,
|
|
@@ -530,7 +530,7 @@ class IndexesApi:
|
|
|
530
530
|
|
|
531
531
|
Create a sorted or BM25 full-text index on a cached table.
|
|
532
532
|
|
|
533
|
-
:param connection_id: Connection
|
|
533
|
+
:param connection_id: Connection ID (required)
|
|
534
534
|
:type connection_id: str
|
|
535
535
|
:param var_schema: Schema name (required)
|
|
536
536
|
:type var_schema: str
|
|
@@ -674,7 +674,7 @@ class IndexesApi:
|
|
|
674
674
|
@validate_call
|
|
675
675
|
def delete_dataset_index(
|
|
676
676
|
self,
|
|
677
|
-
dataset_id: Annotated[StrictStr, Field(description="Dataset
|
|
677
|
+
dataset_id: Annotated[StrictStr, Field(description="Dataset ID")],
|
|
678
678
|
index_name: Annotated[StrictStr, Field(description="Index name")],
|
|
679
679
|
_request_timeout: Union[
|
|
680
680
|
None,
|
|
@@ -693,7 +693,7 @@ class IndexesApi:
|
|
|
693
693
|
|
|
694
694
|
Delete a specific index from a dataset.
|
|
695
695
|
|
|
696
|
-
:param dataset_id: Dataset
|
|
696
|
+
:param dataset_id: Dataset ID (required)
|
|
697
697
|
:type dataset_id: str
|
|
698
698
|
:param index_name: Index name (required)
|
|
699
699
|
:type index_name: str
|
|
@@ -746,7 +746,7 @@ class IndexesApi:
|
|
|
746
746
|
@validate_call
|
|
747
747
|
def delete_dataset_index_with_http_info(
|
|
748
748
|
self,
|
|
749
|
-
dataset_id: Annotated[StrictStr, Field(description="Dataset
|
|
749
|
+
dataset_id: Annotated[StrictStr, Field(description="Dataset ID")],
|
|
750
750
|
index_name: Annotated[StrictStr, Field(description="Index name")],
|
|
751
751
|
_request_timeout: Union[
|
|
752
752
|
None,
|
|
@@ -765,7 +765,7 @@ class IndexesApi:
|
|
|
765
765
|
|
|
766
766
|
Delete a specific index from a dataset.
|
|
767
767
|
|
|
768
|
-
:param dataset_id: Dataset
|
|
768
|
+
:param dataset_id: Dataset ID (required)
|
|
769
769
|
:type dataset_id: str
|
|
770
770
|
:param index_name: Index name (required)
|
|
771
771
|
:type index_name: str
|
|
@@ -818,7 +818,7 @@ class IndexesApi:
|
|
|
818
818
|
@validate_call
|
|
819
819
|
def delete_dataset_index_without_preload_content(
|
|
820
820
|
self,
|
|
821
|
-
dataset_id: Annotated[StrictStr, Field(description="Dataset
|
|
821
|
+
dataset_id: Annotated[StrictStr, Field(description="Dataset ID")],
|
|
822
822
|
index_name: Annotated[StrictStr, Field(description="Index name")],
|
|
823
823
|
_request_timeout: Union[
|
|
824
824
|
None,
|
|
@@ -837,7 +837,7 @@ class IndexesApi:
|
|
|
837
837
|
|
|
838
838
|
Delete a specific index from a dataset.
|
|
839
839
|
|
|
840
|
-
:param dataset_id: Dataset
|
|
840
|
+
:param dataset_id: Dataset ID (required)
|
|
841
841
|
:type dataset_id: str
|
|
842
842
|
:param index_name: Index name (required)
|
|
843
843
|
:type index_name: str
|
|
@@ -955,7 +955,7 @@ class IndexesApi:
|
|
|
955
955
|
@validate_call
|
|
956
956
|
def delete_index(
|
|
957
957
|
self,
|
|
958
|
-
connection_id: Annotated[StrictStr, Field(description="Connection
|
|
958
|
+
connection_id: Annotated[StrictStr, Field(description="Connection ID")],
|
|
959
959
|
var_schema: Annotated[StrictStr, Field(description="Schema name")],
|
|
960
960
|
table: Annotated[StrictStr, Field(description="Table name")],
|
|
961
961
|
index_name: Annotated[StrictStr, Field(description="Index name")],
|
|
@@ -976,7 +976,7 @@ class IndexesApi:
|
|
|
976
976
|
|
|
977
977
|
Delete a specific index from a cached table.
|
|
978
978
|
|
|
979
|
-
:param connection_id: Connection
|
|
979
|
+
:param connection_id: Connection ID (required)
|
|
980
980
|
:type connection_id: str
|
|
981
981
|
:param var_schema: Schema name (required)
|
|
982
982
|
:type var_schema: str
|
|
@@ -1036,7 +1036,7 @@ class IndexesApi:
|
|
|
1036
1036
|
@validate_call
|
|
1037
1037
|
def delete_index_with_http_info(
|
|
1038
1038
|
self,
|
|
1039
|
-
connection_id: Annotated[StrictStr, Field(description="Connection
|
|
1039
|
+
connection_id: Annotated[StrictStr, Field(description="Connection ID")],
|
|
1040
1040
|
var_schema: Annotated[StrictStr, Field(description="Schema name")],
|
|
1041
1041
|
table: Annotated[StrictStr, Field(description="Table name")],
|
|
1042
1042
|
index_name: Annotated[StrictStr, Field(description="Index name")],
|
|
@@ -1057,7 +1057,7 @@ class IndexesApi:
|
|
|
1057
1057
|
|
|
1058
1058
|
Delete a specific index from a cached table.
|
|
1059
1059
|
|
|
1060
|
-
:param connection_id: Connection
|
|
1060
|
+
:param connection_id: Connection ID (required)
|
|
1061
1061
|
:type connection_id: str
|
|
1062
1062
|
:param var_schema: Schema name (required)
|
|
1063
1063
|
:type var_schema: str
|
|
@@ -1117,7 +1117,7 @@ class IndexesApi:
|
|
|
1117
1117
|
@validate_call
|
|
1118
1118
|
def delete_index_without_preload_content(
|
|
1119
1119
|
self,
|
|
1120
|
-
connection_id: Annotated[StrictStr, Field(description="Connection
|
|
1120
|
+
connection_id: Annotated[StrictStr, Field(description="Connection ID")],
|
|
1121
1121
|
var_schema: Annotated[StrictStr, Field(description="Schema name")],
|
|
1122
1122
|
table: Annotated[StrictStr, Field(description="Table name")],
|
|
1123
1123
|
index_name: Annotated[StrictStr, Field(description="Index name")],
|
|
@@ -1138,7 +1138,7 @@ class IndexesApi:
|
|
|
1138
1138
|
|
|
1139
1139
|
Delete a specific index from a cached table.
|
|
1140
1140
|
|
|
1141
|
-
:param connection_id: Connection
|
|
1141
|
+
:param connection_id: Connection ID (required)
|
|
1142
1142
|
:type connection_id: str
|
|
1143
1143
|
:param var_schema: Schema name (required)
|
|
1144
1144
|
:type var_schema: str
|
|
@@ -1268,7 +1268,7 @@ class IndexesApi:
|
|
|
1268
1268
|
@validate_call
|
|
1269
1269
|
def list_dataset_indexes(
|
|
1270
1270
|
self,
|
|
1271
|
-
dataset_id: Annotated[StrictStr, Field(description="Dataset
|
|
1271
|
+
dataset_id: Annotated[StrictStr, Field(description="Dataset ID")],
|
|
1272
1272
|
_request_timeout: Union[
|
|
1273
1273
|
None,
|
|
1274
1274
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1286,7 +1286,7 @@ class IndexesApi:
|
|
|
1286
1286
|
|
|
1287
1287
|
List all indexes created on a dataset.
|
|
1288
1288
|
|
|
1289
|
-
:param dataset_id: Dataset
|
|
1289
|
+
:param dataset_id: Dataset ID (required)
|
|
1290
1290
|
:type dataset_id: str
|
|
1291
1291
|
:param _request_timeout: timeout setting for this request. If one
|
|
1292
1292
|
number provided, it will be total request
|
|
@@ -1336,7 +1336,7 @@ class IndexesApi:
|
|
|
1336
1336
|
@validate_call
|
|
1337
1337
|
def list_dataset_indexes_with_http_info(
|
|
1338
1338
|
self,
|
|
1339
|
-
dataset_id: Annotated[StrictStr, Field(description="Dataset
|
|
1339
|
+
dataset_id: Annotated[StrictStr, Field(description="Dataset ID")],
|
|
1340
1340
|
_request_timeout: Union[
|
|
1341
1341
|
None,
|
|
1342
1342
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1354,7 +1354,7 @@ class IndexesApi:
|
|
|
1354
1354
|
|
|
1355
1355
|
List all indexes created on a dataset.
|
|
1356
1356
|
|
|
1357
|
-
:param dataset_id: Dataset
|
|
1357
|
+
:param dataset_id: Dataset ID (required)
|
|
1358
1358
|
:type dataset_id: str
|
|
1359
1359
|
:param _request_timeout: timeout setting for this request. If one
|
|
1360
1360
|
number provided, it will be total request
|
|
@@ -1404,7 +1404,7 @@ class IndexesApi:
|
|
|
1404
1404
|
@validate_call
|
|
1405
1405
|
def list_dataset_indexes_without_preload_content(
|
|
1406
1406
|
self,
|
|
1407
|
-
dataset_id: Annotated[StrictStr, Field(description="Dataset
|
|
1407
|
+
dataset_id: Annotated[StrictStr, Field(description="Dataset ID")],
|
|
1408
1408
|
_request_timeout: Union[
|
|
1409
1409
|
None,
|
|
1410
1410
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1422,7 +1422,7 @@ class IndexesApi:
|
|
|
1422
1422
|
|
|
1423
1423
|
List all indexes created on a dataset.
|
|
1424
1424
|
|
|
1425
|
-
:param dataset_id: Dataset
|
|
1425
|
+
:param dataset_id: Dataset ID (required)
|
|
1426
1426
|
:type dataset_id: str
|
|
1427
1427
|
:param _request_timeout: timeout setting for this request. If one
|
|
1428
1428
|
number provided, it will be total request
|
|
@@ -1534,7 +1534,7 @@ class IndexesApi:
|
|
|
1534
1534
|
@validate_call
|
|
1535
1535
|
def list_indexes(
|
|
1536
1536
|
self,
|
|
1537
|
-
connection_id: Annotated[StrictStr, Field(description="Connection
|
|
1537
|
+
connection_id: Annotated[StrictStr, Field(description="Connection ID")],
|
|
1538
1538
|
var_schema: Annotated[StrictStr, Field(description="Schema name")],
|
|
1539
1539
|
table: Annotated[StrictStr, Field(description="Table name")],
|
|
1540
1540
|
_request_timeout: Union[
|
|
@@ -1554,7 +1554,7 @@ class IndexesApi:
|
|
|
1554
1554
|
|
|
1555
1555
|
List all indexes created on a cached table.
|
|
1556
1556
|
|
|
1557
|
-
:param connection_id: Connection
|
|
1557
|
+
:param connection_id: Connection ID (required)
|
|
1558
1558
|
:type connection_id: str
|
|
1559
1559
|
:param var_schema: Schema name (required)
|
|
1560
1560
|
:type var_schema: str
|
|
@@ -1611,7 +1611,7 @@ class IndexesApi:
|
|
|
1611
1611
|
@validate_call
|
|
1612
1612
|
def list_indexes_with_http_info(
|
|
1613
1613
|
self,
|
|
1614
|
-
connection_id: Annotated[StrictStr, Field(description="Connection
|
|
1614
|
+
connection_id: Annotated[StrictStr, Field(description="Connection ID")],
|
|
1615
1615
|
var_schema: Annotated[StrictStr, Field(description="Schema name")],
|
|
1616
1616
|
table: Annotated[StrictStr, Field(description="Table name")],
|
|
1617
1617
|
_request_timeout: Union[
|
|
@@ -1631,7 +1631,7 @@ class IndexesApi:
|
|
|
1631
1631
|
|
|
1632
1632
|
List all indexes created on a cached table.
|
|
1633
1633
|
|
|
1634
|
-
:param connection_id: Connection
|
|
1634
|
+
:param connection_id: Connection ID (required)
|
|
1635
1635
|
:type connection_id: str
|
|
1636
1636
|
:param var_schema: Schema name (required)
|
|
1637
1637
|
:type var_schema: str
|
|
@@ -1688,7 +1688,7 @@ class IndexesApi:
|
|
|
1688
1688
|
@validate_call
|
|
1689
1689
|
def list_indexes_without_preload_content(
|
|
1690
1690
|
self,
|
|
1691
|
-
connection_id: Annotated[StrictStr, Field(description="Connection
|
|
1691
|
+
connection_id: Annotated[StrictStr, Field(description="Connection ID")],
|
|
1692
1692
|
var_schema: Annotated[StrictStr, Field(description="Schema name")],
|
|
1693
1693
|
table: Annotated[StrictStr, Field(description="Table name")],
|
|
1694
1694
|
_request_timeout: Union[
|
|
@@ -1708,7 +1708,7 @@ class IndexesApi:
|
|
|
1708
1708
|
|
|
1709
1709
|
List all indexes created on a cached table.
|
|
1710
1710
|
|
|
1711
|
-
:param connection_id: Connection
|
|
1711
|
+
:param connection_id: Connection ID (required)
|
|
1712
1712
|
:type connection_id: str
|
|
1713
1713
|
:param var_schema: Schema name (required)
|
|
1714
1714
|
:type var_schema: str
|
|
@@ -104,6 +104,7 @@ class QueryApi:
|
|
|
104
104
|
'404': "ApiErrorResponse",
|
|
105
105
|
'429': "ApiErrorResponse",
|
|
106
106
|
'500': "ApiErrorResponse",
|
|
107
|
+
'503': "ApiErrorResponse",
|
|
107
108
|
}
|
|
108
109
|
response_data = self.api_client.call_api(
|
|
109
110
|
*_param,
|
|
@@ -180,6 +181,7 @@ class QueryApi:
|
|
|
180
181
|
'404': "ApiErrorResponse",
|
|
181
182
|
'429': "ApiErrorResponse",
|
|
182
183
|
'500': "ApiErrorResponse",
|
|
184
|
+
'503': "ApiErrorResponse",
|
|
183
185
|
}
|
|
184
186
|
response_data = self.api_client.call_api(
|
|
185
187
|
*_param,
|
|
@@ -256,6 +258,7 @@ class QueryApi:
|
|
|
256
258
|
'404': "ApiErrorResponse",
|
|
257
259
|
'429': "ApiErrorResponse",
|
|
258
260
|
'500': "ApiErrorResponse",
|
|
261
|
+
'503': "ApiErrorResponse",
|
|
259
262
|
}
|
|
260
263
|
response_data = self.api_client.call_api(
|
|
261
264
|
*_param,
|