hotdata 0.9.1__tar.gz → 0.11.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.9.1 → hotdata-0.11.0}/PKG-INFO +2 -2
- {hotdata-0.9.1 → hotdata-0.11.0}/README.md +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/__init__.py +1 -45
- hotdata-0.11.0/hotdata/_useragent.py +52 -0
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/api/__init__.py +0 -3
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/api/connections_api.py +1 -267
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/api/database_context_api.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/api/databases_api.py +7 -7
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/api/embedding_providers_api.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/api/indexes_api.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/api/information_schema_api.py +4 -4
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/api/jobs_api.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/api/query_api.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/api/query_runs_api.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/api/results_api.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/api/saved_queries_api.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/api/uploads_api.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/api/usage_api.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/api/workspaces_api.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/api_client.py +3 -95
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/arrow.py +10 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/configuration.py +6 -39
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/exceptions.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/__init__.py +1 -20
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/add_managed_schema_request.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/add_managed_table_decl.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/add_managed_table_request.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/api_error_detail.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/api_error_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/async_query_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/attach_database_catalog_request.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/batch_create_upload_request.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/batch_create_upload_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/boolean_profile_detail.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/bulk_create_databases_request.py +2 -2
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/bulk_create_databases_result.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/categorical_profile_detail.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/category_value_info.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/column_definition.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/column_info.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/column_profile_detail.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/column_profile_detail_one_of.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/column_profile_detail_one_of1.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/column_profile_detail_one_of2.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/column_profile_detail_one_of3.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/column_profile_detail_one_of4.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/column_profile_info.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/column_type_spec.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/connection_info.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/create_connection_request.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/create_connection_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/create_database_request.py +2 -2
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/create_database_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/create_embedding_provider_request.py +2 -2
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/create_embedding_provider_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/create_index_request.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/create_saved_query_request.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/create_upload_request.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/create_workspace_request.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/create_workspace_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/database_attachment_info.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/database_batch_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/database_context_entry.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/database_count_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/database_default_schema_decl.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/database_default_table_decl.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/database_detail_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/database_summary.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/delete_database_batch_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/discovery_status.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/embedding_provider_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/error.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/execute_saved_query_request.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/finalize_upload_part.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/finalize_upload_request.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/finalize_upload_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/fork_database_request.py +2 -2
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/get_connection_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/get_database_context_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/get_result_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/index_entry_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/index_info_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/index_status.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/information_schema_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/job_result.py +12 -40
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/job_status.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/job_status_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/job_type.py +1 -3
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/list_connections_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/list_database_contexts_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/list_databases_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/list_embedding_providers_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/list_indexes_page_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/list_indexes_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/list_jobs_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/list_query_runs_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/list_results_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/list_saved_queries_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/list_saved_query_versions_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/list_workspaces_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/load_managed_table_request.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/load_managed_table_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/managed_schema_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/managed_table_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/mint_upload_parts_request.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/mint_upload_parts_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/minted_upload_part_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/numeric_profile_detail.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/query_request.py +9 -2
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/query_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/query_run_info.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/result_info.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/results_format_query.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/saved_query_detail.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/saved_query_summary.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/saved_query_version_info.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/submit_job_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/table_info.py +3 -3
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/table_partition_key.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/table_profile_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/table_sort_key.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/temporal_profile_detail.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/text_profile_detail.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/update_embedding_provider_request.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/update_embedding_provider_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/update_saved_query_request.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/upload_session_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/upsert_database_context_request.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/upsert_database_context_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/workspace_detail.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/workspace_list_item.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/models/workspace_usage_response.py +2 -2
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/rest.py +21 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata.egg-info/PKG-INFO +2 -2
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata.egg-info/SOURCES.txt +3 -46
- {hotdata-0.9.1 → hotdata-0.11.0}/pyproject.toml +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_add_managed_schema_request.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_add_managed_table_decl.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_add_managed_table_request.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_api_error_detail.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_api_error_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_async_query_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_attach_database_catalog_request.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_batch_create_upload_request.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_batch_create_upload_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_boolean_profile_detail.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_bulk_create_databases_request.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_bulk_create_databases_result.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_categorical_profile_detail.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_category_value_info.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_column_definition.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_column_info.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_column_profile_detail.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_column_profile_detail_one_of.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_column_profile_detail_one_of1.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_column_profile_detail_one_of2.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_column_profile_detail_one_of3.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_column_profile_detail_one_of4.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_column_profile_info.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_column_type_spec.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_connection_info.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_connections_api.py +1 -8
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_create_connection_request.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_create_connection_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_create_database_request.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_create_database_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_create_embedding_provider_request.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_create_embedding_provider_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_create_index_request.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_create_saved_query_request.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_create_upload_request.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_create_workspace_request.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_create_workspace_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_database_attachment_info.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_database_batch_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_database_context_api.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_database_context_entry.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_database_count_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_database_default_schema_decl.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_database_default_table_decl.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_database_detail_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_database_summary.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_databases_api.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_delete_database_batch_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_discovery_status.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_embedding_provider_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_embedding_providers_api.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_error.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_execute_saved_query_request.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_finalize_upload_part.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_finalize_upload_request.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_finalize_upload_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_fork_database_request.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_get_connection_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_get_database_context_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_get_result_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_index_entry_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_index_info_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_index_status.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_indexes_api.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_information_schema_api.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_information_schema_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_job_result.py +7 -29
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_job_status.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_job_status_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_job_type.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_jobs_api.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_list_connections_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_list_database_contexts_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_list_databases_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_list_embedding_providers_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_list_indexes_page_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_list_indexes_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_list_jobs_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_list_query_runs_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_list_results_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_list_saved_queries_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_list_saved_query_versions_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_list_workspaces_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_load_managed_table_request.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_load_managed_table_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_managed_schema_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_managed_table_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_mint_upload_parts_request.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_mint_upload_parts_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_minted_upload_part_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_numeric_profile_detail.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_query_api.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_query_request.py +2 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_query_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_query_run_info.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_query_runs_api.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_result_info.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_results_api.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_results_format_query.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_saved_queries_api.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_saved_query_detail.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_saved_query_summary.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_saved_query_version_info.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_submit_job_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_table_info.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_table_partition_key.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_table_profile_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_table_sort_key.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_temporal_profile_detail.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_text_profile_detail.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_update_embedding_provider_request.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_update_embedding_provider_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_update_saved_query_request.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_upload_session_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_uploads_api.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_upsert_database_context_request.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_upsert_database_context_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_usage_api.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_workspace_detail.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_workspace_list_item.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_workspace_usage_response.py +1 -1
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_workspaces_api.py +1 -1
- hotdata-0.11.0/tests/test_api_token_auth.py +156 -0
- {hotdata-0.9.1 → hotdata-0.11.0}/tests/test_arrow.py +4 -5
- {hotdata-0.9.1 → hotdata-0.11.0}/tests/test_config_auth_surface.py +2 -4
- hotdata-0.11.0/tests/test_request_defaults.py +191 -0
- hotdata-0.9.1/hotdata/_auth.py +0 -458
- hotdata-0.9.1/hotdata/api/connection_types_api.py +0 -551
- hotdata-0.9.1/hotdata/api/refresh_api.py +0 -324
- hotdata-0.9.1/hotdata/api/secrets_api.py +0 -1385
- hotdata-0.9.1/hotdata/models/connection_health_response.py +0 -100
- hotdata-0.9.1/hotdata/models/connection_refresh_result.py +0 -117
- hotdata-0.9.1/hotdata/models/connection_schema_error.py +0 -90
- hotdata-0.9.1/hotdata/models/connection_type_detail.py +0 -104
- hotdata-0.9.1/hotdata/models/connection_type_summary.py +0 -90
- hotdata-0.9.1/hotdata/models/create_secret_request.py +0 -90
- hotdata-0.9.1/hotdata/models/create_secret_response.py +0 -93
- hotdata-0.9.1/hotdata/models/get_secret_response.py +0 -93
- hotdata-0.9.1/hotdata/models/list_connection_types_response.py +0 -96
- hotdata-0.9.1/hotdata/models/list_secrets_response.py +0 -96
- hotdata-0.9.1/hotdata/models/refresh_request.py +0 -121
- hotdata-0.9.1/hotdata/models/refresh_response.py +0 -152
- hotdata-0.9.1/hotdata/models/refresh_warning.py +0 -102
- hotdata-0.9.1/hotdata/models/schema_refresh_result.py +0 -107
- hotdata-0.9.1/hotdata/models/secret_metadata_response.py +0 -93
- hotdata-0.9.1/hotdata/models/table_refresh_error.py +0 -92
- hotdata-0.9.1/hotdata/models/table_refresh_result.py +0 -107
- hotdata-0.9.1/hotdata/models/update_secret_request.py +0 -88
- hotdata-0.9.1/hotdata/models/update_secret_response.py +0 -91
- hotdata-0.9.1/test/test_connection_health_response.py +0 -58
- hotdata-0.9.1/test/test_connection_refresh_result.py +0 -73
- hotdata-0.9.1/test/test_connection_schema_error.py +0 -55
- hotdata-0.9.1/test/test_connection_type_detail.py +0 -57
- hotdata-0.9.1/test/test_connection_type_summary.py +0 -55
- hotdata-0.9.1/test/test_connection_types_api.py +0 -46
- hotdata-0.9.1/test/test_create_secret_request.py +0 -55
- hotdata-0.9.1/test/test_create_secret_response.py +0 -57
- hotdata-0.9.1/test/test_get_secret_response.py +0 -57
- hotdata-0.9.1/test/test_list_connection_types_response.py +0 -61
- hotdata-0.9.1/test/test_list_secrets_response.py +0 -63
- hotdata-0.9.1/test/test_refresh_api.py +0 -39
- hotdata-0.9.1/test/test_refresh_request.py +0 -58
- hotdata-0.9.1/test/test_refresh_response.py +0 -89
- hotdata-0.9.1/test/test_refresh_warning.py +0 -55
- hotdata-0.9.1/test/test_schema_refresh_result.py +0 -66
- hotdata-0.9.1/test/test_secret_metadata_response.py +0 -57
- hotdata-0.9.1/test/test_secrets_api.py +0 -67
- hotdata-0.9.1/test/test_table_refresh_error.py +0 -57
- hotdata-0.9.1/test/test_table_refresh_result.py +0 -67
- hotdata-0.9.1/test/test_update_secret_request.py +0 -53
- hotdata-0.9.1/test/test_update_secret_response.py +0 -55
- hotdata-0.9.1/tests/test_auth.py +0 -1239
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/_retry.py +0 -0
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/_upload_watchdog.py +0 -0
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/api_response.py +0 -0
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/py.typed +0 -0
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/query.py +0 -0
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata/uploads.py +0 -0
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata.egg-info/dependency_links.txt +0 -0
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata.egg-info/requires.txt +0 -0
- {hotdata-0.9.1 → hotdata-0.11.0}/hotdata.egg-info/top_level.txt +0 -0
- {hotdata-0.9.1 → hotdata-0.11.0}/setup.cfg +0 -0
- {hotdata-0.9.1 → hotdata-0.11.0}/test/test_api_client_close.py +0 -0
- {hotdata-0.9.1 → hotdata-0.11.0}/tests/test_query.py +0 -0
- {hotdata-0.9.1 → hotdata-0.11.0}/tests/test_retry.py +0 -0
- {hotdata-0.9.1 → hotdata-0.11.0}/tests/test_update_changelog.py +0 -0
- {hotdata-0.9.1 → hotdata-0.11.0}/tests/test_upload_codex_fixes.py +0 -0
- {hotdata-0.9.1 → hotdata-0.11.0}/tests/test_upload_multipart_resilient.py +0 -0
- {hotdata-0.9.1 → hotdata-0.11.0}/tests/test_upload_parity_fixes.py +0 -0
- {hotdata-0.9.1 → hotdata-0.11.0}/tests/test_upload_resilient.py +0 -0
- {hotdata-0.9.1 → hotdata-0.11.0}/tests/test_upload_retry_policy.py +0 -0
- {hotdata-0.9.1 → hotdata-0.11.0}/tests/test_upload_watchdog.py +0 -0
- {hotdata-0.9.1 → hotdata-0.11.0}/tests/test_uploads.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: hotdata
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.11.0
|
|
4
4
|
Summary: Hotdata API
|
|
5
5
|
Author-email: Hotdata <developers@hotdata.dev>
|
|
6
6
|
License: MIT
|
|
@@ -18,7 +18,7 @@ Requires-Dist: pyarrow>=14.0.1; extra == "arrow"
|
|
|
18
18
|
|
|
19
19
|
# hotdata
|
|
20
20
|
|
|
21
|
-
Official Python client for the [Hotdata](https://www.hotdata.dev) HTTP API: workspaces, connections,
|
|
21
|
+
Official Python client for the [Hotdata](https://www.hotdata.dev) HTTP API: workspaces, connections, instant databases, SQL queries, results, uploads, indexes, jobs, embedding providers, and database context.
|
|
22
22
|
|
|
23
23
|
## Requirements
|
|
24
24
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# hotdata
|
|
2
2
|
|
|
3
|
-
Official Python client for the [Hotdata](https://www.hotdata.dev) HTTP API: workspaces, connections,
|
|
3
|
+
Official Python client for the [Hotdata](https://www.hotdata.dev) HTTP API: workspaces, connections, instant databases, SQL queries, results, uploads, indexes, jobs, embedding providers, and database context.
|
|
4
4
|
|
|
5
5
|
## Requirements
|
|
6
6
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"""
|
|
6
6
|
Hotdata API
|
|
7
7
|
|
|
8
|
-
Powerful data platform API for
|
|
8
|
+
Powerful data platform API for instant databases, queries, and analytics.
|
|
9
9
|
|
|
10
10
|
The version of the OpenAPI document: 1.0.0
|
|
11
11
|
Contact: developers@hotdata.dev
|
|
@@ -24,7 +24,6 @@ except PackageNotFoundError: # running from a source checkout without install
|
|
|
24
24
|
|
|
25
25
|
# Define package exports
|
|
26
26
|
__all__ = [
|
|
27
|
-
"ConnectionTypesApi",
|
|
28
27
|
"ConnectionsApi",
|
|
29
28
|
"DatabaseContextApi",
|
|
30
29
|
"DatabasesApi",
|
|
@@ -34,10 +33,8 @@ __all__ = [
|
|
|
34
33
|
"JobsApi",
|
|
35
34
|
"QueryApi",
|
|
36
35
|
"QueryRunsApi",
|
|
37
|
-
"RefreshApi",
|
|
38
36
|
"ResultsApi",
|
|
39
37
|
"SavedQueriesApi",
|
|
40
|
-
"SecretsApi",
|
|
41
38
|
"UploadsApi",
|
|
42
39
|
"UsageApi",
|
|
43
40
|
"WorkspacesApi",
|
|
@@ -74,12 +71,7 @@ __all__ = [
|
|
|
74
71
|
"ColumnProfileDetailOneOf4",
|
|
75
72
|
"ColumnProfileInfo",
|
|
76
73
|
"ColumnTypeSpec",
|
|
77
|
-
"ConnectionHealthResponse",
|
|
78
74
|
"ConnectionInfo",
|
|
79
|
-
"ConnectionRefreshResult",
|
|
80
|
-
"ConnectionSchemaError",
|
|
81
|
-
"ConnectionTypeDetail",
|
|
82
|
-
"ConnectionTypeSummary",
|
|
83
75
|
"CreateConnectionRequest",
|
|
84
76
|
"CreateConnectionResponse",
|
|
85
77
|
"CreateDatabaseRequest",
|
|
@@ -88,8 +80,6 @@ __all__ = [
|
|
|
88
80
|
"CreateEmbeddingProviderResponse",
|
|
89
81
|
"CreateIndexRequest",
|
|
90
82
|
"CreateSavedQueryRequest",
|
|
91
|
-
"CreateSecretRequest",
|
|
92
|
-
"CreateSecretResponse",
|
|
93
83
|
"CreateUploadRequest",
|
|
94
84
|
"CreateWorkspaceRequest",
|
|
95
85
|
"CreateWorkspaceResponse",
|
|
@@ -113,7 +103,6 @@ __all__ = [
|
|
|
113
103
|
"GetConnectionResponse",
|
|
114
104
|
"GetDatabaseContextResponse",
|
|
115
105
|
"GetResultResponse",
|
|
116
|
-
"GetSecretResponse",
|
|
117
106
|
"IndexEntryResponse",
|
|
118
107
|
"IndexInfoResponse",
|
|
119
108
|
"IndexStatus",
|
|
@@ -122,7 +111,6 @@ __all__ = [
|
|
|
122
111
|
"JobStatus",
|
|
123
112
|
"JobStatusResponse",
|
|
124
113
|
"JobType",
|
|
125
|
-
"ListConnectionTypesResponse",
|
|
126
114
|
"ListConnectionsResponse",
|
|
127
115
|
"ListDatabaseContextsResponse",
|
|
128
116
|
"ListDatabasesResponse",
|
|
@@ -134,7 +122,6 @@ __all__ = [
|
|
|
134
122
|
"ListResultsResponse",
|
|
135
123
|
"ListSavedQueriesResponse",
|
|
136
124
|
"ListSavedQueryVersionsResponse",
|
|
137
|
-
"ListSecretsResponse",
|
|
138
125
|
"ListWorkspacesResponse",
|
|
139
126
|
"LoadManagedTableRequest",
|
|
140
127
|
"LoadManagedTableResponse",
|
|
@@ -147,30 +134,21 @@ __all__ = [
|
|
|
147
134
|
"QueryRequest",
|
|
148
135
|
"QueryResponse",
|
|
149
136
|
"QueryRunInfo",
|
|
150
|
-
"RefreshRequest",
|
|
151
|
-
"RefreshResponse",
|
|
152
|
-
"RefreshWarning",
|
|
153
137
|
"ResultInfo",
|
|
154
138
|
"ResultsFormatQuery",
|
|
155
139
|
"SavedQueryDetail",
|
|
156
140
|
"SavedQuerySummary",
|
|
157
141
|
"SavedQueryVersionInfo",
|
|
158
|
-
"SchemaRefreshResult",
|
|
159
|
-
"SecretMetadataResponse",
|
|
160
142
|
"SubmitJobResponse",
|
|
161
143
|
"TableInfo",
|
|
162
144
|
"TablePartitionKey",
|
|
163
145
|
"TableProfileResponse",
|
|
164
|
-
"TableRefreshError",
|
|
165
|
-
"TableRefreshResult",
|
|
166
146
|
"TableSortKey",
|
|
167
147
|
"TemporalProfileDetail",
|
|
168
148
|
"TextProfileDetail",
|
|
169
149
|
"UpdateEmbeddingProviderRequest",
|
|
170
150
|
"UpdateEmbeddingProviderResponse",
|
|
171
151
|
"UpdateSavedQueryRequest",
|
|
172
|
-
"UpdateSecretRequest",
|
|
173
|
-
"UpdateSecretResponse",
|
|
174
152
|
"UploadSessionResponse",
|
|
175
153
|
"UpsertDatabaseContextRequest",
|
|
176
154
|
"UpsertDatabaseContextResponse",
|
|
@@ -180,7 +158,6 @@ __all__ = [
|
|
|
180
158
|
]
|
|
181
159
|
|
|
182
160
|
# import apis into sdk package
|
|
183
|
-
from hotdata.api.connection_types_api import ConnectionTypesApi as ConnectionTypesApi
|
|
184
161
|
from hotdata.api.connections_api import ConnectionsApi as ConnectionsApi
|
|
185
162
|
from hotdata.api.database_context_api import DatabaseContextApi as DatabaseContextApi
|
|
186
163
|
from hotdata.api.databases_api import DatabasesApi as DatabasesApi
|
|
@@ -190,10 +167,8 @@ from hotdata.api.information_schema_api import InformationSchemaApi as Informati
|
|
|
190
167
|
from hotdata.api.jobs_api import JobsApi as JobsApi
|
|
191
168
|
from hotdata.api.query_api import QueryApi as QueryApi
|
|
192
169
|
from hotdata.api.query_runs_api import QueryRunsApi as QueryRunsApi
|
|
193
|
-
from hotdata.api.refresh_api import RefreshApi as RefreshApi
|
|
194
170
|
from hotdata.api.results_api import ResultsApi as ResultsApi
|
|
195
171
|
from hotdata.api.saved_queries_api import SavedQueriesApi as SavedQueriesApi
|
|
196
|
-
from hotdata.api.secrets_api import SecretsApi as SecretsApi
|
|
197
172
|
from hotdata.api.uploads_api import UploadsApi as UploadsApi
|
|
198
173
|
from hotdata.api.usage_api import UsageApi as UsageApi
|
|
199
174
|
from hotdata.api.workspaces_api import WorkspacesApi as WorkspacesApi
|
|
@@ -234,12 +209,7 @@ from hotdata.models.column_profile_detail_one_of3 import ColumnProfileDetailOneO
|
|
|
234
209
|
from hotdata.models.column_profile_detail_one_of4 import ColumnProfileDetailOneOf4 as ColumnProfileDetailOneOf4
|
|
235
210
|
from hotdata.models.column_profile_info import ColumnProfileInfo as ColumnProfileInfo
|
|
236
211
|
from hotdata.models.column_type_spec import ColumnTypeSpec as ColumnTypeSpec
|
|
237
|
-
from hotdata.models.connection_health_response import ConnectionHealthResponse as ConnectionHealthResponse
|
|
238
212
|
from hotdata.models.connection_info import ConnectionInfo as ConnectionInfo
|
|
239
|
-
from hotdata.models.connection_refresh_result import ConnectionRefreshResult as ConnectionRefreshResult
|
|
240
|
-
from hotdata.models.connection_schema_error import ConnectionSchemaError as ConnectionSchemaError
|
|
241
|
-
from hotdata.models.connection_type_detail import ConnectionTypeDetail as ConnectionTypeDetail
|
|
242
|
-
from hotdata.models.connection_type_summary import ConnectionTypeSummary as ConnectionTypeSummary
|
|
243
213
|
from hotdata.models.create_connection_request import CreateConnectionRequest as CreateConnectionRequest
|
|
244
214
|
from hotdata.models.create_connection_response import CreateConnectionResponse as CreateConnectionResponse
|
|
245
215
|
from hotdata.models.create_database_request import CreateDatabaseRequest as CreateDatabaseRequest
|
|
@@ -248,8 +218,6 @@ from hotdata.models.create_embedding_provider_request import CreateEmbeddingProv
|
|
|
248
218
|
from hotdata.models.create_embedding_provider_response import CreateEmbeddingProviderResponse as CreateEmbeddingProviderResponse
|
|
249
219
|
from hotdata.models.create_index_request import CreateIndexRequest as CreateIndexRequest
|
|
250
220
|
from hotdata.models.create_saved_query_request import CreateSavedQueryRequest as CreateSavedQueryRequest
|
|
251
|
-
from hotdata.models.create_secret_request import CreateSecretRequest as CreateSecretRequest
|
|
252
|
-
from hotdata.models.create_secret_response import CreateSecretResponse as CreateSecretResponse
|
|
253
221
|
from hotdata.models.create_upload_request import CreateUploadRequest as CreateUploadRequest
|
|
254
222
|
from hotdata.models.create_workspace_request import CreateWorkspaceRequest as CreateWorkspaceRequest
|
|
255
223
|
from hotdata.models.create_workspace_response import CreateWorkspaceResponse as CreateWorkspaceResponse
|
|
@@ -273,7 +241,6 @@ from hotdata.models.fork_database_request import ForkDatabaseRequest as ForkData
|
|
|
273
241
|
from hotdata.models.get_connection_response import GetConnectionResponse as GetConnectionResponse
|
|
274
242
|
from hotdata.models.get_database_context_response import GetDatabaseContextResponse as GetDatabaseContextResponse
|
|
275
243
|
from hotdata.models.get_result_response import GetResultResponse as GetResultResponse
|
|
276
|
-
from hotdata.models.get_secret_response import GetSecretResponse as GetSecretResponse
|
|
277
244
|
from hotdata.models.index_entry_response import IndexEntryResponse as IndexEntryResponse
|
|
278
245
|
from hotdata.models.index_info_response import IndexInfoResponse as IndexInfoResponse
|
|
279
246
|
from hotdata.models.index_status import IndexStatus as IndexStatus
|
|
@@ -282,7 +249,6 @@ from hotdata.models.job_result import JobResult as JobResult
|
|
|
282
249
|
from hotdata.models.job_status import JobStatus as JobStatus
|
|
283
250
|
from hotdata.models.job_status_response import JobStatusResponse as JobStatusResponse
|
|
284
251
|
from hotdata.models.job_type import JobType as JobType
|
|
285
|
-
from hotdata.models.list_connection_types_response import ListConnectionTypesResponse as ListConnectionTypesResponse
|
|
286
252
|
from hotdata.models.list_connections_response import ListConnectionsResponse as ListConnectionsResponse
|
|
287
253
|
from hotdata.models.list_database_contexts_response import ListDatabaseContextsResponse as ListDatabaseContextsResponse
|
|
288
254
|
from hotdata.models.list_databases_response import ListDatabasesResponse as ListDatabasesResponse
|
|
@@ -294,7 +260,6 @@ from hotdata.models.list_query_runs_response import ListQueryRunsResponse as Lis
|
|
|
294
260
|
from hotdata.models.list_results_response import ListResultsResponse as ListResultsResponse
|
|
295
261
|
from hotdata.models.list_saved_queries_response import ListSavedQueriesResponse as ListSavedQueriesResponse
|
|
296
262
|
from hotdata.models.list_saved_query_versions_response import ListSavedQueryVersionsResponse as ListSavedQueryVersionsResponse
|
|
297
|
-
from hotdata.models.list_secrets_response import ListSecretsResponse as ListSecretsResponse
|
|
298
263
|
from hotdata.models.list_workspaces_response import ListWorkspacesResponse as ListWorkspacesResponse
|
|
299
264
|
from hotdata.models.load_managed_table_request import LoadManagedTableRequest as LoadManagedTableRequest
|
|
300
265
|
from hotdata.models.load_managed_table_response import LoadManagedTableResponse as LoadManagedTableResponse
|
|
@@ -307,30 +272,21 @@ from hotdata.models.numeric_profile_detail import NumericProfileDetail as Numeri
|
|
|
307
272
|
from hotdata.models.query_request import QueryRequest as QueryRequest
|
|
308
273
|
from hotdata.models.query_response import QueryResponse as QueryResponse
|
|
309
274
|
from hotdata.models.query_run_info import QueryRunInfo as QueryRunInfo
|
|
310
|
-
from hotdata.models.refresh_request import RefreshRequest as RefreshRequest
|
|
311
|
-
from hotdata.models.refresh_response import RefreshResponse as RefreshResponse
|
|
312
|
-
from hotdata.models.refresh_warning import RefreshWarning as RefreshWarning
|
|
313
275
|
from hotdata.models.result_info import ResultInfo as ResultInfo
|
|
314
276
|
from hotdata.models.results_format_query import ResultsFormatQuery as ResultsFormatQuery
|
|
315
277
|
from hotdata.models.saved_query_detail import SavedQueryDetail as SavedQueryDetail
|
|
316
278
|
from hotdata.models.saved_query_summary import SavedQuerySummary as SavedQuerySummary
|
|
317
279
|
from hotdata.models.saved_query_version_info import SavedQueryVersionInfo as SavedQueryVersionInfo
|
|
318
|
-
from hotdata.models.schema_refresh_result import SchemaRefreshResult as SchemaRefreshResult
|
|
319
|
-
from hotdata.models.secret_metadata_response import SecretMetadataResponse as SecretMetadataResponse
|
|
320
280
|
from hotdata.models.submit_job_response import SubmitJobResponse as SubmitJobResponse
|
|
321
281
|
from hotdata.models.table_info import TableInfo as TableInfo
|
|
322
282
|
from hotdata.models.table_partition_key import TablePartitionKey as TablePartitionKey
|
|
323
283
|
from hotdata.models.table_profile_response import TableProfileResponse as TableProfileResponse
|
|
324
|
-
from hotdata.models.table_refresh_error import TableRefreshError as TableRefreshError
|
|
325
|
-
from hotdata.models.table_refresh_result import TableRefreshResult as TableRefreshResult
|
|
326
284
|
from hotdata.models.table_sort_key import TableSortKey as TableSortKey
|
|
327
285
|
from hotdata.models.temporal_profile_detail import TemporalProfileDetail as TemporalProfileDetail
|
|
328
286
|
from hotdata.models.text_profile_detail import TextProfileDetail as TextProfileDetail
|
|
329
287
|
from hotdata.models.update_embedding_provider_request import UpdateEmbeddingProviderRequest as UpdateEmbeddingProviderRequest
|
|
330
288
|
from hotdata.models.update_embedding_provider_response import UpdateEmbeddingProviderResponse as UpdateEmbeddingProviderResponse
|
|
331
289
|
from hotdata.models.update_saved_query_request import UpdateSavedQueryRequest as UpdateSavedQueryRequest
|
|
332
|
-
from hotdata.models.update_secret_request import UpdateSecretRequest as UpdateSecretRequest
|
|
333
|
-
from hotdata.models.update_secret_response import UpdateSecretResponse as UpdateSecretResponse
|
|
334
290
|
from hotdata.models.upload_session_response import UploadSessionResponse as UploadSessionResponse
|
|
335
291
|
from hotdata.models.upsert_database_context_request import UpsertDatabaseContextRequest as UpsertDatabaseContextRequest
|
|
336
292
|
from hotdata.models.upsert_database_context_response import UpsertDatabaseContextResponse as UpsertDatabaseContextResponse
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"""The SDK's default ``User-Agent``.
|
|
2
|
+
|
|
3
|
+
The generator's default is ``OpenAPI-Generator/1.0.0/python``, which identifies
|
|
4
|
+
neither the SDK nor its version — server-side telemetry cannot tell a hotdata
|
|
5
|
+
client from any other generated client, let alone one release from another.
|
|
6
|
+
|
|
7
|
+
openapi-generator *does* expose an ``httpUserAgent`` property for this, but it
|
|
8
|
+
bakes a literal string in at **generation** time. Regeneration is driven by
|
|
9
|
+
OpenAPI spec changes, not by releases, so a baked version string reports
|
|
10
|
+
whatever the version happened to be at the last regen — it would go stale
|
|
11
|
+
silently and misattribute traffic, which is worse than the generic default. The
|
|
12
|
+
version is therefore resolved at import time from installed package metadata,
|
|
13
|
+
the same source :mod:`hotdata.__init__` uses for ``__version__``.
|
|
14
|
+
|
|
15
|
+
This lives outside the generated modules (see ``.openapi-generator-ignore``) so
|
|
16
|
+
a regeneration cannot overwrite it; ``scripts/patch_request_defaults.py`` only
|
|
17
|
+
has to re-point ``ApiClient`` at the constant.
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
from __future__ import annotations
|
|
21
|
+
|
|
22
|
+
import importlib.metadata
|
|
23
|
+
import platform
|
|
24
|
+
|
|
25
|
+
import urllib3
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
def _default_user_agent() -> str:
|
|
29
|
+
"""``hotdata-python/<version> (Python/<py>; urllib3/<urllib3>)``.
|
|
30
|
+
|
|
31
|
+
The runtime versions ride along because the transport stack is where
|
|
32
|
+
client-side failures usually originate: knowing which urllib3 a bug report
|
|
33
|
+
came from is the difference between reproducing a problem and guessing.
|
|
34
|
+
"""
|
|
35
|
+
try:
|
|
36
|
+
sdk_version = importlib.metadata.version("hotdata")
|
|
37
|
+
except importlib.metadata.PackageNotFoundError:
|
|
38
|
+
# Running from a source checkout without an install.
|
|
39
|
+
sdk_version = "0.0.0+unknown"
|
|
40
|
+
return (
|
|
41
|
+
f"hotdata-python/{sdk_version} "
|
|
42
|
+
f"(Python/{platform.python_version()}; urllib3/{urllib3.__version__})"
|
|
43
|
+
)
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
#: Sent as ``User-Agent`` on every request. ``ApiClient.user_agent`` still
|
|
47
|
+
#: overrides it per client, which is the supported way for an application to
|
|
48
|
+
#: identify itself.
|
|
49
|
+
USER_AGENT = _default_user_agent()
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
__all__ = ["USER_AGENT", "_default_user_agent"]
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
# flake8: noqa
|
|
2
2
|
|
|
3
3
|
# import apis into api package
|
|
4
|
-
from hotdata.api.connection_types_api import ConnectionTypesApi
|
|
5
4
|
from hotdata.api.connections_api import ConnectionsApi
|
|
6
5
|
from hotdata.api.database_context_api import DatabaseContextApi
|
|
7
6
|
from hotdata.api.databases_api import DatabasesApi
|
|
@@ -11,10 +10,8 @@ from hotdata.api.information_schema_api import InformationSchemaApi
|
|
|
11
10
|
from hotdata.api.jobs_api import JobsApi
|
|
12
11
|
from hotdata.api.query_api import QueryApi
|
|
13
12
|
from hotdata.api.query_runs_api import QueryRunsApi
|
|
14
|
-
from hotdata.api.refresh_api import RefreshApi
|
|
15
13
|
from hotdata.api.results_api import ResultsApi
|
|
16
14
|
from hotdata.api.saved_queries_api import SavedQueriesApi
|
|
17
|
-
from hotdata.api.secrets_api import SecretsApi
|
|
18
15
|
from hotdata.api.uploads_api import UploadsApi
|
|
19
16
|
from hotdata.api.usage_api import UsageApi
|
|
20
17
|
from hotdata.api.workspaces_api import WorkspacesApi
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Hotdata API
|
|
3
3
|
|
|
4
|
-
Powerful data platform API for
|
|
4
|
+
Powerful data platform API for instant databases, queries, and analytics.
|
|
5
5
|
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
|
7
7
|
Contact: developers@hotdata.dev
|
|
@@ -20,7 +20,6 @@ from pydantic import Field, StrictStr
|
|
|
20
20
|
from typing_extensions import Annotated
|
|
21
21
|
from hotdata.models.add_managed_schema_request import AddManagedSchemaRequest
|
|
22
22
|
from hotdata.models.add_managed_table_request import AddManagedTableRequest
|
|
23
|
-
from hotdata.models.connection_health_response import ConnectionHealthResponse
|
|
24
23
|
from hotdata.models.create_connection_request import CreateConnectionRequest
|
|
25
24
|
from hotdata.models.create_connection_response import CreateConnectionResponse
|
|
26
25
|
from hotdata.models.get_connection_response import GetConnectionResponse
|
|
@@ -662,271 +661,6 @@ class ConnectionsApi:
|
|
|
662
661
|
|
|
663
662
|
|
|
664
663
|
|
|
665
|
-
@validate_call
|
|
666
|
-
def check_connection_health(
|
|
667
|
-
self,
|
|
668
|
-
connection_id: Annotated[StrictStr, Field(description="Connection ID")],
|
|
669
|
-
_request_timeout: Union[
|
|
670
|
-
None,
|
|
671
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
672
|
-
Tuple[
|
|
673
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
674
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
675
|
-
]
|
|
676
|
-
] = None,
|
|
677
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
678
|
-
_content_type: Optional[StrictStr] = None,
|
|
679
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
680
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
681
|
-
) -> ConnectionHealthResponse:
|
|
682
|
-
"""Check connection health
|
|
683
|
-
|
|
684
|
-
Test connectivity to the remote database. Returns health status and latency.
|
|
685
|
-
|
|
686
|
-
:param connection_id: Connection ID (required)
|
|
687
|
-
:type connection_id: str
|
|
688
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
689
|
-
number provided, it will be total request
|
|
690
|
-
timeout. It can also be a pair (tuple) of
|
|
691
|
-
(connection, read) timeouts.
|
|
692
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
693
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
694
|
-
request; this effectively ignores the
|
|
695
|
-
authentication in the spec for a single request.
|
|
696
|
-
:type _request_auth: dict, optional
|
|
697
|
-
:param _content_type: force content-type for the request.
|
|
698
|
-
:type _content_type: str, Optional
|
|
699
|
-
:param _headers: set to override the headers for a single
|
|
700
|
-
request; this effectively ignores the headers
|
|
701
|
-
in the spec for a single request.
|
|
702
|
-
:type _headers: dict, optional
|
|
703
|
-
:param _host_index: set to override the host_index for a single
|
|
704
|
-
request; this effectively ignores the host_index
|
|
705
|
-
in the spec for a single request.
|
|
706
|
-
:type _host_index: int, optional
|
|
707
|
-
:return: Returns the result object.
|
|
708
|
-
""" # noqa: E501
|
|
709
|
-
|
|
710
|
-
_param = self._check_connection_health_serialize(
|
|
711
|
-
connection_id=connection_id,
|
|
712
|
-
_request_auth=_request_auth,
|
|
713
|
-
_content_type=_content_type,
|
|
714
|
-
_headers=_headers,
|
|
715
|
-
_host_index=_host_index
|
|
716
|
-
)
|
|
717
|
-
|
|
718
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
719
|
-
'200': "ConnectionHealthResponse",
|
|
720
|
-
'404': "ApiErrorResponse",
|
|
721
|
-
}
|
|
722
|
-
response_data = self.api_client.call_api(
|
|
723
|
-
*_param,
|
|
724
|
-
_request_timeout=_request_timeout
|
|
725
|
-
)
|
|
726
|
-
response_data.read()
|
|
727
|
-
return self.api_client.response_deserialize(
|
|
728
|
-
response_data=response_data,
|
|
729
|
-
response_types_map=_response_types_map,
|
|
730
|
-
).data
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
@validate_call
|
|
734
|
-
def check_connection_health_with_http_info(
|
|
735
|
-
self,
|
|
736
|
-
connection_id: Annotated[StrictStr, Field(description="Connection ID")],
|
|
737
|
-
_request_timeout: Union[
|
|
738
|
-
None,
|
|
739
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
740
|
-
Tuple[
|
|
741
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
742
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
743
|
-
]
|
|
744
|
-
] = None,
|
|
745
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
746
|
-
_content_type: Optional[StrictStr] = None,
|
|
747
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
748
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
749
|
-
) -> ApiResponse[ConnectionHealthResponse]:
|
|
750
|
-
"""Check connection health
|
|
751
|
-
|
|
752
|
-
Test connectivity to the remote database. Returns health status and latency.
|
|
753
|
-
|
|
754
|
-
:param connection_id: Connection ID (required)
|
|
755
|
-
:type connection_id: str
|
|
756
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
757
|
-
number provided, it will be total request
|
|
758
|
-
timeout. It can also be a pair (tuple) of
|
|
759
|
-
(connection, read) timeouts.
|
|
760
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
761
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
762
|
-
request; this effectively ignores the
|
|
763
|
-
authentication in the spec for a single request.
|
|
764
|
-
:type _request_auth: dict, optional
|
|
765
|
-
:param _content_type: force content-type for the request.
|
|
766
|
-
:type _content_type: str, Optional
|
|
767
|
-
:param _headers: set to override the headers for a single
|
|
768
|
-
request; this effectively ignores the headers
|
|
769
|
-
in the spec for a single request.
|
|
770
|
-
:type _headers: dict, optional
|
|
771
|
-
:param _host_index: set to override the host_index for a single
|
|
772
|
-
request; this effectively ignores the host_index
|
|
773
|
-
in the spec for a single request.
|
|
774
|
-
:type _host_index: int, optional
|
|
775
|
-
:return: Returns the result object.
|
|
776
|
-
""" # noqa: E501
|
|
777
|
-
|
|
778
|
-
_param = self._check_connection_health_serialize(
|
|
779
|
-
connection_id=connection_id,
|
|
780
|
-
_request_auth=_request_auth,
|
|
781
|
-
_content_type=_content_type,
|
|
782
|
-
_headers=_headers,
|
|
783
|
-
_host_index=_host_index
|
|
784
|
-
)
|
|
785
|
-
|
|
786
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
787
|
-
'200': "ConnectionHealthResponse",
|
|
788
|
-
'404': "ApiErrorResponse",
|
|
789
|
-
}
|
|
790
|
-
response_data = self.api_client.call_api(
|
|
791
|
-
*_param,
|
|
792
|
-
_request_timeout=_request_timeout
|
|
793
|
-
)
|
|
794
|
-
response_data.read()
|
|
795
|
-
return self.api_client.response_deserialize(
|
|
796
|
-
response_data=response_data,
|
|
797
|
-
response_types_map=_response_types_map,
|
|
798
|
-
)
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
@validate_call
|
|
802
|
-
def check_connection_health_without_preload_content(
|
|
803
|
-
self,
|
|
804
|
-
connection_id: Annotated[StrictStr, Field(description="Connection ID")],
|
|
805
|
-
_request_timeout: Union[
|
|
806
|
-
None,
|
|
807
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
808
|
-
Tuple[
|
|
809
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
810
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
811
|
-
]
|
|
812
|
-
] = None,
|
|
813
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
814
|
-
_content_type: Optional[StrictStr] = None,
|
|
815
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
816
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
817
|
-
) -> RESTResponseType:
|
|
818
|
-
"""Check connection health
|
|
819
|
-
|
|
820
|
-
Test connectivity to the remote database. Returns health status and latency.
|
|
821
|
-
|
|
822
|
-
:param connection_id: Connection ID (required)
|
|
823
|
-
:type connection_id: str
|
|
824
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
825
|
-
number provided, it will be total request
|
|
826
|
-
timeout. It can also be a pair (tuple) of
|
|
827
|
-
(connection, read) timeouts.
|
|
828
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
829
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
830
|
-
request; this effectively ignores the
|
|
831
|
-
authentication in the spec for a single request.
|
|
832
|
-
:type _request_auth: dict, optional
|
|
833
|
-
:param _content_type: force content-type for the request.
|
|
834
|
-
:type _content_type: str, Optional
|
|
835
|
-
:param _headers: set to override the headers for a single
|
|
836
|
-
request; this effectively ignores the headers
|
|
837
|
-
in the spec for a single request.
|
|
838
|
-
:type _headers: dict, optional
|
|
839
|
-
:param _host_index: set to override the host_index for a single
|
|
840
|
-
request; this effectively ignores the host_index
|
|
841
|
-
in the spec for a single request.
|
|
842
|
-
:type _host_index: int, optional
|
|
843
|
-
:return: Returns the result object.
|
|
844
|
-
""" # noqa: E501
|
|
845
|
-
|
|
846
|
-
_param = self._check_connection_health_serialize(
|
|
847
|
-
connection_id=connection_id,
|
|
848
|
-
_request_auth=_request_auth,
|
|
849
|
-
_content_type=_content_type,
|
|
850
|
-
_headers=_headers,
|
|
851
|
-
_host_index=_host_index
|
|
852
|
-
)
|
|
853
|
-
|
|
854
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
855
|
-
'200': "ConnectionHealthResponse",
|
|
856
|
-
'404': "ApiErrorResponse",
|
|
857
|
-
}
|
|
858
|
-
response_data = self.api_client.call_api(
|
|
859
|
-
*_param,
|
|
860
|
-
_request_timeout=_request_timeout
|
|
861
|
-
)
|
|
862
|
-
return response_data.response
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
def _check_connection_health_serialize(
|
|
866
|
-
self,
|
|
867
|
-
connection_id,
|
|
868
|
-
_request_auth,
|
|
869
|
-
_content_type,
|
|
870
|
-
_headers,
|
|
871
|
-
_host_index,
|
|
872
|
-
) -> RequestSerialized:
|
|
873
|
-
|
|
874
|
-
_host = None
|
|
875
|
-
|
|
876
|
-
_collection_formats: Dict[str, str] = {
|
|
877
|
-
}
|
|
878
|
-
|
|
879
|
-
_path_params: Dict[str, str] = {}
|
|
880
|
-
_query_params: List[Tuple[str, str]] = []
|
|
881
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
882
|
-
_form_params: List[Tuple[str, str]] = []
|
|
883
|
-
_files: Dict[
|
|
884
|
-
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
885
|
-
] = {}
|
|
886
|
-
_body_params: Optional[bytes] = None
|
|
887
|
-
|
|
888
|
-
# process the path parameters
|
|
889
|
-
if connection_id is not None:
|
|
890
|
-
_path_params['connection_id'] = connection_id
|
|
891
|
-
# process the query parameters
|
|
892
|
-
# process the header parameters
|
|
893
|
-
# process the form parameters
|
|
894
|
-
# process the body parameter
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
# set the HTTP header `Accept`
|
|
898
|
-
if 'Accept' not in _header_params:
|
|
899
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
900
|
-
[
|
|
901
|
-
'application/json'
|
|
902
|
-
]
|
|
903
|
-
)
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
# authentication setting
|
|
907
|
-
_auth_settings: List[str] = [
|
|
908
|
-
'WorkspaceId',
|
|
909
|
-
'BearerAuth'
|
|
910
|
-
]
|
|
911
|
-
|
|
912
|
-
return self.api_client.param_serialize(
|
|
913
|
-
method='GET',
|
|
914
|
-
resource_path='/v1/connections/{connection_id}/health',
|
|
915
|
-
path_params=_path_params,
|
|
916
|
-
query_params=_query_params,
|
|
917
|
-
header_params=_header_params,
|
|
918
|
-
body=_body_params,
|
|
919
|
-
post_params=_form_params,
|
|
920
|
-
files=_files,
|
|
921
|
-
auth_settings=_auth_settings,
|
|
922
|
-
collection_formats=_collection_formats,
|
|
923
|
-
_host=_host,
|
|
924
|
-
_request_auth=_request_auth
|
|
925
|
-
)
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
664
|
@validate_call
|
|
931
665
|
def create_connection(
|
|
932
666
|
self,
|