Skip to content

Commit f9615e6

Browse files
authored
Merge pull request #36 from hotdata-dev/openapi-update-24855093659
chore: regenerate client from updated OpenAPI spec
2 parents 8440ec9 + 4e4ef18 commit f9615e6

217 files changed

Lines changed: 11677 additions & 173 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.openapi-generator/FILES

Lines changed: 96 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
.gitlab-ci.yml
44
docs/ApiErrorDetail.md
55
docs/ApiErrorResponse.md
6+
docs/AsyncQueryResponse.md
67
docs/BooleanProfileDetail.md
78
docs/CategoricalProfileDetail.md
89
docs/CategoryValueInfo.md
@@ -27,34 +28,54 @@ docs/CreateConnectionRequest.md
2728
docs/CreateConnectionResponse.md
2829
docs/CreateDatasetRequest.md
2930
docs/CreateDatasetResponse.md
31+
docs/CreateEmbeddingProviderRequest.md
32+
docs/CreateEmbeddingProviderResponse.md
33+
docs/CreateIndexRequest.md
3034
docs/CreateSavedQueryRequest.md
3135
docs/CreateSecretRequest.md
3236
docs/CreateSecretResponse.md
3337
docs/CreateWorkspaceRequest.md
3438
docs/CreateWorkspaceResponse.md
3539
docs/DatasetSource.md
3640
docs/DatasetSummary.md
41+
docs/DatasetVersionSummary.md
3742
docs/DatasetsApi.md
3843
docs/DiscoveryStatus.md
44+
docs/EmbeddingProviderResponse.md
45+
docs/EmbeddingProvidersApi.md
3946
docs/Error.md
4047
docs/ExecuteSavedQueryRequest.md
4148
docs/GetConnectionResponse.md
4249
docs/GetDatasetResponse.md
4350
docs/GetResultResponse.md
4451
docs/GetSecretResponse.md
52+
docs/GetWorkspaceContextResponse.md
53+
docs/IndexInfoResponse.md
54+
docs/IndexStatus.md
55+
docs/IndexesApi.md
4556
docs/InformationSchemaApi.md
4657
docs/InformationSchemaResponse.md
4758
docs/InlineData.md
4859
docs/InlineDatasetSource.md
60+
docs/JobResult.md
61+
docs/JobStatus.md
62+
docs/JobStatusResponse.md
63+
docs/JobType.md
64+
docs/JobsApi.md
4965
docs/ListConnectionTypesResponse.md
5066
docs/ListConnectionsResponse.md
67+
docs/ListDatasetVersionsResponse.md
5168
docs/ListDatasetsResponse.md
69+
docs/ListEmbeddingProvidersResponse.md
70+
docs/ListIndexesResponse.md
71+
docs/ListJobsResponse.md
5272
docs/ListQueryRunsResponse.md
5373
docs/ListResultsResponse.md
5474
docs/ListSavedQueriesResponse.md
5575
docs/ListSavedQueryVersionsResponse.md
5676
docs/ListSecretsResponse.md
5777
docs/ListUploadsResponse.md
78+
docs/ListWorkspaceContextsResponse.md
5879
docs/ListWorkspacesResponse.md
5980
docs/NumericProfileDetail.md
6081
docs/QueryApi.md
@@ -63,18 +84,22 @@ docs/QueryResponse.md
6384
docs/QueryRunInfo.md
6485
docs/QueryRunsApi.md
6586
docs/RefreshApi.md
87+
docs/RefreshDatasetResponse.md
6688
docs/RefreshRequest.md
6789
docs/RefreshResponse.md
6890
docs/RefreshWarning.md
6991
docs/ResultInfo.md
7092
docs/ResultsApi.md
7193
docs/SavedQueriesApi.md
94+
docs/SavedQueryDatasetSource.md
7295
docs/SavedQueryDetail.md
7396
docs/SavedQuerySummary.md
7497
docs/SavedQueryVersionInfo.md
7598
docs/SchemaRefreshResult.md
7699
docs/SecretMetadataResponse.md
77100
docs/SecretsApi.md
101+
docs/SqlQueryDatasetSource.md
102+
docs/SubmitJobResponse.md
78103
docs/TableInfo.md
79104
docs/TableProfileResponse.md
80105
docs/TableRefreshError.md
@@ -83,13 +108,20 @@ docs/TemporalProfileDetail.md
83108
docs/TextProfileDetail.md
84109
docs/UpdateDatasetRequest.md
85110
docs/UpdateDatasetResponse.md
111+
docs/UpdateEmbeddingProviderRequest.md
112+
docs/UpdateEmbeddingProviderResponse.md
86113
docs/UpdateSavedQueryRequest.md
87114
docs/UpdateSecretRequest.md
88115
docs/UpdateSecretResponse.md
89116
docs/UploadDatasetSource.md
90117
docs/UploadInfo.md
91118
docs/UploadResponse.md
92119
docs/UploadsApi.md
120+
docs/UpsertWorkspaceContextRequest.md
121+
docs/UpsertWorkspaceContextResponse.md
122+
docs/UrlDatasetSource.md
123+
docs/WorkspaceContextApi.md
124+
docs/WorkspaceContextEntry.md
93125
docs/WorkspaceDetail.md
94126
docs/WorkspaceListItem.md
95127
docs/WorkspacesApi.md
@@ -98,14 +130,18 @@ hotdata/api/__init__.py
98130
hotdata/api/connection_types_api.py
99131
hotdata/api/connections_api.py
100132
hotdata/api/datasets_api.py
133+
hotdata/api/embedding_providers_api.py
134+
hotdata/api/indexes_api.py
101135
hotdata/api/information_schema_api.py
136+
hotdata/api/jobs_api.py
102137
hotdata/api/query_api.py
103138
hotdata/api/query_runs_api.py
104139
hotdata/api/refresh_api.py
105140
hotdata/api/results_api.py
106141
hotdata/api/saved_queries_api.py
107142
hotdata/api/secrets_api.py
108143
hotdata/api/uploads_api.py
144+
hotdata/api/workspace_context_api.py
109145
hotdata/api/workspaces_api.py
110146
hotdata/api_client.py
111147
hotdata/api_response.py
@@ -114,6 +150,7 @@ hotdata/exceptions.py
114150
hotdata/models/__init__.py
115151
hotdata/models/api_error_detail.py
116152
hotdata/models/api_error_response.py
153+
hotdata/models/async_query_response.py
117154
hotdata/models/boolean_profile_detail.py
118155
hotdata/models/categorical_profile_detail.py
119156
hotdata/models/category_value_info.py
@@ -136,46 +173,67 @@ hotdata/models/create_connection_request.py
136173
hotdata/models/create_connection_response.py
137174
hotdata/models/create_dataset_request.py
138175
hotdata/models/create_dataset_response.py
176+
hotdata/models/create_embedding_provider_request.py
177+
hotdata/models/create_embedding_provider_response.py
178+
hotdata/models/create_index_request.py
139179
hotdata/models/create_saved_query_request.py
140180
hotdata/models/create_secret_request.py
141181
hotdata/models/create_secret_response.py
142182
hotdata/models/create_workspace_request.py
143183
hotdata/models/create_workspace_response.py
144184
hotdata/models/dataset_source.py
145185
hotdata/models/dataset_summary.py
186+
hotdata/models/dataset_version_summary.py
146187
hotdata/models/discovery_status.py
188+
hotdata/models/embedding_provider_response.py
147189
hotdata/models/error.py
148190
hotdata/models/execute_saved_query_request.py
149191
hotdata/models/get_connection_response.py
150192
hotdata/models/get_dataset_response.py
151193
hotdata/models/get_result_response.py
152194
hotdata/models/get_secret_response.py
195+
hotdata/models/get_workspace_context_response.py
196+
hotdata/models/index_info_response.py
197+
hotdata/models/index_status.py
153198
hotdata/models/information_schema_response.py
154199
hotdata/models/inline_data.py
155200
hotdata/models/inline_dataset_source.py
201+
hotdata/models/job_result.py
202+
hotdata/models/job_status.py
203+
hotdata/models/job_status_response.py
204+
hotdata/models/job_type.py
156205
hotdata/models/list_connection_types_response.py
157206
hotdata/models/list_connections_response.py
207+
hotdata/models/list_dataset_versions_response.py
158208
hotdata/models/list_datasets_response.py
209+
hotdata/models/list_embedding_providers_response.py
210+
hotdata/models/list_indexes_response.py
211+
hotdata/models/list_jobs_response.py
159212
hotdata/models/list_query_runs_response.py
160213
hotdata/models/list_results_response.py
161214
hotdata/models/list_saved_queries_response.py
162215
hotdata/models/list_saved_query_versions_response.py
163216
hotdata/models/list_secrets_response.py
164217
hotdata/models/list_uploads_response.py
218+
hotdata/models/list_workspace_contexts_response.py
165219
hotdata/models/list_workspaces_response.py
166220
hotdata/models/numeric_profile_detail.py
167221
hotdata/models/query_request.py
168222
hotdata/models/query_response.py
169223
hotdata/models/query_run_info.py
224+
hotdata/models/refresh_dataset_response.py
170225
hotdata/models/refresh_request.py
171226
hotdata/models/refresh_response.py
172227
hotdata/models/refresh_warning.py
173228
hotdata/models/result_info.py
229+
hotdata/models/saved_query_dataset_source.py
174230
hotdata/models/saved_query_detail.py
175231
hotdata/models/saved_query_summary.py
176232
hotdata/models/saved_query_version_info.py
177233
hotdata/models/schema_refresh_result.py
178234
hotdata/models/secret_metadata_response.py
235+
hotdata/models/sql_query_dataset_source.py
236+
hotdata/models/submit_job_response.py
179237
hotdata/models/table_info.py
180238
hotdata/models/table_profile_response.py
181239
hotdata/models/table_refresh_error.py
@@ -184,12 +242,18 @@ hotdata/models/temporal_profile_detail.py
184242
hotdata/models/text_profile_detail.py
185243
hotdata/models/update_dataset_request.py
186244
hotdata/models/update_dataset_response.py
245+
hotdata/models/update_embedding_provider_request.py
246+
hotdata/models/update_embedding_provider_response.py
187247
hotdata/models/update_saved_query_request.py
188248
hotdata/models/update_secret_request.py
189249
hotdata/models/update_secret_response.py
190250
hotdata/models/upload_dataset_source.py
191251
hotdata/models/upload_info.py
192252
hotdata/models/upload_response.py
253+
hotdata/models/upsert_workspace_context_request.py
254+
hotdata/models/upsert_workspace_context_response.py
255+
hotdata/models/url_dataset_source.py
256+
hotdata/models/workspace_context_entry.py
193257
hotdata/models/workspace_detail.py
194258
hotdata/models/workspace_list_item.py
195259
hotdata/py.typed
@@ -200,8 +264,36 @@ setup.cfg
200264
setup.py
201265
test-requirements.txt
202266
test/__init__.py
203-
test/test_connection_type_detail.py
204-
test/test_connection_type_summary.py
205-
test/test_connection_types_api.py
206-
test/test_list_connection_types_response.py
267+
test/test_async_query_response.py
268+
test/test_create_embedding_provider_request.py
269+
test/test_create_embedding_provider_response.py
270+
test/test_create_index_request.py
271+
test/test_dataset_version_summary.py
272+
test/test_embedding_provider_response.py
273+
test/test_embedding_providers_api.py
274+
test/test_get_workspace_context_response.py
275+
test/test_index_info_response.py
276+
test/test_index_status.py
277+
test/test_indexes_api.py
278+
test/test_job_result.py
279+
test/test_job_status.py
280+
test/test_job_status_response.py
281+
test/test_job_type.py
282+
test/test_jobs_api.py
283+
test/test_list_dataset_versions_response.py
284+
test/test_list_embedding_providers_response.py
285+
test/test_list_indexes_response.py
286+
test/test_list_jobs_response.py
287+
test/test_list_workspace_contexts_response.py
288+
test/test_refresh_dataset_response.py
289+
test/test_saved_query_dataset_source.py
290+
test/test_sql_query_dataset_source.py
291+
test/test_submit_job_response.py
292+
test/test_update_embedding_provider_request.py
293+
test/test_update_embedding_provider_response.py
294+
test/test_upsert_workspace_context_request.py
295+
test/test_upsert_workspace_context_response.py
296+
test/test_url_dataset_source.py
297+
test/test_workspace_context_api.py
298+
test/test_workspace_context_entry.py
207299
tox.ini

docs/AsyncQueryResponse.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# AsyncQueryResponse
2+
3+
Response returned when a query is submitted asynchronously (202 Accepted). Poll GET /query-runs/{id} to track progress. Once status is \"succeeded\", retrieve results via GET /results/{result_id}.
4+
5+
## Properties
6+
7+
Name | Type | Description | Notes
8+
------------ | ------------- | ------------- | -------------
9+
**query_run_id** | **str** | Unique identifier for the query run. |
10+
**reason** | **str** | Human-readable reason why the query went async (e.g., caching tables for the first time). | [optional]
11+
**status** | **str** | Current status of the query run. |
12+
**status_url** | **str** | URL to poll for query run status. |
13+
14+
## Example
15+
16+
```python
17+
from hotdata.models.async_query_response import AsyncQueryResponse
18+
19+
# TODO update the JSON string below
20+
json = "{}"
21+
# create an instance of AsyncQueryResponse from a JSON string
22+
async_query_response_instance = AsyncQueryResponse.from_json(json)
23+
# print the JSON string representation of the object
24+
print(AsyncQueryResponse.to_json())
25+
26+
# convert the object into a dict
27+
async_query_response_dict = async_query_response_instance.to_dict()
28+
# create an instance of AsyncQueryResponse from a dict
29+
async_query_response_from_dict = AsyncQueryResponse.from_dict(async_query_response_dict)
30+
```
31+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
32+
33+

docs/ConnectionRefreshResult.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# ConnectionRefreshResult
22

3-
Response for connection-wide data refresh
3+
Result payload for a `data_refresh_connection` job.
44

55
## Properties
66

77
Name | Type | Description | Notes
88
------------ | ------------- | ------------- | -------------
99
**connection_id** | **str** | |
1010
**duration_ms** | **int** | |
11-
**errors** | [**List[TableRefreshError]**](TableRefreshError.md) | |
11+
**errors** | [**List[TableRefreshError]**](TableRefreshError.md) | | [optional]
1212
**tables_failed** | **int** | |
1313
**tables_refreshed** | **int** | |
1414
**total_rows** | **int** | |

docs/CreateConnectionRequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
1010
**name** | **str** | |
1111
**secret_id** | **str** | Optional reference to a secret by ID (e.g., \"secr_abc123\"). If provided, this secret will be used for authentication. Mutually exclusive with `secret_name`. | [optional]
1212
**secret_name** | **str** | Optional reference to a secret by name. If provided, this secret will be used for authentication. Mutually exclusive with `secret_id`. | [optional]
13+
**skip_discovery** | **bool** | If true, skip automatic schema discovery after registering the connection. The connection will be created but no tables will be discovered. You can run discovery later via the refresh endpoint. | [optional]
1314
**source_type** | **str** | |
1415

1516
## Example

docs/CreateDatasetResponse.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
99
**created_at** | **datetime** | |
1010
**id** | **str** | |
1111
**label** | **str** | |
12+
**schema_name** | **str** | |
1213
**status** | **str** | |
1314
**table_name** | **str** | |
1415

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# CreateEmbeddingProviderRequest
2+
3+
Request body for POST /embedding-providers
4+
5+
## Properties
6+
7+
Name | Type | Description | Notes
8+
------------ | ------------- | ------------- | -------------
9+
**api_key** | **str** | Inline API key. If provided, a secret is auto-created and referenced. Cannot be used together with `secret_name`. | [optional]
10+
**config** | **object** | | [optional]
11+
**name** | **str** | |
12+
**provider_type** | **str** | Provider type: \"local\" or \"service\" |
13+
**secret_name** | **str** | Reference an existing secret by name (for service providers). | [optional]
14+
15+
## Example
16+
17+
```python
18+
from hotdata.models.create_embedding_provider_request import CreateEmbeddingProviderRequest
19+
20+
# TODO update the JSON string below
21+
json = "{}"
22+
# create an instance of CreateEmbeddingProviderRequest from a JSON string
23+
create_embedding_provider_request_instance = CreateEmbeddingProviderRequest.from_json(json)
24+
# print the JSON string representation of the object
25+
print(CreateEmbeddingProviderRequest.to_json())
26+
27+
# convert the object into a dict
28+
create_embedding_provider_request_dict = create_embedding_provider_request_instance.to_dict()
29+
# create an instance of CreateEmbeddingProviderRequest from a dict
30+
create_embedding_provider_request_from_dict = CreateEmbeddingProviderRequest.from_dict(create_embedding_provider_request_dict)
31+
```
32+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
33+
34+
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# CreateEmbeddingProviderResponse
2+
3+
Response body for POST /embedding-providers
4+
5+
## Properties
6+
7+
Name | Type | Description | Notes
8+
------------ | ------------- | ------------- | -------------
9+
**config** | **object** | |
10+
**created_at** | **datetime** | |
11+
**id** | **str** | |
12+
**name** | **str** | |
13+
**provider_type** | **str** | |
14+
15+
## Example
16+
17+
```python
18+
from hotdata.models.create_embedding_provider_response import CreateEmbeddingProviderResponse
19+
20+
# TODO update the JSON string below
21+
json = "{}"
22+
# create an instance of CreateEmbeddingProviderResponse from a JSON string
23+
create_embedding_provider_response_instance = CreateEmbeddingProviderResponse.from_json(json)
24+
# print the JSON string representation of the object
25+
print(CreateEmbeddingProviderResponse.to_json())
26+
27+
# convert the object into a dict
28+
create_embedding_provider_response_dict = create_embedding_provider_response_instance.to_dict()
29+
# create an instance of CreateEmbeddingProviderResponse from a dict
30+
create_embedding_provider_response_from_dict = CreateEmbeddingProviderResponse.from_dict(create_embedding_provider_response_dict)
31+
```
32+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
33+
34+

0 commit comments

Comments
 (0)