hotdata 0.8.0__tar.gz → 0.9.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.8.0 → hotdata-0.9.0}/PKG-INFO +4 -18
- {hotdata-0.8.0 → hotdata-0.9.0}/README.md +1 -15
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/__init__.py +4 -6
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/api/databases_api.py +55 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/api/information_schema_api.py +3 -3
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/api/query_api.py +0 -1
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/api/results_api.py +0 -2
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/api/uploads_api.py +8 -557
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/configuration.py +4 -37
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/__init__.py +2 -3
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/add_managed_table_decl.py +22 -2
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/add_managed_table_request.py +22 -2
- hotdata-0.9.0/hotdata/models/database_default_table_decl.py +110 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/list_databases_response.py +34 -5
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/load_managed_table_request.py +1 -1
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/query_run_info.py +1 -1
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/table_info.py +21 -1
- hotdata-0.8.0/hotdata/models/database_default_table_decl.py → hotdata-0.9.0/hotdata/models/table_partition_key.py +10 -10
- hotdata-0.9.0/hotdata/models/table_sort_key.py +102 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/uploads.py +12 -135
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata.egg-info/PKG-INFO +4 -18
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata.egg-info/SOURCES.txt +5 -6
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata.egg-info/requires.txt +1 -1
- {hotdata-0.8.0 → hotdata-0.9.0}/pyproject.toml +3 -3
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_add_managed_schema_request.py +12 -1
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_add_managed_table_decl.py +12 -1
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_add_managed_table_request.py +12 -1
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_create_database_request.py +12 -1
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_database_default_schema_decl.py +12 -1
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_database_default_table_decl.py +12 -1
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_information_schema_response.py +22 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_list_databases_response.py +5 -1
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_table_info.py +22 -0
- hotdata-0.9.0/test/test_table_partition_key.py +55 -0
- hotdata-0.9.0/test/test_table_sort_key.py +55 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_uploads_api.py +0 -14
- hotdata-0.9.0/tests/test_config_auth_surface.py +138 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/tests/test_uploads.py +1 -154
- hotdata-0.8.0/hotdata/models/list_uploads_response.py +0 -96
- hotdata-0.8.0/hotdata/models/upload_info.py +0 -102
- hotdata-0.8.0/hotdata/models/upload_response.py +0 -102
- hotdata-0.8.0/test/test_list_uploads_response.py +0 -67
- hotdata-0.8.0/test/test_upload_info.py +0 -60
- hotdata-0.8.0/test/test_upload_response.py +0 -60
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/_auth.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/_retry.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/_upload_watchdog.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/api/__init__.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/api/connection_types_api.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/api/connections_api.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/api/database_context_api.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/api/embedding_providers_api.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/api/indexes_api.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/api/jobs_api.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/api/query_runs_api.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/api/refresh_api.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/api/saved_queries_api.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/api/secrets_api.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/api/usage_api.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/api/workspaces_api.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/api_client.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/api_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/arrow.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/exceptions.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/add_managed_schema_request.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/api_error_detail.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/api_error_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/async_query_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/attach_database_catalog_request.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/batch_create_upload_request.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/batch_create_upload_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/boolean_profile_detail.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/categorical_profile_detail.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/category_value_info.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/column_info.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/column_profile_detail.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/column_profile_detail_one_of.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/column_profile_detail_one_of1.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/column_profile_detail_one_of2.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/column_profile_detail_one_of3.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/column_profile_detail_one_of4.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/column_profile_info.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/connection_health_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/connection_info.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/connection_refresh_result.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/connection_schema_error.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/connection_type_detail.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/connection_type_summary.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/create_connection_request.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/create_connection_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/create_database_request.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/create_database_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/create_embedding_provider_request.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/create_embedding_provider_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/create_index_request.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/create_saved_query_request.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/create_secret_request.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/create_secret_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/create_upload_request.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/create_workspace_request.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/create_workspace_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/database_attachment_info.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/database_context_entry.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/database_default_schema_decl.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/database_detail_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/database_summary.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/discovery_status.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/embedding_provider_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/error.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/execute_saved_query_request.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/finalize_upload_part.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/finalize_upload_request.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/finalize_upload_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/fork_database_request.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/get_connection_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/get_database_context_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/get_result_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/get_secret_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/index_entry_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/index_info_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/index_status.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/information_schema_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/job_result.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/job_status.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/job_status_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/job_type.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/list_connection_types_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/list_connections_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/list_database_contexts_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/list_embedding_providers_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/list_indexes_page_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/list_indexes_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/list_jobs_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/list_query_runs_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/list_results_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/list_saved_queries_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/list_saved_query_versions_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/list_secrets_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/list_workspaces_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/load_managed_table_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/managed_schema_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/managed_table_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/mint_upload_parts_request.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/mint_upload_parts_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/minted_upload_part_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/numeric_profile_detail.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/query_request.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/query_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/refresh_request.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/refresh_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/refresh_warning.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/result_info.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/results_format_query.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/saved_query_detail.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/saved_query_summary.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/saved_query_version_info.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/schema_refresh_result.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/secret_metadata_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/submit_job_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/table_profile_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/table_refresh_error.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/table_refresh_result.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/temporal_profile_detail.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/text_profile_detail.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/update_embedding_provider_request.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/update_embedding_provider_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/update_saved_query_request.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/update_secret_request.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/update_secret_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/upload_session_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/upsert_database_context_request.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/upsert_database_context_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/workspace_detail.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/workspace_list_item.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/models/workspace_usage_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/py.typed +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/query.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata/rest.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata.egg-info/dependency_links.txt +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/hotdata.egg-info/top_level.txt +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/setup.cfg +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_api_client_close.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_api_error_detail.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_api_error_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_async_query_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_attach_database_catalog_request.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_batch_create_upload_request.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_batch_create_upload_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_boolean_profile_detail.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_categorical_profile_detail.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_category_value_info.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_column_info.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_column_profile_detail.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_column_profile_detail_one_of.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_column_profile_detail_one_of1.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_column_profile_detail_one_of2.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_column_profile_detail_one_of3.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_column_profile_detail_one_of4.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_column_profile_info.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_connection_health_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_connection_info.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_connection_refresh_result.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_connection_schema_error.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_connection_type_detail.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_connection_type_summary.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_connection_types_api.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_connections_api.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_create_connection_request.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_create_connection_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_create_database_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_create_embedding_provider_request.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_create_embedding_provider_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_create_index_request.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_create_saved_query_request.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_create_secret_request.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_create_secret_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_create_upload_request.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_create_workspace_request.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_create_workspace_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_database_attachment_info.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_database_context_api.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_database_context_entry.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_database_detail_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_database_summary.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_databases_api.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_discovery_status.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_embedding_provider_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_embedding_providers_api.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_error.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_execute_saved_query_request.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_finalize_upload_part.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_finalize_upload_request.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_finalize_upload_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_fork_database_request.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_get_connection_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_get_database_context_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_get_result_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_get_secret_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_index_entry_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_index_info_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_index_status.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_indexes_api.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_information_schema_api.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_job_result.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_job_status.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_job_status_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_job_type.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_jobs_api.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_list_connection_types_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_list_connections_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_list_database_contexts_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_list_embedding_providers_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_list_indexes_page_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_list_indexes_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_list_jobs_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_list_query_runs_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_list_results_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_list_saved_queries_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_list_saved_query_versions_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_list_secrets_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_list_workspaces_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_load_managed_table_request.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_load_managed_table_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_managed_schema_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_managed_table_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_mint_upload_parts_request.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_mint_upload_parts_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_minted_upload_part_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_numeric_profile_detail.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_query_api.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_query_request.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_query_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_query_run_info.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_query_runs_api.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_refresh_api.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_refresh_request.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_refresh_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_refresh_warning.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_result_info.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_results_api.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_results_format_query.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_saved_queries_api.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_saved_query_detail.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_saved_query_summary.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_saved_query_version_info.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_schema_refresh_result.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_secret_metadata_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_secrets_api.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_submit_job_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_table_profile_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_table_refresh_error.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_table_refresh_result.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_temporal_profile_detail.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_text_profile_detail.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_update_embedding_provider_request.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_update_embedding_provider_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_update_saved_query_request.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_update_secret_request.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_update_secret_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_upload_session_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_upsert_database_context_request.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_upsert_database_context_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_usage_api.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_workspace_detail.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_workspace_list_item.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_workspace_usage_response.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/test/test_workspaces_api.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/tests/test_arrow.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/tests/test_auth.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/tests/test_query.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/tests/test_retry.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/tests/test_update_changelog.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/tests/test_upload_codex_fixes.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/tests/test_upload_multipart_resilient.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/tests/test_upload_parity_fixes.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/tests/test_upload_resilient.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/tests/test_upload_retry_policy.py +0 -0
- {hotdata-0.8.0 → hotdata-0.9.0}/tests/test_upload_watchdog.py +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: hotdata
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.9.0
|
|
4
4
|
Summary: Hotdata API
|
|
5
5
|
Author-email: Hotdata <developers@hotdata.dev>
|
|
6
6
|
License: MIT
|
|
7
7
|
Project-URL: Homepage, https://www.hotdata.dev
|
|
8
8
|
Project-URL: Repository, https://github.com/hotdata-dev/sdk-python
|
|
9
9
|
Keywords: hotdata,api-client,data-platform
|
|
10
|
-
Requires-Python: >=3.
|
|
10
|
+
Requires-Python: >=3.10
|
|
11
11
|
Description-Content-Type: text/markdown
|
|
12
|
-
Requires-Dist: urllib3<3.0.0,>=2.
|
|
12
|
+
Requires-Dist: urllib3<3.0.0,>=2.7.0
|
|
13
13
|
Requires-Dist: python-dateutil>=2.8.2
|
|
14
14
|
Requires-Dist: pydantic>=2.4.0
|
|
15
15
|
Requires-Dist: typing-extensions>=4.7.1
|
|
@@ -22,7 +22,7 @@ Official Python client for the [Hotdata](https://www.hotdata.dev) HTTP API: work
|
|
|
22
22
|
|
|
23
23
|
## Requirements
|
|
24
24
|
|
|
25
|
-
Python 3.
|
|
25
|
+
Python 3.10+
|
|
26
26
|
|
|
27
27
|
## Install
|
|
28
28
|
|
|
@@ -174,20 +174,6 @@ Pass a `threading.Event` as `cancel_event` to abort an in-flight upload; tune th
|
|
|
174
174
|
control-plane calls with `request_timeout` (storage-PUT timeouts are automatic and
|
|
175
175
|
size-scaled).
|
|
176
176
|
|
|
177
|
-
For that fallback (or to upload from a non-seekable stream), use `upload_stream`,
|
|
178
|
-
which sends the bytes to the legacy `POST /v1/files` endpoint in one request,
|
|
179
|
-
streaming a file object without buffering it in memory:
|
|
180
|
-
|
|
181
|
-
```python
|
|
182
|
-
with open("data.parquet", "rb") as f:
|
|
183
|
-
resp = uploads.upload_stream(f, content_type="application/parquet")
|
|
184
|
-
print(resp.id)
|
|
185
|
-
```
|
|
186
|
-
|
|
187
|
-
Note `upload_file` shadows the generated raw-body `upload_file(body=...)`; that
|
|
188
|
-
raw operation is still reachable at
|
|
189
|
-
`hotdata.api.uploads_api.UploadsApi.upload_file`.
|
|
190
|
-
|
|
191
177
|
## API reference
|
|
192
178
|
|
|
193
179
|
Generated Markdown for every operation and model is in [`docs/`](https://github.com/hotdata-dev/sdk-python/tree/main/docs):
|
|
@@ -4,7 +4,7 @@ Official Python client for the [Hotdata](https://www.hotdata.dev) HTTP API: work
|
|
|
4
4
|
|
|
5
5
|
## Requirements
|
|
6
6
|
|
|
7
|
-
Python 3.
|
|
7
|
+
Python 3.10+
|
|
8
8
|
|
|
9
9
|
## Install
|
|
10
10
|
|
|
@@ -156,20 +156,6 @@ Pass a `threading.Event` as `cancel_event` to abort an in-flight upload; tune th
|
|
|
156
156
|
control-plane calls with `request_timeout` (storage-PUT timeouts are automatic and
|
|
157
157
|
size-scaled).
|
|
158
158
|
|
|
159
|
-
For that fallback (or to upload from a non-seekable stream), use `upload_stream`,
|
|
160
|
-
which sends the bytes to the legacy `POST /v1/files` endpoint in one request,
|
|
161
|
-
streaming a file object without buffering it in memory:
|
|
162
|
-
|
|
163
|
-
```python
|
|
164
|
-
with open("data.parquet", "rb") as f:
|
|
165
|
-
resp = uploads.upload_stream(f, content_type="application/parquet")
|
|
166
|
-
print(resp.id)
|
|
167
|
-
```
|
|
168
|
-
|
|
169
|
-
Note `upload_file` shadows the generated raw-body `upload_file(body=...)`; that
|
|
170
|
-
raw operation is still reachable at
|
|
171
|
-
`hotdata.api.uploads_api.UploadsApi.upload_file`.
|
|
172
|
-
|
|
173
159
|
## API reference
|
|
174
160
|
|
|
175
161
|
Generated Markdown for every operation and model is in [`docs/`](https://github.com/hotdata-dev/sdk-python/tree/main/docs):
|
|
@@ -128,7 +128,6 @@ __all__ = [
|
|
|
128
128
|
"ListSavedQueriesResponse",
|
|
129
129
|
"ListSavedQueryVersionsResponse",
|
|
130
130
|
"ListSecretsResponse",
|
|
131
|
-
"ListUploadsResponse",
|
|
132
131
|
"ListWorkspacesResponse",
|
|
133
132
|
"LoadManagedTableRequest",
|
|
134
133
|
"LoadManagedTableResponse",
|
|
@@ -153,9 +152,11 @@ __all__ = [
|
|
|
153
152
|
"SecretMetadataResponse",
|
|
154
153
|
"SubmitJobResponse",
|
|
155
154
|
"TableInfo",
|
|
155
|
+
"TablePartitionKey",
|
|
156
156
|
"TableProfileResponse",
|
|
157
157
|
"TableRefreshError",
|
|
158
158
|
"TableRefreshResult",
|
|
159
|
+
"TableSortKey",
|
|
159
160
|
"TemporalProfileDetail",
|
|
160
161
|
"TextProfileDetail",
|
|
161
162
|
"UpdateEmbeddingProviderRequest",
|
|
@@ -163,8 +164,6 @@ __all__ = [
|
|
|
163
164
|
"UpdateSavedQueryRequest",
|
|
164
165
|
"UpdateSecretRequest",
|
|
165
166
|
"UpdateSecretResponse",
|
|
166
|
-
"UploadInfo",
|
|
167
|
-
"UploadResponse",
|
|
168
167
|
"UploadSessionResponse",
|
|
169
168
|
"UpsertDatabaseContextRequest",
|
|
170
169
|
"UpsertDatabaseContextResponse",
|
|
@@ -282,7 +281,6 @@ from hotdata.models.list_results_response import ListResultsResponse as ListResu
|
|
|
282
281
|
from hotdata.models.list_saved_queries_response import ListSavedQueriesResponse as ListSavedQueriesResponse
|
|
283
282
|
from hotdata.models.list_saved_query_versions_response import ListSavedQueryVersionsResponse as ListSavedQueryVersionsResponse
|
|
284
283
|
from hotdata.models.list_secrets_response import ListSecretsResponse as ListSecretsResponse
|
|
285
|
-
from hotdata.models.list_uploads_response import ListUploadsResponse as ListUploadsResponse
|
|
286
284
|
from hotdata.models.list_workspaces_response import ListWorkspacesResponse as ListWorkspacesResponse
|
|
287
285
|
from hotdata.models.load_managed_table_request import LoadManagedTableRequest as LoadManagedTableRequest
|
|
288
286
|
from hotdata.models.load_managed_table_response import LoadManagedTableResponse as LoadManagedTableResponse
|
|
@@ -307,9 +305,11 @@ from hotdata.models.schema_refresh_result import SchemaRefreshResult as SchemaRe
|
|
|
307
305
|
from hotdata.models.secret_metadata_response import SecretMetadataResponse as SecretMetadataResponse
|
|
308
306
|
from hotdata.models.submit_job_response import SubmitJobResponse as SubmitJobResponse
|
|
309
307
|
from hotdata.models.table_info import TableInfo as TableInfo
|
|
308
|
+
from hotdata.models.table_partition_key import TablePartitionKey as TablePartitionKey
|
|
310
309
|
from hotdata.models.table_profile_response import TableProfileResponse as TableProfileResponse
|
|
311
310
|
from hotdata.models.table_refresh_error import TableRefreshError as TableRefreshError
|
|
312
311
|
from hotdata.models.table_refresh_result import TableRefreshResult as TableRefreshResult
|
|
312
|
+
from hotdata.models.table_sort_key import TableSortKey as TableSortKey
|
|
313
313
|
from hotdata.models.temporal_profile_detail import TemporalProfileDetail as TemporalProfileDetail
|
|
314
314
|
from hotdata.models.text_profile_detail import TextProfileDetail as TextProfileDetail
|
|
315
315
|
from hotdata.models.update_embedding_provider_request import UpdateEmbeddingProviderRequest as UpdateEmbeddingProviderRequest
|
|
@@ -317,8 +317,6 @@ from hotdata.models.update_embedding_provider_response import UpdateEmbeddingPro
|
|
|
317
317
|
from hotdata.models.update_saved_query_request import UpdateSavedQueryRequest as UpdateSavedQueryRequest
|
|
318
318
|
from hotdata.models.update_secret_request import UpdateSecretRequest as UpdateSecretRequest
|
|
319
319
|
from hotdata.models.update_secret_response import UpdateSecretResponse as UpdateSecretResponse
|
|
320
|
-
from hotdata.models.upload_info import UploadInfo as UploadInfo
|
|
321
|
-
from hotdata.models.upload_response import UploadResponse as UploadResponse
|
|
322
320
|
from hotdata.models.upload_session_response import UploadSessionResponse as UploadSessionResponse
|
|
323
321
|
from hotdata.models.upsert_database_context_request import UpsertDatabaseContextRequest as UpsertDatabaseContextRequest
|
|
324
322
|
from hotdata.models.upsert_database_context_response import UpsertDatabaseContextResponse as UpsertDatabaseContextResponse
|
|
@@ -17,6 +17,7 @@ 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.add_managed_schema_request import AddManagedSchemaRequest
|
|
22
23
|
from hotdata.models.add_managed_table_request import AddManagedTableRequest
|
|
@@ -2351,6 +2352,9 @@ class DatabasesApi:
|
|
|
2351
2352
|
@validate_call
|
|
2352
2353
|
def list_databases(
|
|
2353
2354
|
self,
|
|
2355
|
+
limit: Annotated[Optional[Annotated[int, Field(le=100, strict=True, ge=1)]], Field(description="Maximum number of databases to return in this page (1–100). Values outside the range are clamped.")] = None,
|
|
2356
|
+
cursor: Annotated[Optional[StrictStr], Field(description="Opaque pagination cursor from a previous response's `next_cursor`.")] = None,
|
|
2357
|
+
search: Annotated[Optional[StrictStr], Field(description="Case-insensitive substring filter on the database name. When set, only databases whose name contains this text are returned; paging and newest-first ordering are unchanged.")] = None,
|
|
2354
2358
|
_request_timeout: Union[
|
|
2355
2359
|
None,
|
|
2356
2360
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2366,7 +2370,14 @@ class DatabasesApi:
|
|
|
2366
2370
|
) -> ListDatabasesResponse:
|
|
2367
2371
|
"""List databases
|
|
2368
2372
|
|
|
2373
|
+
List databases in the workspace, newest first, one page at a time. When no `limit` is given a default page size is applied, so a single call returns at most one page rather than every database. If the response's `has_more` is true, pass its `next_cursor` value back as the `cursor` query parameter to fetch the next page. Pass `search` to return only databases whose name contains that text (case-insensitive).
|
|
2369
2374
|
|
|
2375
|
+
:param limit: Maximum number of databases to return in this page (1–100). Values outside the range are clamped.
|
|
2376
|
+
:type limit: int
|
|
2377
|
+
:param cursor: Opaque pagination cursor from a previous response's `next_cursor`.
|
|
2378
|
+
:type cursor: str
|
|
2379
|
+
:param search: Case-insensitive substring filter on the database name. When set, only databases whose name contains this text are returned; paging and newest-first ordering are unchanged.
|
|
2380
|
+
:type search: str
|
|
2370
2381
|
:param _request_timeout: timeout setting for this request. If one
|
|
2371
2382
|
number provided, it will be total request
|
|
2372
2383
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2390,6 +2401,9 @@ class DatabasesApi:
|
|
|
2390
2401
|
""" # noqa: E501
|
|
2391
2402
|
|
|
2392
2403
|
_param = self._list_databases_serialize(
|
|
2404
|
+
limit=limit,
|
|
2405
|
+
cursor=cursor,
|
|
2406
|
+
search=search,
|
|
2393
2407
|
_request_auth=_request_auth,
|
|
2394
2408
|
_content_type=_content_type,
|
|
2395
2409
|
_headers=_headers,
|
|
@@ -2413,6 +2427,9 @@ class DatabasesApi:
|
|
|
2413
2427
|
@validate_call
|
|
2414
2428
|
def list_databases_with_http_info(
|
|
2415
2429
|
self,
|
|
2430
|
+
limit: Annotated[Optional[Annotated[int, Field(le=100, strict=True, ge=1)]], Field(description="Maximum number of databases to return in this page (1–100). Values outside the range are clamped.")] = None,
|
|
2431
|
+
cursor: Annotated[Optional[StrictStr], Field(description="Opaque pagination cursor from a previous response's `next_cursor`.")] = None,
|
|
2432
|
+
search: Annotated[Optional[StrictStr], Field(description="Case-insensitive substring filter on the database name. When set, only databases whose name contains this text are returned; paging and newest-first ordering are unchanged.")] = None,
|
|
2416
2433
|
_request_timeout: Union[
|
|
2417
2434
|
None,
|
|
2418
2435
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2428,7 +2445,14 @@ class DatabasesApi:
|
|
|
2428
2445
|
) -> ApiResponse[ListDatabasesResponse]:
|
|
2429
2446
|
"""List databases
|
|
2430
2447
|
|
|
2448
|
+
List databases in the workspace, newest first, one page at a time. When no `limit` is given a default page size is applied, so a single call returns at most one page rather than every database. If the response's `has_more` is true, pass its `next_cursor` value back as the `cursor` query parameter to fetch the next page. Pass `search` to return only databases whose name contains that text (case-insensitive).
|
|
2431
2449
|
|
|
2450
|
+
:param limit: Maximum number of databases to return in this page (1–100). Values outside the range are clamped.
|
|
2451
|
+
:type limit: int
|
|
2452
|
+
:param cursor: Opaque pagination cursor from a previous response's `next_cursor`.
|
|
2453
|
+
:type cursor: str
|
|
2454
|
+
:param search: Case-insensitive substring filter on the database name. When set, only databases whose name contains this text are returned; paging and newest-first ordering are unchanged.
|
|
2455
|
+
:type search: str
|
|
2432
2456
|
:param _request_timeout: timeout setting for this request. If one
|
|
2433
2457
|
number provided, it will be total request
|
|
2434
2458
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2452,6 +2476,9 @@ class DatabasesApi:
|
|
|
2452
2476
|
""" # noqa: E501
|
|
2453
2477
|
|
|
2454
2478
|
_param = self._list_databases_serialize(
|
|
2479
|
+
limit=limit,
|
|
2480
|
+
cursor=cursor,
|
|
2481
|
+
search=search,
|
|
2455
2482
|
_request_auth=_request_auth,
|
|
2456
2483
|
_content_type=_content_type,
|
|
2457
2484
|
_headers=_headers,
|
|
@@ -2475,6 +2502,9 @@ class DatabasesApi:
|
|
|
2475
2502
|
@validate_call
|
|
2476
2503
|
def list_databases_without_preload_content(
|
|
2477
2504
|
self,
|
|
2505
|
+
limit: Annotated[Optional[Annotated[int, Field(le=100, strict=True, ge=1)]], Field(description="Maximum number of databases to return in this page (1–100). Values outside the range are clamped.")] = None,
|
|
2506
|
+
cursor: Annotated[Optional[StrictStr], Field(description="Opaque pagination cursor from a previous response's `next_cursor`.")] = None,
|
|
2507
|
+
search: Annotated[Optional[StrictStr], Field(description="Case-insensitive substring filter on the database name. When set, only databases whose name contains this text are returned; paging and newest-first ordering are unchanged.")] = None,
|
|
2478
2508
|
_request_timeout: Union[
|
|
2479
2509
|
None,
|
|
2480
2510
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2490,7 +2520,14 @@ class DatabasesApi:
|
|
|
2490
2520
|
) -> RESTResponseType:
|
|
2491
2521
|
"""List databases
|
|
2492
2522
|
|
|
2523
|
+
List databases in the workspace, newest first, one page at a time. When no `limit` is given a default page size is applied, so a single call returns at most one page rather than every database. If the response's `has_more` is true, pass its `next_cursor` value back as the `cursor` query parameter to fetch the next page. Pass `search` to return only databases whose name contains that text (case-insensitive).
|
|
2493
2524
|
|
|
2525
|
+
:param limit: Maximum number of databases to return in this page (1–100). Values outside the range are clamped.
|
|
2526
|
+
:type limit: int
|
|
2527
|
+
:param cursor: Opaque pagination cursor from a previous response's `next_cursor`.
|
|
2528
|
+
:type cursor: str
|
|
2529
|
+
:param search: Case-insensitive substring filter on the database name. When set, only databases whose name contains this text are returned; paging and newest-first ordering are unchanged.
|
|
2530
|
+
:type search: str
|
|
2494
2531
|
:param _request_timeout: timeout setting for this request. If one
|
|
2495
2532
|
number provided, it will be total request
|
|
2496
2533
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2514,6 +2551,9 @@ class DatabasesApi:
|
|
|
2514
2551
|
""" # noqa: E501
|
|
2515
2552
|
|
|
2516
2553
|
_param = self._list_databases_serialize(
|
|
2554
|
+
limit=limit,
|
|
2555
|
+
cursor=cursor,
|
|
2556
|
+
search=search,
|
|
2517
2557
|
_request_auth=_request_auth,
|
|
2518
2558
|
_content_type=_content_type,
|
|
2519
2559
|
_headers=_headers,
|
|
@@ -2532,6 +2572,9 @@ class DatabasesApi:
|
|
|
2532
2572
|
|
|
2533
2573
|
def _list_databases_serialize(
|
|
2534
2574
|
self,
|
|
2575
|
+
limit,
|
|
2576
|
+
cursor,
|
|
2577
|
+
search,
|
|
2535
2578
|
_request_auth,
|
|
2536
2579
|
_content_type,
|
|
2537
2580
|
_headers,
|
|
@@ -2554,6 +2597,18 @@ class DatabasesApi:
|
|
|
2554
2597
|
|
|
2555
2598
|
# process the path parameters
|
|
2556
2599
|
# process the query parameters
|
|
2600
|
+
if limit is not None:
|
|
2601
|
+
|
|
2602
|
+
_query_params.append(('limit', limit))
|
|
2603
|
+
|
|
2604
|
+
if cursor is not None:
|
|
2605
|
+
|
|
2606
|
+
_query_params.append(('cursor', cursor))
|
|
2607
|
+
|
|
2608
|
+
if search is not None:
|
|
2609
|
+
|
|
2610
|
+
_query_params.append(('search', search))
|
|
2611
|
+
|
|
2557
2612
|
# process the header parameters
|
|
2558
2613
|
# process the form parameters
|
|
2559
2614
|
# process the body parameter
|
|
@@ -63,7 +63,7 @@ class InformationSchemaApi:
|
|
|
63
63
|
) -> InformationSchemaResponse:
|
|
64
64
|
"""List tables
|
|
65
65
|
|
|
66
|
-
List discovered tables with optional filtering and pagination. Supports wildcard patterns (SQL %) for schema and table name filters. Set include_columns=true to include column definitions (omitted by default).
|
|
66
|
+
List discovered tables with optional filtering and pagination. Supports wildcard patterns (SQL %) for schema and table name filters. Set include_columns=true to include column definitions (omitted by default). Every table carries its declared storage layout — `partition_by` and `sorted_by` — which is fixed when the table is created and cannot be changed afterwards. Both are always present; an empty array means none was declared. Only tables in a hotdata-managed database declare a layout here, so a table discovered from an external connection always reports empty arrays.
|
|
67
67
|
|
|
68
68
|
:param connection_id: Filter by connection ID
|
|
69
69
|
:type connection_id: str
|
|
@@ -151,7 +151,7 @@ class InformationSchemaApi:
|
|
|
151
151
|
) -> ApiResponse[InformationSchemaResponse]:
|
|
152
152
|
"""List tables
|
|
153
153
|
|
|
154
|
-
List discovered tables with optional filtering and pagination. Supports wildcard patterns (SQL %) for schema and table name filters. Set include_columns=true to include column definitions (omitted by default).
|
|
154
|
+
List discovered tables with optional filtering and pagination. Supports wildcard patterns (SQL %) for schema and table name filters. Set include_columns=true to include column definitions (omitted by default). Every table carries its declared storage layout — `partition_by` and `sorted_by` — which is fixed when the table is created and cannot be changed afterwards. Both are always present; an empty array means none was declared. Only tables in a hotdata-managed database declare a layout here, so a table discovered from an external connection always reports empty arrays.
|
|
155
155
|
|
|
156
156
|
:param connection_id: Filter by connection ID
|
|
157
157
|
:type connection_id: str
|
|
@@ -239,7 +239,7 @@ class InformationSchemaApi:
|
|
|
239
239
|
) -> RESTResponseType:
|
|
240
240
|
"""List tables
|
|
241
241
|
|
|
242
|
-
List discovered tables with optional filtering and pagination. Supports wildcard patterns (SQL %) for schema and table name filters. Set include_columns=true to include column definitions (omitted by default).
|
|
242
|
+
List discovered tables with optional filtering and pagination. Supports wildcard patterns (SQL %) for schema and table name filters. Set include_columns=true to include column definitions (omitted by default). Every table carries its declared storage layout — `partition_by` and `sorted_by` — which is fixed when the table is created and cannot be changed afterwards. Both are always present; an empty array means none was declared. Only tables in a hotdata-managed database declare a layout here, so a table discovered from an external connection always reports empty arrays.
|
|
243
243
|
|
|
244
244
|
:param connection_id: Filter by connection ID
|
|
245
245
|
:type connection_id: str
|
|
@@ -364,7 +364,6 @@ class ResultsApi:
|
|
|
364
364
|
# authentication setting
|
|
365
365
|
_auth_settings: List[str] = [
|
|
366
366
|
'WorkspaceId',
|
|
367
|
-
'SessionId',
|
|
368
367
|
'BearerAuth'
|
|
369
368
|
]
|
|
370
369
|
|
|
@@ -667,7 +666,6 @@ class ResultsApi:
|
|
|
667
666
|
# authentication setting
|
|
668
667
|
_auth_settings: List[str] = [
|
|
669
668
|
'WorkspaceId',
|
|
670
|
-
'SessionId',
|
|
671
669
|
'BearerAuth'
|
|
672
670
|
]
|
|
673
671
|
|