hotdata 0.3.0__tar.gz → 0.4.0__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.3.0 → hotdata-0.4.0}/PKG-INFO +3 -3
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/__init__.py +12 -14
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/api/__init__.py +0 -1
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/api/indexes_api.py +375 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/api/query_api.py +3 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/api_client.py +1 -1
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/arrow.py +22 -4
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/__init__.py +2 -6
- hotdata-0.4.0/hotdata/models/index_entry_response.py +113 -0
- hotdata-0.4.0/hotdata/models/list_indexes_page_response.py +110 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/query_response.py +14 -3
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/workspace_detail.py +2 -4
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/workspace_list_item.py +2 -4
- hotdata-0.4.0/hotdata/query.py +580 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata.egg-info/PKG-INFO +3 -3
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata.egg-info/SOURCES.txt +6 -32
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata.egg-info/requires.txt +2 -2
- {hotdata-0.3.0 → hotdata-0.4.0}/pyproject.toml +3 -3
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_api_error_detail.py +2 -1
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_api_error_response.py +2 -1
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_boolean_profile_detail.py +1 -1
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_categorical_profile_detail.py +1 -1
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_category_value_info.py +3 -3
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_column_info.py +2 -1
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_column_profile_detail.py +6 -5
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_column_profile_detail_one_of.py +7 -6
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_column_profile_detail_one_of1.py +2 -1
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_column_profile_detail_one_of2.py +2 -1
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_column_profile_detail_one_of3.py +2 -1
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_column_profile_detail_one_of4.py +2 -1
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_column_profile_info.py +2 -1
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_column_type_spec.py +6 -5
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_connection_health_response.py +3 -2
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_connection_info.py +2 -1
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_connection_refresh_result.py +4 -9
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_connection_schema_error.py +2 -1
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_connection_type_detail.py +1 -1
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_connection_type_summary.py +1 -1
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_connection_types_api.py +1 -1
- hotdata-0.4.0/test/test_connections_api.py +116 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_create_connection_request.py +13 -6
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_create_connection_response.py +3 -2
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_create_database_request.py +5 -2
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_create_database_response.py +5 -2
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_create_dataset_request.py +4 -2
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_create_dataset_response.py +4 -1
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_create_saved_query_request.py +3 -2
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_create_secret_request.py +2 -1
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_create_secret_response.py +2 -1
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_create_workspace_request.py +2 -1
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_create_workspace_response.py +5 -7
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_database_detail_response.py +5 -2
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_database_summary.py +5 -2
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_databases_api.py +14 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_dataset_source.py +17 -5
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_dataset_source_one_of.py +7 -4
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_dataset_source_one_of1.py +7 -13
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_dataset_summary.py +7 -1
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_datasets_api.py +9 -1
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_discovery_status.py +2 -1
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_error.py +2 -1
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_execute_saved_query_request.py +3 -2
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_get_connection_response.py +2 -1
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_get_dataset_response.py +5 -1
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_get_result_response.py +4 -3
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_get_secret_response.py +2 -1
- hotdata-0.4.0/test/test_index_entry_response.py +73 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_indexes_api.py +28 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_information_schema_api.py +4 -3
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_information_schema_response.py +5 -4
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_inline_data.py +3 -2
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_inline_dataset_source.py +1 -1
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_job_result.py +8 -4
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_list_connection_types_response.py +1 -1
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_list_connections_response.py +2 -1
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_list_databases_response.py +8 -4
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_list_datasets_response.py +8 -1
- hotdata-0.4.0/test/test_list_indexes_page_response.py +64 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_list_query_runs_response.py +25 -20
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_list_results_response.py +4 -3
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_list_saved_queries_response.py +2 -1
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_list_saved_query_versions_response.py +20 -19
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_list_secrets_response.py +2 -1
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_list_uploads_response.py +4 -3
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_list_workspaces_response.py +5 -7
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_numeric_profile_detail.py +1 -1
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_query_api.py +4 -3
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_query_request.py +7 -1
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_query_response.py +9 -3
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_query_run_info.py +13 -10
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_query_runs_api.py +11 -3
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_refresh_api.py +4 -3
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_refresh_request.py +7 -4
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_refresh_response.py +15 -10
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_refresh_warning.py +4 -3
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_result_info.py +3 -2
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_results_api.py +6 -5
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_saved_queries_api.py +2 -1
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_saved_query_detail.py +11 -10
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_saved_query_summary.py +2 -1
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_saved_query_version_info.py +11 -10
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_schema_refresh_result.py +2 -1
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_secret_metadata_response.py +2 -1
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_secrets_api.py +12 -11
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_table_info.py +3 -2
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_table_profile_response.py +3 -2
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_table_refresh_error.py +2 -1
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_table_refresh_result.py +4 -3
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_temporal_profile_detail.py +1 -1
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_text_profile_detail.py +1 -1
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_update_dataset_request.py +5 -3
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_update_dataset_response.py +5 -1
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_update_saved_query_request.py +7 -6
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_update_secret_request.py +2 -1
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_update_secret_response.py +2 -1
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_upload_dataset_source.py +1 -1
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_upload_info.py +3 -2
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_upload_response.py +3 -2
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_uploads_api.py +2 -1
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_workspace_detail.py +5 -6
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_workspace_list_item.py +5 -6
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_workspaces_api.py +9 -1
- {hotdata-0.3.0 → hotdata-0.4.0}/tests/test_arrow.py +11 -2
- hotdata-0.4.0/tests/test_query.py +515 -0
- hotdata-0.3.0/hotdata/api/sandboxes_api.py +0 -1426
- hotdata-0.3.0/hotdata/api/workspace_context_api.py +0 -1099
- hotdata-0.3.0/hotdata/models/column_definition.py +0 -140
- hotdata-0.3.0/hotdata/models/create_sandbox_request.py +0 -90
- hotdata-0.3.0/hotdata/models/create_workspace201_response.py +0 -93
- hotdata-0.3.0/hotdata/models/delete_sandbox_response.py +0 -90
- hotdata-0.3.0/hotdata/models/get_workspace_context_response.py +0 -92
- hotdata-0.3.0/hotdata/models/list_sandboxes_response.py +0 -98
- hotdata-0.3.0/hotdata/models/list_workspace_contexts_response.py +0 -96
- hotdata-0.3.0/hotdata/models/list_workspaces200_response.py +0 -97
- hotdata-0.3.0/hotdata/models/sandbox.py +0 -97
- hotdata-0.3.0/hotdata/models/sandbox_response.py +0 -94
- hotdata-0.3.0/hotdata/models/update_sandbox_request.py +0 -90
- hotdata-0.3.0/hotdata/models/upsert_workspace_context_request.py +0 -90
- hotdata-0.3.0/hotdata/models/upsert_workspace_context_response.py +0 -92
- hotdata-0.3.0/hotdata/models/workspace_context_entry.py +0 -93
- hotdata-0.3.0/test/test_column_definition.py +0 -56
- hotdata-0.3.0/test/test_connections_api.py +0 -87
- hotdata-0.3.0/test/test_create_sandbox_request.py +0 -53
- hotdata-0.3.0/test/test_create_workspace201_response.py +0 -62
- hotdata-0.3.0/test/test_delete_sandbox_response.py +0 -55
- hotdata-0.3.0/test/test_get_workspace_context_response.py +0 -59
- hotdata-0.3.0/test/test_list_sandboxes_response.py +0 -69
- hotdata-0.3.0/test/test_list_workspace_contexts_response.py +0 -63
- hotdata-0.3.0/test/test_list_workspaces200_response.py +0 -70
- hotdata-0.3.0/test/test_sandbox.py +0 -61
- hotdata-0.3.0/test/test_sandbox_response.py +0 -65
- hotdata-0.3.0/test/test_sandboxes_api.py +0 -67
- hotdata-0.3.0/test/test_update_sandbox_request.py +0 -53
- hotdata-0.3.0/test/test_upsert_workspace_context_request.py +0 -55
- hotdata-0.3.0/test/test_upsert_workspace_context_response.py +0 -59
- hotdata-0.3.0/test/test_workspace_context_api.py +0 -53
- hotdata-0.3.0/test/test_workspace_context_entry.py +0 -57
- {hotdata-0.3.0 → hotdata-0.4.0}/README.md +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/_auth.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/api/connection_types_api.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/api/connections_api.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/api/database_context_api.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/api/databases_api.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/api/datasets_api.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/api/embedding_providers_api.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/api/information_schema_api.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/api/jobs_api.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/api/query_runs_api.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/api/refresh_api.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/api/results_api.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/api/saved_queries_api.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/api/secrets_api.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/api/uploads_api.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/api/workspaces_api.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/api_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/configuration.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/exceptions.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/add_managed_schema_request.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/add_managed_table_decl.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/add_managed_table_request.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/api_error_detail.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/api_error_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/async_query_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/attach_database_catalog_request.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/boolean_profile_detail.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/categorical_profile_detail.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/category_value_info.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/column_info.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/column_profile_detail.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/column_profile_detail_one_of.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/column_profile_detail_one_of1.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/column_profile_detail_one_of2.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/column_profile_detail_one_of3.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/column_profile_detail_one_of4.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/column_profile_info.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/column_type_spec.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/connection_health_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/connection_info.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/connection_refresh_result.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/connection_schema_error.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/connection_type_detail.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/connection_type_summary.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/create_connection_request.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/create_connection_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/create_database_request.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/create_database_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/create_dataset_request.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/create_dataset_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/create_embedding_provider_request.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/create_embedding_provider_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/create_index_request.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/create_saved_query_request.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/create_secret_request.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/create_secret_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/create_workspace_request.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/create_workspace_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/database_attachment_info.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/database_context_entry.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/database_default_schema_decl.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/database_default_table_decl.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/database_detail_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/database_summary.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/dataset_source.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/dataset_source_one_of.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/dataset_source_one_of1.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/dataset_source_one_of2.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/dataset_source_one_of3.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/dataset_source_one_of4.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/dataset_summary.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/dataset_version_summary.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/discovery_status.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/embedding_provider_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/error.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/execute_saved_query_request.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/get_connection_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/get_database_context_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/get_dataset_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/get_result_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/get_secret_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/index_info_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/index_status.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/information_schema_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/inline_data.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/inline_dataset_source.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/job_result.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/job_status.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/job_status_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/job_type.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/list_connection_types_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/list_connections_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/list_database_contexts_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/list_databases_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/list_dataset_versions_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/list_datasets_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/list_embedding_providers_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/list_indexes_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/list_jobs_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/list_query_runs_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/list_results_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/list_saved_queries_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/list_saved_query_versions_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/list_secrets_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/list_uploads_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/list_workspaces_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/load_managed_table_request.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/load_managed_table_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/managed_schema_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/managed_table_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/numeric_profile_detail.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/query_request.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/query_run_info.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/refresh_dataset_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/refresh_request.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/refresh_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/refresh_warning.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/result_info.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/results_format_query.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/saved_query_dataset_source.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/saved_query_detail.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/saved_query_summary.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/saved_query_version_info.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/schema_refresh_result.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/secret_metadata_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/sql_query_dataset_source.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/submit_job_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/table_info.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/table_profile_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/table_refresh_error.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/table_refresh_result.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/temporal_profile_detail.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/text_profile_detail.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/update_dataset_request.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/update_dataset_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/update_embedding_provider_request.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/update_embedding_provider_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/update_saved_query_request.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/update_secret_request.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/update_secret_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/upload_dataset_source.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/upload_info.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/upload_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/upsert_database_context_request.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/upsert_database_context_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/models/url_dataset_source.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/py.typed +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata/rest.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata.egg-info/dependency_links.txt +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/hotdata.egg-info/top_level.txt +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/setup.cfg +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_add_managed_schema_request.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_add_managed_table_decl.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_add_managed_table_request.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_api_client_close.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_async_query_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_attach_database_catalog_request.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_create_embedding_provider_request.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_create_embedding_provider_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_create_index_request.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_database_attachment_info.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_database_context_api.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_database_context_entry.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_database_default_schema_decl.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_database_default_table_decl.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_dataset_source_one_of2.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_dataset_source_one_of3.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_dataset_source_one_of4.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_dataset_version_summary.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_embedding_provider_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_embedding_providers_api.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_get_database_context_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_index_info_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_index_status.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_job_status.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_job_status_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_job_type.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_jobs_api.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_list_database_contexts_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_list_dataset_versions_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_list_embedding_providers_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_list_indexes_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_list_jobs_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_load_managed_table_request.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_load_managed_table_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_managed_schema_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_managed_table_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_refresh_dataset_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_results_format_query.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_saved_query_dataset_source.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_sql_query_dataset_source.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_submit_job_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_update_embedding_provider_request.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_update_embedding_provider_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_upsert_database_context_request.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_upsert_database_context_response.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/test/test_url_dataset_source.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/tests/test_auth.py +0 -0
- {hotdata-0.3.0 → hotdata-0.4.0}/tests/test_update_changelog.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: hotdata
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.4.0
|
|
4
4
|
Summary: Hotdata API
|
|
5
5
|
Author-email: Hotdata <developers@hotdata.dev>
|
|
6
6
|
License: MIT
|
|
@@ -11,10 +11,10 @@ Requires-Python: >=3.9
|
|
|
11
11
|
Description-Content-Type: text/markdown
|
|
12
12
|
Requires-Dist: urllib3<3.0.0,>=2.1.0
|
|
13
13
|
Requires-Dist: python-dateutil>=2.8.2
|
|
14
|
-
Requires-Dist: pydantic>=2
|
|
14
|
+
Requires-Dist: pydantic>=2.4.0
|
|
15
15
|
Requires-Dist: typing-extensions>=4.7.1
|
|
16
16
|
Provides-Extra: arrow
|
|
17
|
-
Requires-Dist: pyarrow>=14; extra == "arrow"
|
|
17
|
+
Requires-Dist: pyarrow>=14.0.1; extra == "arrow"
|
|
18
18
|
|
|
19
19
|
# hotdata
|
|
20
20
|
|
|
@@ -37,7 +37,6 @@ __all__ = [
|
|
|
37
37
|
"QueryRunsApi",
|
|
38
38
|
"RefreshApi",
|
|
39
39
|
"ResultsApi",
|
|
40
|
-
"SandboxesApi",
|
|
41
40
|
"SavedQueriesApi",
|
|
42
41
|
"SecretsApi",
|
|
43
42
|
"UploadsApi",
|
|
@@ -85,7 +84,6 @@ __all__ = [
|
|
|
85
84
|
"CreateEmbeddingProviderRequest",
|
|
86
85
|
"CreateEmbeddingProviderResponse",
|
|
87
86
|
"CreateIndexRequest",
|
|
88
|
-
"CreateSandboxRequest",
|
|
89
87
|
"CreateSavedQueryRequest",
|
|
90
88
|
"CreateSecretRequest",
|
|
91
89
|
"CreateSecretResponse",
|
|
@@ -105,7 +103,6 @@ __all__ = [
|
|
|
105
103
|
"DatasetSourceOneOf4",
|
|
106
104
|
"DatasetSummary",
|
|
107
105
|
"DatasetVersionSummary",
|
|
108
|
-
"DeleteSandboxResponse",
|
|
109
106
|
"DiscoveryStatus",
|
|
110
107
|
"EmbeddingProviderResponse",
|
|
111
108
|
"Error",
|
|
@@ -115,6 +112,7 @@ __all__ = [
|
|
|
115
112
|
"GetDatasetResponse",
|
|
116
113
|
"GetResultResponse",
|
|
117
114
|
"GetSecretResponse",
|
|
115
|
+
"IndexEntryResponse",
|
|
118
116
|
"IndexInfoResponse",
|
|
119
117
|
"IndexStatus",
|
|
120
118
|
"InformationSchemaResponse",
|
|
@@ -131,11 +129,11 @@ __all__ = [
|
|
|
131
129
|
"ListDatasetVersionsResponse",
|
|
132
130
|
"ListDatasetsResponse",
|
|
133
131
|
"ListEmbeddingProvidersResponse",
|
|
132
|
+
"ListIndexesPageResponse",
|
|
134
133
|
"ListIndexesResponse",
|
|
135
134
|
"ListJobsResponse",
|
|
136
135
|
"ListQueryRunsResponse",
|
|
137
136
|
"ListResultsResponse",
|
|
138
|
-
"ListSandboxesResponse",
|
|
139
137
|
"ListSavedQueriesResponse",
|
|
140
138
|
"ListSavedQueryVersionsResponse",
|
|
141
139
|
"ListSecretsResponse",
|
|
@@ -155,8 +153,6 @@ __all__ = [
|
|
|
155
153
|
"RefreshWarning",
|
|
156
154
|
"ResultInfo",
|
|
157
155
|
"ResultsFormatQuery",
|
|
158
|
-
"Sandbox",
|
|
159
|
-
"SandboxResponse",
|
|
160
156
|
"SavedQueryDatasetSource",
|
|
161
157
|
"SavedQueryDetail",
|
|
162
158
|
"SavedQuerySummary",
|
|
@@ -175,7 +171,6 @@ __all__ = [
|
|
|
175
171
|
"UpdateDatasetResponse",
|
|
176
172
|
"UpdateEmbeddingProviderRequest",
|
|
177
173
|
"UpdateEmbeddingProviderResponse",
|
|
178
|
-
"UpdateSandboxRequest",
|
|
179
174
|
"UpdateSavedQueryRequest",
|
|
180
175
|
"UpdateSecretRequest",
|
|
181
176
|
"UpdateSecretResponse",
|
|
@@ -203,7 +198,6 @@ from hotdata.api.query_api import QueryApi as QueryApi
|
|
|
203
198
|
from hotdata.api.query_runs_api import QueryRunsApi as QueryRunsApi
|
|
204
199
|
from hotdata.api.refresh_api import RefreshApi as RefreshApi
|
|
205
200
|
from hotdata.api.results_api import ResultsApi as ResultsApi
|
|
206
|
-
from hotdata.api.sandboxes_api import SandboxesApi as SandboxesApi
|
|
207
201
|
from hotdata.api.saved_queries_api import SavedQueriesApi as SavedQueriesApi
|
|
208
202
|
from hotdata.api.secrets_api import SecretsApi as SecretsApi
|
|
209
203
|
from hotdata.api.uploads_api import UploadsApi as UploadsApi
|
|
@@ -255,7 +249,6 @@ from hotdata.models.create_dataset_response import CreateDatasetResponse as Crea
|
|
|
255
249
|
from hotdata.models.create_embedding_provider_request import CreateEmbeddingProviderRequest as CreateEmbeddingProviderRequest
|
|
256
250
|
from hotdata.models.create_embedding_provider_response import CreateEmbeddingProviderResponse as CreateEmbeddingProviderResponse
|
|
257
251
|
from hotdata.models.create_index_request import CreateIndexRequest as CreateIndexRequest
|
|
258
|
-
from hotdata.models.create_sandbox_request import CreateSandboxRequest as CreateSandboxRequest
|
|
259
252
|
from hotdata.models.create_saved_query_request import CreateSavedQueryRequest as CreateSavedQueryRequest
|
|
260
253
|
from hotdata.models.create_secret_request import CreateSecretRequest as CreateSecretRequest
|
|
261
254
|
from hotdata.models.create_secret_response import CreateSecretResponse as CreateSecretResponse
|
|
@@ -275,7 +268,6 @@ from hotdata.models.dataset_source_one_of3 import DatasetSourceOneOf3 as Dataset
|
|
|
275
268
|
from hotdata.models.dataset_source_one_of4 import DatasetSourceOneOf4 as DatasetSourceOneOf4
|
|
276
269
|
from hotdata.models.dataset_summary import DatasetSummary as DatasetSummary
|
|
277
270
|
from hotdata.models.dataset_version_summary import DatasetVersionSummary as DatasetVersionSummary
|
|
278
|
-
from hotdata.models.delete_sandbox_response import DeleteSandboxResponse as DeleteSandboxResponse
|
|
279
271
|
from hotdata.models.discovery_status import DiscoveryStatus as DiscoveryStatus
|
|
280
272
|
from hotdata.models.embedding_provider_response import EmbeddingProviderResponse as EmbeddingProviderResponse
|
|
281
273
|
from hotdata.models.error import Error as Error
|
|
@@ -285,6 +277,7 @@ from hotdata.models.get_database_context_response import GetDatabaseContextRespo
|
|
|
285
277
|
from hotdata.models.get_dataset_response import GetDatasetResponse as GetDatasetResponse
|
|
286
278
|
from hotdata.models.get_result_response import GetResultResponse as GetResultResponse
|
|
287
279
|
from hotdata.models.get_secret_response import GetSecretResponse as GetSecretResponse
|
|
280
|
+
from hotdata.models.index_entry_response import IndexEntryResponse as IndexEntryResponse
|
|
288
281
|
from hotdata.models.index_info_response import IndexInfoResponse as IndexInfoResponse
|
|
289
282
|
from hotdata.models.index_status import IndexStatus as IndexStatus
|
|
290
283
|
from hotdata.models.information_schema_response import InformationSchemaResponse as InformationSchemaResponse
|
|
@@ -301,11 +294,11 @@ from hotdata.models.list_databases_response import ListDatabasesResponse as List
|
|
|
301
294
|
from hotdata.models.list_dataset_versions_response import ListDatasetVersionsResponse as ListDatasetVersionsResponse
|
|
302
295
|
from hotdata.models.list_datasets_response import ListDatasetsResponse as ListDatasetsResponse
|
|
303
296
|
from hotdata.models.list_embedding_providers_response import ListEmbeddingProvidersResponse as ListEmbeddingProvidersResponse
|
|
297
|
+
from hotdata.models.list_indexes_page_response import ListIndexesPageResponse as ListIndexesPageResponse
|
|
304
298
|
from hotdata.models.list_indexes_response import ListIndexesResponse as ListIndexesResponse
|
|
305
299
|
from hotdata.models.list_jobs_response import ListJobsResponse as ListJobsResponse
|
|
306
300
|
from hotdata.models.list_query_runs_response import ListQueryRunsResponse as ListQueryRunsResponse
|
|
307
301
|
from hotdata.models.list_results_response import ListResultsResponse as ListResultsResponse
|
|
308
|
-
from hotdata.models.list_sandboxes_response import ListSandboxesResponse as ListSandboxesResponse
|
|
309
302
|
from hotdata.models.list_saved_queries_response import ListSavedQueriesResponse as ListSavedQueriesResponse
|
|
310
303
|
from hotdata.models.list_saved_query_versions_response import ListSavedQueryVersionsResponse as ListSavedQueryVersionsResponse
|
|
311
304
|
from hotdata.models.list_secrets_response import ListSecretsResponse as ListSecretsResponse
|
|
@@ -325,8 +318,6 @@ from hotdata.models.refresh_response import RefreshResponse as RefreshResponse
|
|
|
325
318
|
from hotdata.models.refresh_warning import RefreshWarning as RefreshWarning
|
|
326
319
|
from hotdata.models.result_info import ResultInfo as ResultInfo
|
|
327
320
|
from hotdata.models.results_format_query import ResultsFormatQuery as ResultsFormatQuery
|
|
328
|
-
from hotdata.models.sandbox import Sandbox as Sandbox
|
|
329
|
-
from hotdata.models.sandbox_response import SandboxResponse as SandboxResponse
|
|
330
321
|
from hotdata.models.saved_query_dataset_source import SavedQueryDatasetSource as SavedQueryDatasetSource
|
|
331
322
|
from hotdata.models.saved_query_detail import SavedQueryDetail as SavedQueryDetail
|
|
332
323
|
from hotdata.models.saved_query_summary import SavedQuerySummary as SavedQuerySummary
|
|
@@ -345,7 +336,6 @@ from hotdata.models.update_dataset_request import UpdateDatasetRequest as Update
|
|
|
345
336
|
from hotdata.models.update_dataset_response import UpdateDatasetResponse as UpdateDatasetResponse
|
|
346
337
|
from hotdata.models.update_embedding_provider_request import UpdateEmbeddingProviderRequest as UpdateEmbeddingProviderRequest
|
|
347
338
|
from hotdata.models.update_embedding_provider_response import UpdateEmbeddingProviderResponse as UpdateEmbeddingProviderResponse
|
|
348
|
-
from hotdata.models.update_sandbox_request import UpdateSandboxRequest as UpdateSandboxRequest
|
|
349
339
|
from hotdata.models.update_saved_query_request import UpdateSavedQueryRequest as UpdateSavedQueryRequest
|
|
350
340
|
from hotdata.models.update_secret_request import UpdateSecretRequest as UpdateSecretRequest
|
|
351
341
|
from hotdata.models.update_secret_response import UpdateSecretResponse as UpdateSecretResponse
|
|
@@ -358,3 +348,11 @@ from hotdata.models.url_dataset_source import UrlDatasetSource as UrlDatasetSour
|
|
|
358
348
|
from hotdata.models.workspace_detail import WorkspaceDetail as WorkspaceDetail
|
|
359
349
|
from hotdata.models.workspace_list_item import WorkspaceListItem as WorkspaceListItem
|
|
360
350
|
|
|
351
|
+
|
|
352
|
+
# --- hand-applied: prefer the enhanced clients over the generated ones
|
|
353
|
+
# (re-applied by scripts/patch_query_exports.py after regeneration).
|
|
354
|
+
# hotdata.query.QueryApi adds 429 retry + truncation auto-follow;
|
|
355
|
+
# hotdata.arrow.ResultsApi adds Arrow IPC result fetch. The raw generated
|
|
356
|
+
# classes remain importable from hotdata.api.query_api / hotdata.api.results_api.
|
|
357
|
+
from hotdata.query import QueryApi as QueryApi # noqa: E402,F811
|
|
358
|
+
from hotdata.arrow import ResultsApi as ResultsApi # noqa: E402,F811
|
|
@@ -14,7 +14,6 @@ from hotdata.api.query_api import QueryApi
|
|
|
14
14
|
from hotdata.api.query_runs_api import QueryRunsApi
|
|
15
15
|
from hotdata.api.refresh_api import RefreshApi
|
|
16
16
|
from hotdata.api.results_api import ResultsApi
|
|
17
|
-
from hotdata.api.sandboxes_api import SandboxesApi
|
|
18
17
|
from hotdata.api.saved_queries_api import SavedQueriesApi
|
|
19
18
|
from hotdata.api.secrets_api import SecretsApi
|
|
20
19
|
from hotdata.api.uploads_api import UploadsApi
|
|
@@ -17,9 +17,11 @@ from typing import Any, Dict, List, Optional, Tuple, Union
|
|
|
17
17
|
from typing_extensions import Annotated
|
|
18
18
|
|
|
19
19
|
from pydantic import Field, StrictStr
|
|
20
|
+
from typing import Optional
|
|
20
21
|
from typing_extensions import Annotated
|
|
21
22
|
from hotdata.models.create_index_request import CreateIndexRequest
|
|
22
23
|
from hotdata.models.index_info_response import IndexInfoResponse
|
|
24
|
+
from hotdata.models.list_indexes_page_response import ListIndexesPageResponse
|
|
23
25
|
from hotdata.models.list_indexes_response import ListIndexesResponse
|
|
24
26
|
|
|
25
27
|
from hotdata.api_client import ApiClient, RequestSerialized
|
|
@@ -1825,3 +1827,376 @@ class IndexesApi:
|
|
|
1825
1827
|
)
|
|
1826
1828
|
|
|
1827
1829
|
|
|
1830
|
+
|
|
1831
|
+
|
|
1832
|
+
@validate_call
|
|
1833
|
+
def list_indexes_collection(
|
|
1834
|
+
self,
|
|
1835
|
+
x_database_id: Annotated[StrictStr, Field(description="Database to scope to (required)")],
|
|
1836
|
+
connection_id: Annotated[Optional[StrictStr], Field(description="Filter to one connection")] = None,
|
|
1837
|
+
var_schema: Annotated[Optional[StrictStr], Field(description="Filter by schema name")] = None,
|
|
1838
|
+
table: Annotated[Optional[StrictStr], Field(description="Filter by table name")] = None,
|
|
1839
|
+
index_type: Annotated[Optional[StrictStr], Field(description="Filter by index type")] = None,
|
|
1840
|
+
limit: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Max indexes per page")] = None,
|
|
1841
|
+
cursor: Annotated[Optional[StrictStr], Field(description="Pagination cursor")] = None,
|
|
1842
|
+
_request_timeout: Union[
|
|
1843
|
+
None,
|
|
1844
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1845
|
+
Tuple[
|
|
1846
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1847
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1848
|
+
]
|
|
1849
|
+
] = None,
|
|
1850
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1851
|
+
_content_type: Optional[StrictStr] = None,
|
|
1852
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1853
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1854
|
+
) -> ListIndexesPageResponse:
|
|
1855
|
+
"""List indexes across tables in a database
|
|
1856
|
+
|
|
1857
|
+
List all indexes in the database identified by the required X-Database-Id header, paginated. Optional filters narrow by connection, schema, table, or index type.
|
|
1858
|
+
|
|
1859
|
+
:param x_database_id: Database to scope to (required) (required)
|
|
1860
|
+
:type x_database_id: str
|
|
1861
|
+
:param connection_id: Filter to one connection
|
|
1862
|
+
:type connection_id: str
|
|
1863
|
+
:param var_schema: Filter by schema name
|
|
1864
|
+
:type var_schema: str
|
|
1865
|
+
:param table: Filter by table name
|
|
1866
|
+
:type table: str
|
|
1867
|
+
:param index_type: Filter by index type
|
|
1868
|
+
:type index_type: str
|
|
1869
|
+
:param limit: Max indexes per page
|
|
1870
|
+
:type limit: int
|
|
1871
|
+
:param cursor: Pagination cursor
|
|
1872
|
+
:type cursor: str
|
|
1873
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1874
|
+
number provided, it will be total request
|
|
1875
|
+
timeout. It can also be a pair (tuple) of
|
|
1876
|
+
(connection, read) timeouts.
|
|
1877
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1878
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1879
|
+
request; this effectively ignores the
|
|
1880
|
+
authentication in the spec for a single request.
|
|
1881
|
+
:type _request_auth: dict, optional
|
|
1882
|
+
:param _content_type: force content-type for the request.
|
|
1883
|
+
:type _content_type: str, Optional
|
|
1884
|
+
:param _headers: set to override the headers for a single
|
|
1885
|
+
request; this effectively ignores the headers
|
|
1886
|
+
in the spec for a single request.
|
|
1887
|
+
:type _headers: dict, optional
|
|
1888
|
+
:param _host_index: set to override the host_index for a single
|
|
1889
|
+
request; this effectively ignores the host_index
|
|
1890
|
+
in the spec for a single request.
|
|
1891
|
+
:type _host_index: int, optional
|
|
1892
|
+
:return: Returns the result object.
|
|
1893
|
+
""" # noqa: E501
|
|
1894
|
+
|
|
1895
|
+
_param = self._list_indexes_collection_serialize(
|
|
1896
|
+
x_database_id=x_database_id,
|
|
1897
|
+
connection_id=connection_id,
|
|
1898
|
+
var_schema=var_schema,
|
|
1899
|
+
table=table,
|
|
1900
|
+
index_type=index_type,
|
|
1901
|
+
limit=limit,
|
|
1902
|
+
cursor=cursor,
|
|
1903
|
+
_request_auth=_request_auth,
|
|
1904
|
+
_content_type=_content_type,
|
|
1905
|
+
_headers=_headers,
|
|
1906
|
+
_host_index=_host_index
|
|
1907
|
+
)
|
|
1908
|
+
|
|
1909
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1910
|
+
'200': "ListIndexesPageResponse",
|
|
1911
|
+
'400': "ApiErrorResponse",
|
|
1912
|
+
'404': "ApiErrorResponse",
|
|
1913
|
+
'500': "ApiErrorResponse",
|
|
1914
|
+
}
|
|
1915
|
+
response_data = self.api_client.call_api(
|
|
1916
|
+
*_param,
|
|
1917
|
+
_request_timeout=_request_timeout
|
|
1918
|
+
)
|
|
1919
|
+
response_data.read()
|
|
1920
|
+
return self.api_client.response_deserialize(
|
|
1921
|
+
response_data=response_data,
|
|
1922
|
+
response_types_map=_response_types_map,
|
|
1923
|
+
).data
|
|
1924
|
+
|
|
1925
|
+
|
|
1926
|
+
@validate_call
|
|
1927
|
+
def list_indexes_collection_with_http_info(
|
|
1928
|
+
self,
|
|
1929
|
+
x_database_id: Annotated[StrictStr, Field(description="Database to scope to (required)")],
|
|
1930
|
+
connection_id: Annotated[Optional[StrictStr], Field(description="Filter to one connection")] = None,
|
|
1931
|
+
var_schema: Annotated[Optional[StrictStr], Field(description="Filter by schema name")] = None,
|
|
1932
|
+
table: Annotated[Optional[StrictStr], Field(description="Filter by table name")] = None,
|
|
1933
|
+
index_type: Annotated[Optional[StrictStr], Field(description="Filter by index type")] = None,
|
|
1934
|
+
limit: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Max indexes per page")] = None,
|
|
1935
|
+
cursor: Annotated[Optional[StrictStr], Field(description="Pagination cursor")] = None,
|
|
1936
|
+
_request_timeout: Union[
|
|
1937
|
+
None,
|
|
1938
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1939
|
+
Tuple[
|
|
1940
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1941
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1942
|
+
]
|
|
1943
|
+
] = None,
|
|
1944
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1945
|
+
_content_type: Optional[StrictStr] = None,
|
|
1946
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1947
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1948
|
+
) -> ApiResponse[ListIndexesPageResponse]:
|
|
1949
|
+
"""List indexes across tables in a database
|
|
1950
|
+
|
|
1951
|
+
List all indexes in the database identified by the required X-Database-Id header, paginated. Optional filters narrow by connection, schema, table, or index type.
|
|
1952
|
+
|
|
1953
|
+
:param x_database_id: Database to scope to (required) (required)
|
|
1954
|
+
:type x_database_id: str
|
|
1955
|
+
:param connection_id: Filter to one connection
|
|
1956
|
+
:type connection_id: str
|
|
1957
|
+
:param var_schema: Filter by schema name
|
|
1958
|
+
:type var_schema: str
|
|
1959
|
+
:param table: Filter by table name
|
|
1960
|
+
:type table: str
|
|
1961
|
+
:param index_type: Filter by index type
|
|
1962
|
+
:type index_type: str
|
|
1963
|
+
:param limit: Max indexes per page
|
|
1964
|
+
:type limit: int
|
|
1965
|
+
:param cursor: Pagination cursor
|
|
1966
|
+
:type cursor: str
|
|
1967
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1968
|
+
number provided, it will be total request
|
|
1969
|
+
timeout. It can also be a pair (tuple) of
|
|
1970
|
+
(connection, read) timeouts.
|
|
1971
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1972
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1973
|
+
request; this effectively ignores the
|
|
1974
|
+
authentication in the spec for a single request.
|
|
1975
|
+
:type _request_auth: dict, optional
|
|
1976
|
+
:param _content_type: force content-type for the request.
|
|
1977
|
+
:type _content_type: str, Optional
|
|
1978
|
+
:param _headers: set to override the headers for a single
|
|
1979
|
+
request; this effectively ignores the headers
|
|
1980
|
+
in the spec for a single request.
|
|
1981
|
+
:type _headers: dict, optional
|
|
1982
|
+
:param _host_index: set to override the host_index for a single
|
|
1983
|
+
request; this effectively ignores the host_index
|
|
1984
|
+
in the spec for a single request.
|
|
1985
|
+
:type _host_index: int, optional
|
|
1986
|
+
:return: Returns the result object.
|
|
1987
|
+
""" # noqa: E501
|
|
1988
|
+
|
|
1989
|
+
_param = self._list_indexes_collection_serialize(
|
|
1990
|
+
x_database_id=x_database_id,
|
|
1991
|
+
connection_id=connection_id,
|
|
1992
|
+
var_schema=var_schema,
|
|
1993
|
+
table=table,
|
|
1994
|
+
index_type=index_type,
|
|
1995
|
+
limit=limit,
|
|
1996
|
+
cursor=cursor,
|
|
1997
|
+
_request_auth=_request_auth,
|
|
1998
|
+
_content_type=_content_type,
|
|
1999
|
+
_headers=_headers,
|
|
2000
|
+
_host_index=_host_index
|
|
2001
|
+
)
|
|
2002
|
+
|
|
2003
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2004
|
+
'200': "ListIndexesPageResponse",
|
|
2005
|
+
'400': "ApiErrorResponse",
|
|
2006
|
+
'404': "ApiErrorResponse",
|
|
2007
|
+
'500': "ApiErrorResponse",
|
|
2008
|
+
}
|
|
2009
|
+
response_data = self.api_client.call_api(
|
|
2010
|
+
*_param,
|
|
2011
|
+
_request_timeout=_request_timeout
|
|
2012
|
+
)
|
|
2013
|
+
response_data.read()
|
|
2014
|
+
return self.api_client.response_deserialize(
|
|
2015
|
+
response_data=response_data,
|
|
2016
|
+
response_types_map=_response_types_map,
|
|
2017
|
+
)
|
|
2018
|
+
|
|
2019
|
+
|
|
2020
|
+
@validate_call
|
|
2021
|
+
def list_indexes_collection_without_preload_content(
|
|
2022
|
+
self,
|
|
2023
|
+
x_database_id: Annotated[StrictStr, Field(description="Database to scope to (required)")],
|
|
2024
|
+
connection_id: Annotated[Optional[StrictStr], Field(description="Filter to one connection")] = None,
|
|
2025
|
+
var_schema: Annotated[Optional[StrictStr], Field(description="Filter by schema name")] = None,
|
|
2026
|
+
table: Annotated[Optional[StrictStr], Field(description="Filter by table name")] = None,
|
|
2027
|
+
index_type: Annotated[Optional[StrictStr], Field(description="Filter by index type")] = None,
|
|
2028
|
+
limit: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Max indexes per page")] = None,
|
|
2029
|
+
cursor: Annotated[Optional[StrictStr], Field(description="Pagination cursor")] = None,
|
|
2030
|
+
_request_timeout: Union[
|
|
2031
|
+
None,
|
|
2032
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2033
|
+
Tuple[
|
|
2034
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2035
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2036
|
+
]
|
|
2037
|
+
] = None,
|
|
2038
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2039
|
+
_content_type: Optional[StrictStr] = None,
|
|
2040
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2041
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2042
|
+
) -> RESTResponseType:
|
|
2043
|
+
"""List indexes across tables in a database
|
|
2044
|
+
|
|
2045
|
+
List all indexes in the database identified by the required X-Database-Id header, paginated. Optional filters narrow by connection, schema, table, or index type.
|
|
2046
|
+
|
|
2047
|
+
:param x_database_id: Database to scope to (required) (required)
|
|
2048
|
+
:type x_database_id: str
|
|
2049
|
+
:param connection_id: Filter to one connection
|
|
2050
|
+
:type connection_id: str
|
|
2051
|
+
:param var_schema: Filter by schema name
|
|
2052
|
+
:type var_schema: str
|
|
2053
|
+
:param table: Filter by table name
|
|
2054
|
+
:type table: str
|
|
2055
|
+
:param index_type: Filter by index type
|
|
2056
|
+
:type index_type: str
|
|
2057
|
+
:param limit: Max indexes per page
|
|
2058
|
+
:type limit: int
|
|
2059
|
+
:param cursor: Pagination cursor
|
|
2060
|
+
:type cursor: str
|
|
2061
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2062
|
+
number provided, it will be total request
|
|
2063
|
+
timeout. It can also be a pair (tuple) of
|
|
2064
|
+
(connection, read) timeouts.
|
|
2065
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2066
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2067
|
+
request; this effectively ignores the
|
|
2068
|
+
authentication in the spec for a single request.
|
|
2069
|
+
:type _request_auth: dict, optional
|
|
2070
|
+
:param _content_type: force content-type for the request.
|
|
2071
|
+
:type _content_type: str, Optional
|
|
2072
|
+
:param _headers: set to override the headers for a single
|
|
2073
|
+
request; this effectively ignores the headers
|
|
2074
|
+
in the spec for a single request.
|
|
2075
|
+
:type _headers: dict, optional
|
|
2076
|
+
:param _host_index: set to override the host_index for a single
|
|
2077
|
+
request; this effectively ignores the host_index
|
|
2078
|
+
in the spec for a single request.
|
|
2079
|
+
:type _host_index: int, optional
|
|
2080
|
+
:return: Returns the result object.
|
|
2081
|
+
""" # noqa: E501
|
|
2082
|
+
|
|
2083
|
+
_param = self._list_indexes_collection_serialize(
|
|
2084
|
+
x_database_id=x_database_id,
|
|
2085
|
+
connection_id=connection_id,
|
|
2086
|
+
var_schema=var_schema,
|
|
2087
|
+
table=table,
|
|
2088
|
+
index_type=index_type,
|
|
2089
|
+
limit=limit,
|
|
2090
|
+
cursor=cursor,
|
|
2091
|
+
_request_auth=_request_auth,
|
|
2092
|
+
_content_type=_content_type,
|
|
2093
|
+
_headers=_headers,
|
|
2094
|
+
_host_index=_host_index
|
|
2095
|
+
)
|
|
2096
|
+
|
|
2097
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2098
|
+
'200': "ListIndexesPageResponse",
|
|
2099
|
+
'400': "ApiErrorResponse",
|
|
2100
|
+
'404': "ApiErrorResponse",
|
|
2101
|
+
'500': "ApiErrorResponse",
|
|
2102
|
+
}
|
|
2103
|
+
response_data = self.api_client.call_api(
|
|
2104
|
+
*_param,
|
|
2105
|
+
_request_timeout=_request_timeout
|
|
2106
|
+
)
|
|
2107
|
+
return response_data.response
|
|
2108
|
+
|
|
2109
|
+
|
|
2110
|
+
def _list_indexes_collection_serialize(
|
|
2111
|
+
self,
|
|
2112
|
+
x_database_id,
|
|
2113
|
+
connection_id,
|
|
2114
|
+
var_schema,
|
|
2115
|
+
table,
|
|
2116
|
+
index_type,
|
|
2117
|
+
limit,
|
|
2118
|
+
cursor,
|
|
2119
|
+
_request_auth,
|
|
2120
|
+
_content_type,
|
|
2121
|
+
_headers,
|
|
2122
|
+
_host_index,
|
|
2123
|
+
) -> RequestSerialized:
|
|
2124
|
+
|
|
2125
|
+
_host = None
|
|
2126
|
+
|
|
2127
|
+
_collection_formats: Dict[str, str] = {
|
|
2128
|
+
}
|
|
2129
|
+
|
|
2130
|
+
_path_params: Dict[str, str] = {}
|
|
2131
|
+
_query_params: List[Tuple[str, str]] = []
|
|
2132
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2133
|
+
_form_params: List[Tuple[str, str]] = []
|
|
2134
|
+
_files: Dict[
|
|
2135
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
2136
|
+
] = {}
|
|
2137
|
+
_body_params: Optional[bytes] = None
|
|
2138
|
+
|
|
2139
|
+
# process the path parameters
|
|
2140
|
+
# process the query parameters
|
|
2141
|
+
if connection_id is not None:
|
|
2142
|
+
|
|
2143
|
+
_query_params.append(('connection_id', connection_id))
|
|
2144
|
+
|
|
2145
|
+
if var_schema is not None:
|
|
2146
|
+
|
|
2147
|
+
_query_params.append(('schema', var_schema))
|
|
2148
|
+
|
|
2149
|
+
if table is not None:
|
|
2150
|
+
|
|
2151
|
+
_query_params.append(('table', table))
|
|
2152
|
+
|
|
2153
|
+
if index_type is not None:
|
|
2154
|
+
|
|
2155
|
+
_query_params.append(('index_type', index_type))
|
|
2156
|
+
|
|
2157
|
+
if limit is not None:
|
|
2158
|
+
|
|
2159
|
+
_query_params.append(('limit', limit))
|
|
2160
|
+
|
|
2161
|
+
if cursor is not None:
|
|
2162
|
+
|
|
2163
|
+
_query_params.append(('cursor', cursor))
|
|
2164
|
+
|
|
2165
|
+
# process the header parameters
|
|
2166
|
+
if x_database_id is not None:
|
|
2167
|
+
_header_params['X-Database-Id'] = x_database_id
|
|
2168
|
+
# process the form parameters
|
|
2169
|
+
# process the body parameter
|
|
2170
|
+
|
|
2171
|
+
|
|
2172
|
+
# set the HTTP header `Accept`
|
|
2173
|
+
if 'Accept' not in _header_params:
|
|
2174
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2175
|
+
[
|
|
2176
|
+
'application/json'
|
|
2177
|
+
]
|
|
2178
|
+
)
|
|
2179
|
+
|
|
2180
|
+
|
|
2181
|
+
# authentication setting
|
|
2182
|
+
_auth_settings: List[str] = [
|
|
2183
|
+
'WorkspaceId',
|
|
2184
|
+
'BearerAuth'
|
|
2185
|
+
]
|
|
2186
|
+
|
|
2187
|
+
return self.api_client.param_serialize(
|
|
2188
|
+
method='GET',
|
|
2189
|
+
resource_path='/v1/indexes',
|
|
2190
|
+
path_params=_path_params,
|
|
2191
|
+
query_params=_query_params,
|
|
2192
|
+
header_params=_header_params,
|
|
2193
|
+
body=_body_params,
|
|
2194
|
+
post_params=_form_params,
|
|
2195
|
+
files=_files,
|
|
2196
|
+
auth_settings=_auth_settings,
|
|
2197
|
+
collection_formats=_collection_formats,
|
|
2198
|
+
_host=_host,
|
|
2199
|
+
_request_auth=_request_auth
|
|
2200
|
+
)
|
|
2201
|
+
|
|
2202
|
+
|
|
@@ -102,6 +102,7 @@ class QueryApi:
|
|
|
102
102
|
'202': "AsyncQueryResponse",
|
|
103
103
|
'400': "ApiErrorResponse",
|
|
104
104
|
'404': "ApiErrorResponse",
|
|
105
|
+
'429': "ApiErrorResponse",
|
|
105
106
|
'500': "ApiErrorResponse",
|
|
106
107
|
}
|
|
107
108
|
response_data = self.api_client.call_api(
|
|
@@ -177,6 +178,7 @@ class QueryApi:
|
|
|
177
178
|
'202': "AsyncQueryResponse",
|
|
178
179
|
'400': "ApiErrorResponse",
|
|
179
180
|
'404': "ApiErrorResponse",
|
|
181
|
+
'429': "ApiErrorResponse",
|
|
180
182
|
'500': "ApiErrorResponse",
|
|
181
183
|
}
|
|
182
184
|
response_data = self.api_client.call_api(
|
|
@@ -252,6 +254,7 @@ class QueryApi:
|
|
|
252
254
|
'202': "AsyncQueryResponse",
|
|
253
255
|
'400': "ApiErrorResponse",
|
|
254
256
|
'404': "ApiErrorResponse",
|
|
257
|
+
'429': "ApiErrorResponse",
|
|
255
258
|
'500': "ApiErrorResponse",
|
|
256
259
|
}
|
|
257
260
|
response_data = self.api_client.call_api(
|
|
@@ -91,7 +91,7 @@ class ApiClient:
|
|
|
91
91
|
self.default_headers[header_name] = header_value
|
|
92
92
|
self.cookie = cookie
|
|
93
93
|
# Set default User-Agent.
|
|
94
|
-
self.user_agent = 'OpenAPI-Generator/0.
|
|
94
|
+
self.user_agent = 'OpenAPI-Generator/0.3.4/python'
|
|
95
95
|
self.client_side_validation = configuration.client_side_validation
|
|
96
96
|
|
|
97
97
|
def __enter__(self):
|
|
@@ -50,6 +50,22 @@ class ResultNotReadyError(Exception):
|
|
|
50
50
|
)
|
|
51
51
|
|
|
52
52
|
|
|
53
|
+
def _release_conn(response: Any) -> None:
|
|
54
|
+
"""Return a urllib3 connection to the pool without poisoning it.
|
|
55
|
+
|
|
56
|
+
pyarrow stops reading at the Arrow end-of-stream marker, which can leave
|
|
57
|
+
bytes unconsumed at the HTTP layer (e.g. the terminating zero-length chunk
|
|
58
|
+
of a chunked response). ``release_conn`` on a partially-read connection
|
|
59
|
+
hands a tainted socket back to the pool — the next request to reuse it
|
|
60
|
+
fails with ``http.client.ResponseNotReady`` ("Request-sent"). Draining any
|
|
61
|
+
unread bytes first makes the connection safe to reuse.
|
|
62
|
+
"""
|
|
63
|
+
try:
|
|
64
|
+
response.drain_conn()
|
|
65
|
+
finally:
|
|
66
|
+
response.release_conn()
|
|
67
|
+
|
|
68
|
+
|
|
53
69
|
def _import_pyarrow() -> Any:
|
|
54
70
|
try:
|
|
55
71
|
import pyarrow.ipc as ipc # type: ignore[import-untyped]
|
|
@@ -95,7 +111,7 @@ class ResultsApi(_GeneratedResultsApi):
|
|
|
95
111
|
try:
|
|
96
112
|
return ipc.open_stream(response).read_all()
|
|
97
113
|
finally:
|
|
98
|
-
response
|
|
114
|
+
_release_conn(response)
|
|
99
115
|
|
|
100
116
|
@contextmanager
|
|
101
117
|
def stream_result_arrow(
|
|
@@ -108,8 +124,10 @@ class ResultsApi(_GeneratedResultsApi):
|
|
|
108
124
|
) -> Iterator["pa.RecordBatchStreamReader"]:
|
|
109
125
|
"""Yield a :class:`pyarrow.RecordBatchStreamReader` for a ready result.
|
|
110
126
|
|
|
111
|
-
The HTTP connection is released when the context exits
|
|
112
|
-
reader
|
|
127
|
+
The HTTP connection is drained and released when the context exits, so
|
|
128
|
+
exiting early (before the reader is exhausted) reads and discards the
|
|
129
|
+
remaining body to keep the connection reusable. Iterate the reader to
|
|
130
|
+
consume :class:`pyarrow.RecordBatch` messages, or call
|
|
113
131
|
``reader.read_all()`` for a full :class:`pyarrow.Table`.
|
|
114
132
|
|
|
115
133
|
Example::
|
|
@@ -127,7 +145,7 @@ class ResultsApi(_GeneratedResultsApi):
|
|
|
127
145
|
try:
|
|
128
146
|
yield ipc.open_stream(response)
|
|
129
147
|
finally:
|
|
130
|
-
response
|
|
148
|
+
_release_conn(response)
|
|
131
149
|
|
|
132
150
|
def _call_arrow(
|
|
133
151
|
self,
|