Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion .github/workflows/regenerate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,21 @@ jobs:
# hand-written modules (hotdata/_auth.py, hotdata/arrow.py) live at the
# package root and are untouched; the integration tests in tests/ (plural)
# are distinct from the generated test/ (singular) unit tests.
#
# A few hand-written files DO live inside these subtrees (e.g.
# test/test_api_client_close.py). They're listed in .openapi-generator-ignore
# — the source of truth for "hand-maintained, don't touch" — so restore any
# ignored path under a cleaned subtree after the wipe. The generator already
# won't overwrite them; this makes the clean step honor the same list so a
# regen never deletes hand-maintained code.
- name: Clean generated source
run: rm -rf hotdata/api hotdata/models docs test
run: |
rm -rf hotdata/api hotdata/models docs test
grep -vE '^[[:space:]]*(#|$)' .openapi-generator-ignore | while IFS= read -r path; do
case "$path" in
hotdata/api/*|hotdata/models/*|docs/*|test/*) git checkout -- "$path" ;;
esac
done

# pyproject.toml is hand-maintained (see .openapi-generator-ignore), so the
# generator no longer stamps the version. Bump the patch version directly,
Expand Down
6 changes: 6 additions & 0 deletions .openapi-generator-ignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ README.md
setup.py
hotdata/_auth.py

# Hand-written test for the patched ApiClient.close()/context-manager behavior
# (re-applied by scripts/patch_api_client_close.py). It lives in the generated
# test/ dir but isn't generator output; regenerate.yml's clean step preserves
# every path listed here so the regen doesn't delete it.
test/test_api_client_close.py

# Hand-maintained packaging files. The generator's versions would clobber
# project-specific config (mypy/pylint settings, the `arrow` extra, security
# version floors). regenerate.yml's drift check guards against the generated
Expand Down
147 changes: 147 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,153 @@ hotdata/py.typed
hotdata/rest.py
setup.cfg
test/__init__.py
test/test_add_managed_schema_request.py
test/test_add_managed_table_decl.py
test/test_add_managed_table_request.py
test/test_api_error_detail.py
test/test_api_error_response.py
test/test_async_query_response.py
test/test_attach_database_catalog_request.py
test/test_boolean_profile_detail.py
test/test_categorical_profile_detail.py
test/test_category_value_info.py
test/test_column_info.py
test/test_column_profile_detail.py
test/test_column_profile_detail_one_of.py
test/test_column_profile_detail_one_of1.py
test/test_column_profile_detail_one_of2.py
test/test_column_profile_detail_one_of3.py
test/test_column_profile_detail_one_of4.py
test/test_column_profile_info.py
test/test_column_type_spec.py
test/test_connection_health_response.py
test/test_connection_info.py
test/test_connection_refresh_result.py
test/test_connection_schema_error.py
test/test_connection_type_detail.py
test/test_connection_type_summary.py
test/test_connection_types_api.py
test/test_connections_api.py
test/test_create_connection_request.py
test/test_create_connection_response.py
test/test_create_database_request.py
test/test_create_database_response.py
test/test_create_dataset_request.py
test/test_create_dataset_response.py
test/test_create_embedding_provider_request.py
test/test_create_embedding_provider_response.py
test/test_create_index_request.py
test/test_create_saved_query_request.py
test/test_create_secret_request.py
test/test_create_secret_response.py
test/test_create_workspace_request.py
test/test_create_workspace_response.py
test/test_database_attachment_info.py
test/test_database_context_api.py
test/test_database_context_entry.py
test/test_database_default_schema_decl.py
test/test_database_default_table_decl.py
test/test_database_detail_response.py
test/test_database_summary.py
test/test_databases_api.py
test/test_dataset_source.py
test/test_dataset_source_one_of.py
test/test_dataset_source_one_of1.py
test/test_dataset_source_one_of2.py
test/test_dataset_source_one_of3.py
test/test_dataset_source_one_of4.py
test/test_dataset_summary.py
test/test_dataset_version_summary.py
test/test_datasets_api.py
test/test_discovery_status.py
test/test_embedding_provider_response.py
test/test_embedding_providers_api.py
test/test_error.py
test/test_execute_saved_query_request.py
test/test_get_connection_response.py
test/test_get_database_context_response.py
test/test_get_dataset_response.py
test/test_get_result_response.py
test/test_get_secret_response.py
test/test_index_entry_response.py
test/test_index_info_response.py
test/test_index_status.py
test/test_indexes_api.py
test/test_information_schema_api.py
test/test_information_schema_response.py
test/test_inline_data.py
test/test_inline_dataset_source.py
test/test_job_result.py
test/test_job_status.py
test/test_job_status_response.py
test/test_job_type.py
test/test_jobs_api.py
test/test_list_connection_types_response.py
test/test_list_connections_response.py
test/test_list_database_contexts_response.py
test/test_list_databases_response.py
test/test_list_dataset_versions_response.py
test/test_list_datasets_response.py
test/test_list_embedding_providers_response.py
test/test_list_indexes_page_response.py
test/test_list_indexes_response.py
test/test_list_jobs_response.py
test/test_list_query_runs_response.py
test/test_list_results_response.py
test/test_list_saved_queries_response.py
test/test_list_saved_query_versions_response.py
test/test_list_secrets_response.py
test/test_list_uploads_response.py
test/test_list_workspaces_response.py
test/test_load_managed_table_request.py
test/test_load_managed_table_response.py
test/test_managed_schema_response.py
test/test_managed_table_response.py
test/test_numeric_profile_detail.py
test/test_query_api.py
test/test_query_request.py
test/test_query_response.py
test/test_query_run_info.py
test/test_query_runs_api.py
test/test_refresh_api.py
test/test_refresh_dataset_response.py
test/test_refresh_request.py
test/test_refresh_response.py
test/test_refresh_warning.py
test/test_result_info.py
test/test_results_api.py
test/test_results_format_query.py
test/test_saved_queries_api.py
test/test_saved_query_dataset_source.py
test/test_saved_query_detail.py
test/test_saved_query_summary.py
test/test_saved_query_version_info.py
test/test_schema_refresh_result.py
test/test_secret_metadata_response.py
test/test_secrets_api.py
test/test_sql_query_dataset_source.py
test/test_submit_job_response.py
test/test_table_info.py
test/test_table_profile_response.py
test/test_table_refresh_error.py
test/test_table_refresh_result.py
test/test_temporal_profile_detail.py
test/test_text_profile_detail.py
test/test_update_dataset_request.py
test/test_update_dataset_response.py
test/test_update_embedding_provider_request.py
test/test_update_embedding_provider_response.py
test/test_update_saved_query_request.py
test/test_update_secret_request.py
test/test_update_secret_response.py
test/test_upload_dataset_source.py
test/test_upload_info.py
test/test_upload_response.py
test/test_uploads_api.py
test/test_upsert_database_context_request.py
test/test_upsert_database_context_response.py
test/test_url_dataset_source.py
test/test_workspace_detail.py
test/test_workspace_list_item.py
test/test_workspaces_api.py
tox.ini
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]


## [0.3.3] - 2026-06-10

### Changed

- chore: regenerate client, drop orphaned sandbox files

## [0.3.1] - 2026-06-06

### Security
Expand Down
34 changes: 0 additions & 34 deletions docs/ColumnDefinition.md

This file was deleted.

30 changes: 0 additions & 30 deletions docs/CreateSandboxRequest.md

This file was deleted.

30 changes: 0 additions & 30 deletions docs/CreateWorkspace201Response.md

This file was deleted.

30 changes: 0 additions & 30 deletions docs/DeleteSandboxResponse.md

This file was deleted.

30 changes: 0 additions & 30 deletions docs/GetWorkspaceContextResponse.md

This file was deleted.

30 changes: 0 additions & 30 deletions docs/ListSandboxesResponse.md

This file was deleted.

Loading