Skip to content

Commit c26e8ec

Browse files
chore: regenerate client from OpenAPI spec (#14)
Co-authored-by: hotdata-automation[bot] <267177015+hotdata-automation[bot]@users.noreply.github.com>
1 parent 2634b3f commit c26e8ec

File tree

159 files changed

+2678
-618
lines changed

Some content is hidden

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

159 files changed

+2678
-618
lines changed

.openapi-generator/FILES

Lines changed: 27 additions & 98 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
.github/workflows/python.yml
22
.gitignore
33
.gitlab-ci.yml
4-
.openapi-generator-ignore
5-
.travis.yml
6-
README.md
74
docs/ApiErrorDetail.md
85
docs/ApiErrorResponse.md
6+
docs/BooleanProfileDetail.md
7+
docs/CategoricalProfileDetail.md
98
docs/CategoryValueInfo.md
10-
docs/ColumnDefinition.md
119
docs/ColumnInfo.md
1210
docs/ColumnProfileDetail.md
1311
docs/ColumnProfileDetailOneOf.md
@@ -29,11 +27,9 @@ docs/CreateDatasetResponse.md
2927
docs/CreateSavedQueryRequest.md
3028
docs/CreateSecretRequest.md
3129
docs/CreateSecretResponse.md
32-
docs/CreateWorkspace201Response.md
3330
docs/CreateWorkspaceRequest.md
31+
docs/CreateWorkspaceResponse.md
3432
docs/DatasetSource.md
35-
docs/DatasetSourceOneOf.md
36-
docs/DatasetSourceOneOf1.md
3733
docs/DatasetSummary.md
3834
docs/DatasetsApi.md
3935
docs/DiscoveryStatus.md
@@ -46,6 +42,7 @@ docs/GetSecretResponse.md
4642
docs/InformationSchemaApi.md
4743
docs/InformationSchemaResponse.md
4844
docs/InlineData.md
45+
docs/InlineDatasetSource.md
4946
docs/ListConnectionsResponse.md
5047
docs/ListDatasetsResponse.md
5148
docs/ListQueryRunsResponse.md
@@ -54,7 +51,8 @@ docs/ListSavedQueriesResponse.md
5451
docs/ListSavedQueryVersionsResponse.md
5552
docs/ListSecretsResponse.md
5653
docs/ListUploadsResponse.md
57-
docs/ListWorkspaces200Response.md
54+
docs/ListWorkspacesResponse.md
55+
docs/NumericProfileDetail.md
5856
docs/QueryApi.md
5957
docs/QueryRequest.md
6058
docs/QueryResponse.md
@@ -77,18 +75,20 @@ docs/TableInfo.md
7775
docs/TableProfileResponse.md
7876
docs/TableRefreshError.md
7977
docs/TableRefreshResult.md
78+
docs/TemporalProfileDetail.md
79+
docs/TextProfileDetail.md
8080
docs/UpdateDatasetRequest.md
8181
docs/UpdateDatasetResponse.md
8282
docs/UpdateSavedQueryRequest.md
8383
docs/UpdateSecretRequest.md
8484
docs/UpdateSecretResponse.md
85+
docs/UploadDatasetSource.md
8586
docs/UploadInfo.md
8687
docs/UploadResponse.md
8788
docs/UploadsApi.md
8889
docs/WorkspaceDetail.md
8990
docs/WorkspaceListItem.md
9091
docs/WorkspacesApi.md
91-
git_push.sh
9292
hotdata/__init__.py
9393
hotdata/api/__init__.py
9494
hotdata/api/connections_api.py
@@ -109,8 +109,9 @@ hotdata/exceptions.py
109109
hotdata/models/__init__.py
110110
hotdata/models/api_error_detail.py
111111
hotdata/models/api_error_response.py
112+
hotdata/models/boolean_profile_detail.py
113+
hotdata/models/categorical_profile_detail.py
112114
hotdata/models/category_value_info.py
113-
hotdata/models/column_definition.py
114115
hotdata/models/column_info.py
115116
hotdata/models/column_profile_detail.py
116117
hotdata/models/column_profile_detail_one_of.py
@@ -131,11 +132,9 @@ hotdata/models/create_dataset_response.py
131132
hotdata/models/create_saved_query_request.py
132133
hotdata/models/create_secret_request.py
133134
hotdata/models/create_secret_response.py
134-
hotdata/models/create_workspace201_response.py
135135
hotdata/models/create_workspace_request.py
136+
hotdata/models/create_workspace_response.py
136137
hotdata/models/dataset_source.py
137-
hotdata/models/dataset_source_one_of.py
138-
hotdata/models/dataset_source_one_of1.py
139138
hotdata/models/dataset_summary.py
140139
hotdata/models/discovery_status.py
141140
hotdata/models/error.py
@@ -146,6 +145,7 @@ hotdata/models/get_result_response.py
146145
hotdata/models/get_secret_response.py
147146
hotdata/models/information_schema_response.py
148147
hotdata/models/inline_data.py
148+
hotdata/models/inline_dataset_source.py
149149
hotdata/models/list_connections_response.py
150150
hotdata/models/list_datasets_response.py
151151
hotdata/models/list_query_runs_response.py
@@ -154,7 +154,8 @@ hotdata/models/list_saved_queries_response.py
154154
hotdata/models/list_saved_query_versions_response.py
155155
hotdata/models/list_secrets_response.py
156156
hotdata/models/list_uploads_response.py
157-
hotdata/models/list_workspaces200_response.py
157+
hotdata/models/list_workspaces_response.py
158+
hotdata/models/numeric_profile_detail.py
158159
hotdata/models/query_request.py
159160
hotdata/models/query_response.py
160161
hotdata/models/query_run_info.py
@@ -171,11 +172,14 @@ hotdata/models/table_info.py
171172
hotdata/models/table_profile_response.py
172173
hotdata/models/table_refresh_error.py
173174
hotdata/models/table_refresh_result.py
175+
hotdata/models/temporal_profile_detail.py
176+
hotdata/models/text_profile_detail.py
174177
hotdata/models/update_dataset_request.py
175178
hotdata/models/update_dataset_response.py
176179
hotdata/models/update_saved_query_request.py
177180
hotdata/models/update_secret_request.py
178181
hotdata/models/update_secret_response.py
182+
hotdata/models/upload_dataset_source.py
179183
hotdata/models/upload_info.py
180184
hotdata/models/upload_response.py
181185
hotdata/models/workspace_detail.py
@@ -188,88 +192,13 @@ setup.cfg
188192
setup.py
189193
test-requirements.txt
190194
test/__init__.py
191-
test/test_api_error_detail.py
192-
test/test_api_error_response.py
193-
test/test_category_value_info.py
194-
test/test_column_definition.py
195-
test/test_column_info.py
196-
test/test_column_profile_detail.py
197-
test/test_column_profile_detail_one_of.py
198-
test/test_column_profile_detail_one_of1.py
199-
test/test_column_profile_detail_one_of2.py
200-
test/test_column_profile_detail_one_of3.py
201-
test/test_column_profile_detail_one_of4.py
202-
test/test_column_profile_info.py
203-
test/test_column_type_spec.py
204-
test/test_connection_health_response.py
205-
test/test_connection_info.py
206-
test/test_connection_refresh_result.py
207-
test/test_connection_schema_error.py
208-
test/test_connections_api.py
209-
test/test_create_connection_request.py
210-
test/test_create_connection_response.py
211-
test/test_create_dataset_request.py
212-
test/test_create_dataset_response.py
213-
test/test_create_saved_query_request.py
214-
test/test_create_secret_request.py
215-
test/test_create_secret_response.py
216-
test/test_create_workspace201_response.py
217-
test/test_create_workspace_request.py
218-
test/test_dataset_source.py
219-
test/test_dataset_source_one_of.py
220-
test/test_dataset_source_one_of1.py
221-
test/test_dataset_summary.py
222-
test/test_datasets_api.py
223-
test/test_discovery_status.py
224-
test/test_error.py
225-
test/test_execute_saved_query_request.py
226-
test/test_get_connection_response.py
227-
test/test_get_dataset_response.py
228-
test/test_get_result_response.py
229-
test/test_get_secret_response.py
230-
test/test_information_schema_api.py
231-
test/test_information_schema_response.py
232-
test/test_inline_data.py
233-
test/test_list_connections_response.py
234-
test/test_list_datasets_response.py
235-
test/test_list_query_runs_response.py
236-
test/test_list_results_response.py
237-
test/test_list_saved_queries_response.py
238-
test/test_list_saved_query_versions_response.py
239-
test/test_list_secrets_response.py
240-
test/test_list_uploads_response.py
241-
test/test_list_workspaces200_response.py
242-
test/test_query_api.py
243-
test/test_query_request.py
244-
test/test_query_response.py
245-
test/test_query_run_info.py
246-
test/test_query_runs_api.py
247-
test/test_refresh_api.py
248-
test/test_refresh_request.py
249-
test/test_refresh_response.py
250-
test/test_refresh_warning.py
251-
test/test_result_info.py
252-
test/test_results_api.py
253-
test/test_saved_queries_api.py
254-
test/test_saved_query_detail.py
255-
test/test_saved_query_summary.py
256-
test/test_saved_query_version_info.py
257-
test/test_schema_refresh_result.py
258-
test/test_secret_metadata_response.py
259-
test/test_secrets_api.py
260-
test/test_table_info.py
261-
test/test_table_profile_response.py
262-
test/test_table_refresh_error.py
263-
test/test_table_refresh_result.py
264-
test/test_update_dataset_request.py
265-
test/test_update_dataset_response.py
266-
test/test_update_saved_query_request.py
267-
test/test_update_secret_request.py
268-
test/test_update_secret_response.py
269-
test/test_upload_info.py
270-
test/test_upload_response.py
271-
test/test_uploads_api.py
272-
test/test_workspace_detail.py
273-
test/test_workspace_list_item.py
274-
test/test_workspaces_api.py
195+
test/test_boolean_profile_detail.py
196+
test/test_categorical_profile_detail.py
197+
test/test_create_workspace_response.py
198+
test/test_inline_dataset_source.py
199+
test/test_list_workspaces_response.py
200+
test/test_numeric_profile_detail.py
201+
test/test_temporal_profile_detail.py
202+
test/test_text_profile_detail.py
203+
test/test_upload_dataset_source.py
275204
tox.ini

docs/BooleanProfileDetail.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# BooleanProfileDetail
2+
3+
Boolean column.
4+
5+
## Properties
6+
7+
Name | Type | Description | Notes
8+
------------ | ------------- | ------------- | -------------
9+
**false_count** | **int** | Number of false values |
10+
**true_count** | **int** | Number of true values |
11+
12+
## Example
13+
14+
```python
15+
from hotdata.models.boolean_profile_detail import BooleanProfileDetail
16+
17+
# TODO update the JSON string below
18+
json = "{}"
19+
# create an instance of BooleanProfileDetail from a JSON string
20+
boolean_profile_detail_instance = BooleanProfileDetail.from_json(json)
21+
# print the JSON string representation of the object
22+
print(BooleanProfileDetail.to_json())
23+
24+
# convert the object into a dict
25+
boolean_profile_detail_dict = boolean_profile_detail_instance.to_dict()
26+
# create an instance of BooleanProfileDetail from a dict
27+
boolean_profile_detail_from_dict = BooleanProfileDetail.from_dict(boolean_profile_detail_dict)
28+
```
29+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
30+
31+

docs/CategoricalProfileDetail.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# CategoricalProfileDetail
2+
3+
Type-specific column profile detail. The `type` discriminator field determines which variant is present. Profile type is chosen based on the column's Arrow data type and cardinality: - **categorical**: Text or numeric columns with ≤200 distinct values. Lists each value with its frequency. - **text**: Text columns with >200 distinct values. Reports string length statistics. - **numeric**: Numeric columns with >200 distinct values. Reports min, max, and mean. - **temporal**: Date and timestamp columns. Reports min and max as ISO-8601 strings. - **boolean**: Boolean columns. Reports true and false counts. Low-cardinality column (≤200 distinct values). Values sorted by frequency descending.
4+
5+
## Properties
6+
7+
Name | Type | Description | Notes
8+
------------ | ------------- | ------------- | -------------
9+
**values** | [**List[CategoryValueInfo]**](CategoryValueInfo.md) | Distinct values with their counts, ordered by count descending |
10+
11+
## Example
12+
13+
```python
14+
from hotdata.models.categorical_profile_detail import CategoricalProfileDetail
15+
16+
# TODO update the JSON string below
17+
json = "{}"
18+
# create an instance of CategoricalProfileDetail from a JSON string
19+
categorical_profile_detail_instance = CategoricalProfileDetail.from_json(json)
20+
# print the JSON string representation of the object
21+
print(CategoricalProfileDetail.to_json())
22+
23+
# convert the object into a dict
24+
categorical_profile_detail_dict = categorical_profile_detail_instance.to_dict()
25+
# create an instance of CategoricalProfileDetail from a dict
26+
categorical_profile_detail_from_dict = CategoricalProfileDetail.from_dict(categorical_profile_detail_dict)
27+
```
28+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
29+
30+

docs/CategoryValueInfo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ A distinct value with its frequency count, used in categorical profiles.
77
Name | Type | Description | Notes
88
------------ | ------------- | ------------- | -------------
99
**count** | **int** | Number of occurrences |
10-
**value** | **object** | The distinct value (as a string, or null) |
10+
**value** | **str** | The distinct value (as a string, or null) | [optional]
1111

1212
## Example
1313

docs/ColumnProfileDetail.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
# ColumnProfileDetail
22

3-
Type-specific column profile detail. The `type` discriminator field determines which variant is present. Profile type is chosen based on the column's Arrow data type and cardinality: - **categorical**: Text or numeric columns with ≤200 distinct values. Lists each value with its frequency. - **text**: Text columns with >200 distinct values. Reports string length statistics. - **numeric**: Numeric columns with >200 distinct values. Reports min, max, and mean. - **temporal**: Date and timestamp columns. Reports min and max as ISO-8601 strings. - **boolean**: Boolean columns. Reports true and false counts.
43

54
## Properties
65

76
Name | Type | Description | Notes
87
------------ | ------------- | ------------- | -------------
9-
**type** | **str** | |
108
**values** | [**List[CategoryValueInfo]**](CategoryValueInfo.md) | Distinct values with their counts, ordered by count descending |
9+
**type** | **str** | |
1110
**avg_length** | **float** | Average string length |
1211
**max_length** | **int** | Longest string length in the column |
1312
**min_length** | **int** | Shortest string length in the column |

docs/ColumnProfileDetailOneOf.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
# ColumnProfileDetailOneOf
22

3-
Low-cardinality column (≤200 distinct values). Applies to text and numeric columns. Values are sorted by frequency descending.
43

54
## Properties
65

76
Name | Type | Description | Notes
87
------------ | ------------- | ------------- | -------------
9-
**type** | **str** | |
108
**values** | [**List[CategoryValueInfo]**](CategoryValueInfo.md) | Distinct values with their counts, ordered by count descending |
9+
**type** | **str** | |
1110

1211
## Example
1312

docs/ColumnProfileDetailOneOf1.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# ColumnProfileDetailOneOf1
22

3-
High-cardinality text column (>200 distinct values).
43

54
## Properties
65

docs/ColumnProfileDetailOneOf2.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# ColumnProfileDetailOneOf2
22

3-
High-cardinality numeric column (>200 distinct values).
43

54
## Properties
65

docs/ColumnProfileDetailOneOf3.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# ColumnProfileDetailOneOf3
22

3-
Date or timestamp column.
43

54
## Properties
65

docs/ColumnProfileDetailOneOf4.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# ColumnProfileDetailOneOf4
22

3-
Boolean column.
43

54
## Properties
65

0 commit comments

Comments
 (0)