Skip to content

Commit 4191130

Browse files
chore: regenerate client from OpenAPI spec (#47)
Co-authored-by: hotdata-automation[bot] <267177015+hotdata-automation[bot]@users.noreply.github.com> Co-authored-by: Zac Farrell <zac@hotdata.dev>
1 parent dcf76fe commit 4191130

60 files changed

Lines changed: 3822 additions & 273 deletions

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: 21 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ docs/CreateDatasetResponse.md
3131
docs/CreateEmbeddingProviderRequest.md
3232
docs/CreateEmbeddingProviderResponse.md
3333
docs/CreateIndexRequest.md
34+
docs/CreateSandboxRequest.md
3435
docs/CreateSavedQueryRequest.md
3536
docs/CreateSecretRequest.md
3637
docs/CreateSecretResponse.md
@@ -40,6 +41,7 @@ docs/DatasetSource.md
4041
docs/DatasetSummary.md
4142
docs/DatasetVersionSummary.md
4243
docs/DatasetsApi.md
44+
docs/DeleteSandboxResponse.md
4345
docs/DiscoveryStatus.md
4446
docs/EmbeddingProviderResponse.md
4547
docs/EmbeddingProvidersApi.md
@@ -71,6 +73,7 @@ docs/ListIndexesResponse.md
7173
docs/ListJobsResponse.md
7274
docs/ListQueryRunsResponse.md
7375
docs/ListResultsResponse.md
76+
docs/ListSandboxesResponse.md
7477
docs/ListSavedQueriesResponse.md
7578
docs/ListSavedQueryVersionsResponse.md
7679
docs/ListSecretsResponse.md
@@ -90,6 +93,9 @@ docs/RefreshResponse.md
9093
docs/RefreshWarning.md
9194
docs/ResultInfo.md
9295
docs/ResultsApi.md
96+
docs/Sandbox.md
97+
docs/SandboxResponse.md
98+
docs/SandboxesApi.md
9399
docs/SavedQueriesApi.md
94100
docs/SavedQueryDatasetSource.md
95101
docs/SavedQueryDetail.md
@@ -110,6 +116,7 @@ docs/UpdateDatasetRequest.md
110116
docs/UpdateDatasetResponse.md
111117
docs/UpdateEmbeddingProviderRequest.md
112118
docs/UpdateEmbeddingProviderResponse.md
119+
docs/UpdateSandboxRequest.md
113120
docs/UpdateSavedQueryRequest.md
114121
docs/UpdateSecretRequest.md
115122
docs/UpdateSecretResponse.md
@@ -138,6 +145,7 @@ hotdata/api/query_api.py
138145
hotdata/api/query_runs_api.py
139146
hotdata/api/refresh_api.py
140147
hotdata/api/results_api.py
148+
hotdata/api/sandboxes_api.py
141149
hotdata/api/saved_queries_api.py
142150
hotdata/api/secrets_api.py
143151
hotdata/api/uploads_api.py
@@ -176,6 +184,7 @@ hotdata/models/create_dataset_response.py
176184
hotdata/models/create_embedding_provider_request.py
177185
hotdata/models/create_embedding_provider_response.py
178186
hotdata/models/create_index_request.py
187+
hotdata/models/create_sandbox_request.py
179188
hotdata/models/create_saved_query_request.py
180189
hotdata/models/create_secret_request.py
181190
hotdata/models/create_secret_response.py
@@ -184,6 +193,7 @@ hotdata/models/create_workspace_response.py
184193
hotdata/models/dataset_source.py
185194
hotdata/models/dataset_summary.py
186195
hotdata/models/dataset_version_summary.py
196+
hotdata/models/delete_sandbox_response.py
187197
hotdata/models/discovery_status.py
188198
hotdata/models/embedding_provider_response.py
189199
hotdata/models/error.py
@@ -211,6 +221,7 @@ hotdata/models/list_indexes_response.py
211221
hotdata/models/list_jobs_response.py
212222
hotdata/models/list_query_runs_response.py
213223
hotdata/models/list_results_response.py
224+
hotdata/models/list_sandboxes_response.py
214225
hotdata/models/list_saved_queries_response.py
215226
hotdata/models/list_saved_query_versions_response.py
216227
hotdata/models/list_secrets_response.py
@@ -226,6 +237,8 @@ hotdata/models/refresh_request.py
226237
hotdata/models/refresh_response.py
227238
hotdata/models/refresh_warning.py
228239
hotdata/models/result_info.py
240+
hotdata/models/sandbox.py
241+
hotdata/models/sandbox_response.py
229242
hotdata/models/saved_query_dataset_source.py
230243
hotdata/models/saved_query_detail.py
231244
hotdata/models/saved_query_summary.py
@@ -244,6 +257,7 @@ hotdata/models/update_dataset_request.py
244257
hotdata/models/update_dataset_response.py
245258
hotdata/models/update_embedding_provider_request.py
246259
hotdata/models/update_embedding_provider_response.py
260+
hotdata/models/update_sandbox_request.py
247261
hotdata/models/update_saved_query_request.py
248262
hotdata/models/update_secret_request.py
249263
hotdata/models/update_secret_response.py
@@ -264,36 +278,11 @@ setup.cfg
264278
setup.py
265279
test-requirements.txt
266280
test/__init__.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
281+
test/test_create_sandbox_request.py
282+
test/test_delete_sandbox_response.py
283+
test/test_list_sandboxes_response.py
284+
test/test_sandbox.py
285+
test/test_sandbox_response.py
286+
test/test_sandboxes_api.py
287+
test/test_update_sandbox_request.py
299288
tox.ini

docs/ConnectionTypesApi.md

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# hotdata.ConnectionTypesApi
22

3-
All URIs are relative to *https://app.hotdata.dev*
3+
All URIs are relative to *https://api.hotdata.dev*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
@@ -17,6 +17,7 @@ Get configuration schema and authentication requirements for a specific connecti
1717

1818
### Example
1919

20+
* Api Key Authentication (WorkspaceId):
2021
* Bearer Authentication (BearerAuth):
2122

2223
```python
@@ -25,17 +26,23 @@ from hotdata.models.connection_type_detail import ConnectionTypeDetail
2526
from hotdata.rest import ApiException
2627
from pprint import pprint
2728

28-
# Defining the host is optional and defaults to https://app.hotdata.dev
29+
# Defining the host is optional and defaults to https://api.hotdata.dev
2930
# See configuration.py for a list of all supported configuration parameters.
3031
configuration = hotdata.Configuration(
31-
host = "https://app.hotdata.dev"
32+
host = "https://api.hotdata.dev"
3233
)
3334

3435
# The client must configure the authentication and authorization parameters
3536
# in accordance with the API server security policy.
3637
# Examples for each auth method are provided below, use the example that
3738
# satisfies your auth use case.
3839

40+
# Configure API key authorization: WorkspaceId
41+
configuration.api_key['WorkspaceId'] = os.environ["API_KEY"]
42+
43+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
44+
# configuration.api_key_prefix['WorkspaceId'] = 'Bearer'
45+
3946
# Configure Bearer authorization: BearerAuth
4047
configuration = hotdata.Configuration(
4148
access_token = os.environ["BEARER_TOKEN"]
@@ -71,7 +78,7 @@ Name | Type | Description | Notes
7178

7279
### Authorization
7380

74-
[BearerAuth](../README.md#BearerAuth)
81+
[WorkspaceId](../README.md#WorkspaceId), [BearerAuth](../README.md#BearerAuth)
7582

7683
### HTTP request headers
7784

@@ -96,6 +103,7 @@ List all available connection types, including native sources and FlightDLT serv
96103

97104
### Example
98105

106+
* Api Key Authentication (WorkspaceId):
99107
* Bearer Authentication (BearerAuth):
100108

101109
```python
@@ -104,17 +112,23 @@ from hotdata.models.list_connection_types_response import ListConnectionTypesRes
104112
from hotdata.rest import ApiException
105113
from pprint import pprint
106114

107-
# Defining the host is optional and defaults to https://app.hotdata.dev
115+
# Defining the host is optional and defaults to https://api.hotdata.dev
108116
# See configuration.py for a list of all supported configuration parameters.
109117
configuration = hotdata.Configuration(
110-
host = "https://app.hotdata.dev"
118+
host = "https://api.hotdata.dev"
111119
)
112120

113121
# The client must configure the authentication and authorization parameters
114122
# in accordance with the API server security policy.
115123
# Examples for each auth method are provided below, use the example that
116124
# satisfies your auth use case.
117125

126+
# Configure API key authorization: WorkspaceId
127+
configuration.api_key['WorkspaceId'] = os.environ["API_KEY"]
128+
129+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
130+
# configuration.api_key_prefix['WorkspaceId'] = 'Bearer'
131+
118132
# Configure Bearer authorization: BearerAuth
119133
configuration = hotdata.Configuration(
120134
access_token = os.environ["BEARER_TOKEN"]
@@ -146,7 +160,7 @@ This endpoint does not need any parameter.
146160

147161
### Authorization
148162

149-
[BearerAuth](../README.md#BearerAuth)
163+
[WorkspaceId](../README.md#WorkspaceId), [BearerAuth](../README.md#BearerAuth)
150164

151165
### HTTP request headers
152166

0 commit comments

Comments
 (0)