Skip to content

Commit d151555

Browse files
chore: regenerate client from OpenAPI spec
1 parent 6ec0c8c commit d151555

18 files changed

Lines changed: 51 additions & 23 deletions

.openapi-generator/FILES

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -313,14 +313,4 @@ requirements.txt
313313
setup.cfg
314314
test-requirements.txt
315315
test/__init__.py
316-
test/test_attach_database_catalog_request.py
317-
test/test_create_database_request.py
318-
test/test_create_database_response.py
319-
test/test_database_attachment_info.py
320-
test/test_database_default_schema_decl.py
321-
test/test_database_default_table_decl.py
322-
test/test_database_detail_response.py
323-
test/test_database_summary.py
324-
test/test_databases_api.py
325-
test/test_list_databases_response.py
326316
tox.ini

docs/ConnectionTypeDetail.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# ConnectionTypeDetail
22

3+
Detailed configuration and authentication schema for a single connection type.
34

45
## Properties
56

docs/ConnectionTypeSummary.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# ConnectionTypeSummary
22

3+
Summary entry for the connection-type list endpoint.
34

45
## Properties
56

docs/ConnectionsApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ void (empty response body)
270270
|-------------|-------------|------------------|
271271
**204** | Connection deleted | - |
272272
**404** | Connection not found | - |
273-
**409** | Connection backs a database's default catalog and cannot be deleted directly | - |
273+
**409** | Connection backs a database's default catalog, or is attached to one or more databases as a non-default catalog; detach via DELETE /v1/databases/{database_id}/catalogs/{connection_id} first | - |
274274

275275
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
276276

docs/CreateDatabaseRequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Request body for POST /databases
77
Name | Type | Description | Notes
88
------------ | ------------- | ------------- | -------------
99
**description** | **str** | Optional free-form display label (for UIs/CLIs). Not unique. Not an identifier — databases are always addressed by `id`. | [optional]
10+
**expires_at** | **str** | When this database expires. Accepts either an RFC 3339 timestamp (e.g. `\"2026-06-01T00:00:00Z\"`) or a relative duration suffixed with `h` (hours), `m` (minutes), or `d` (days) — for example `\"24h\"`, `\"48h\"`, or `\"7d\"`. Defaults to `\"24h\"` when omitted. Expiry is best-effort: the database will not be deleted before `expires_at`, but cleanup may run later than the exact timestamp. | [optional]
1011
**schemas** | [**List[DatabaseDefaultSchemaDecl]**](DatabaseDefaultSchemaDecl.md) | Optional schemas/tables to declare on the database's auto-created `default` catalog. Mirrors the `config.schemas` field of a managed `POST /v1/connections`. Tables declared here can be loaded via the standard managed-table load endpoint targeting `default_connection_id`. Omitted or empty means the default catalog starts empty. | [optional]
1112

1213
## Example

docs/CreateDatabaseResponse.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
88
------------ | ------------- | ------------- | -------------
99
**default_connection_id** | **str** | Internal id of the connection that backs this database's `default` catalog. Workspace-level connection endpoints (list, get, health, delete, cache purge) refuse to act on this id — it is exposed only for the managed-tables load endpoint (`POST /v1/connections/{id}/schemas/{s}/tables/{t}/loads`) so callers can publish parquet into tables declared at database-create time. Addressing it directly in SQL is not the recommended path — use `default` inside an `X-Database-Id` scope instead. |
1010
**description** | **str** | | [optional]
11+
**expires_at** | **datetime** | When this database expires. | [optional]
1112
**id** | **str** | |
1213

1314
## Example

docs/DatabaseDetailResponse.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
99
**attachments** | [**List[DatabaseAttachmentInfo]**](DatabaseAttachmentInfo.md) | |
1010
**default_connection_id** | **str** | |
1111
**description** | **str** | | [optional]
12+
**expires_at** | **datetime** | When this database expires. | [optional]
1213
**id** | **str** | |
1314

1415
## Example

docs/DatabaseSummary.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Summary item in GET /databases
77
Name | Type | Description | Notes
88
------------ | ------------- | ------------- | -------------
99
**description** | **str** | | [optional]
10+
**expires_at** | **datetime** | | [optional]
1011
**id** | **str** | |
1112

1213
## Example

docs/DatabasesApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ void (empty response body)
105105
106106
Create database
107107

108-
Create a new database (a metadata-only grouping). A managed default catalog is auto-created and addressable inside the database as `default`. The optional `description` is a free-form display label and is not required to be unique. Optional `schemas` declares schemas/tables on the default catalog at create time; declared tables can be loaded via the standard managed-tables-load endpoint targeting `default_connection_id`.
108+
Create a new database (a metadata-only grouping). A managed default catalog is auto-created and addressable inside the database as `default`, with a `main` schema pre-declared so `default.main.<table>` works out of the box. The optional `description` is a free-form display label and is not required to be unique. Optional `schemas` declares additional schemas/tables on the default catalog at create time; declared tables can be loaded via the standard managed-tables-load endpoint targeting `default_connection_id`. Optional `expires_at` sets when the database expires — accepts either an RFC 3339 timestamp or a relative duration suffixed with `h` (hours), `m` (minutes), or `d` (days), e.g. `24h`, `48h`, `90m`, `7d`. Defaults to `24h` when omitted. Expiry is best-effort: the database will not be deleted before `expires_at`, but cleanup may run later than the exact timestamp.
109109

110110
### Example
111111

docs/ListConnectionTypesResponse.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# ListConnectionTypesResponse
22

3+
Envelope for the connection-types list response.
34

45
## Properties
56

0 commit comments

Comments
 (0)