diff --git a/CHANGELOG.md b/CHANGELOG.md
index 23b1288..f2db281 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
+- chore(api): exclude datasets from public OpenAPI spec + docs cleanup
- feat(schemas): add key field to table definitions
- feat(tables): support loading from query results
diff --git a/docs/CreateDatabaseRequest.md b/docs/CreateDatabaseRequest.md
index 0b2ba4d..26bf88d 100644
--- a/docs/CreateDatabaseRequest.md
+++ b/docs/CreateDatabaseRequest.md
@@ -6,7 +6,8 @@ Request body for POST /databases
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**default_catalog** | **str** | Optional name the database's auto-created default catalog answers to inside its query scope. Must be a valid SQL identifier (`[a-z0-9_]`, not starting with a digit) and may not collide with the reserved catalog names `hotdata`, `datasets`, or `information_schema`. Defaults to `default` when omitted, so `default.main.<table>` keeps working. | [optional]
+**default_catalog** | **str** | Optional name the database's auto-created default catalog answers to inside its query scope. Must be a valid SQL identifier (`[a-z0-9_]`, not starting with a digit) and may not collide with the reserved catalog names `hotdata` or `information_schema`. Defaults to `default` when omitted, so `default.main.<table>` keeps working. | [optional]
+**default_schema** | **str** | Optional schema that unqualified table names resolve to inside this database's query scope. Must be a valid SQL identifier (`[a-z0-9_]`, not starting with a digit). When omitted, a database that declares exactly one schema adopts that schema as its default; otherwise unqualified names resolve to `main`. Fully-qualified names (`<catalog>.<schema>.<table>`) are unaffected, and a per-query `default_schema` still takes precedence. | [optional]
**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\"`. Omitted (or empty) means the database never expires. Expiry is best-effort: the database will not be deleted before `expires_at`, but cleanup may run later than the exact timestamp. | [optional]
**name** | **str** | Optional free-form display label (for UIs/CLIs). Not unique. Not an identifier — databases are always addressed by `id`. Accepts the legacy `description` key as an alias so clients that predate the rename keep populating this field. | [optional]
**schemas** | [**List[DatabaseDefaultSchemaDecl]**](DatabaseDefaultSchemaDecl.md) | Optional schemas/tables to declare on the database's auto-created default catalog. 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]
diff --git a/docs/CreateDatabaseResponse.md b/docs/CreateDatabaseResponse.md
index 536727c..d80be78 100644
--- a/docs/CreateDatabaseResponse.md
+++ b/docs/CreateDatabaseResponse.md
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**default_catalog** | **str** | Name the database's default catalog answers to inside its query scope (`default` unless overridden at create time). |
**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. |
+**default_schema** | **str** | Schema that unqualified table names resolve to inside this database's query scope. `main` unless the database declares a single schema or a `default_schema` was set at create time. |
**expires_at** | **datetime** | When this database expires. | [optional]
**id** | **str** | |
**name** | **str** | | [optional]
diff --git a/docs/DatabaseDetailResponse.md b/docs/DatabaseDetailResponse.md
index 465d3c9..1c9cc95 100644
--- a/docs/DatabaseDetailResponse.md
+++ b/docs/DatabaseDetailResponse.md
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
**created_at** | **datetime** | When the database was created. | [optional]
**default_catalog** | **str** | Name the database's default catalog answers to inside its query scope (`default` unless overridden at create time). |
**default_connection_id** | **str** | |
+**default_schema** | **str** | Schema that unqualified table names resolve to inside this database's query scope. `main` unless the database declares a single schema or a `default_schema` was set at create time. |
**expires_at** | **datetime** | When this database expires. | [optional]
**id** | **str** | |
**name** | **str** | | [optional]
diff --git a/docs/DatabaseSummary.md b/docs/DatabaseSummary.md
index d47a09b..3863ad7 100644
--- a/docs/DatabaseSummary.md
+++ b/docs/DatabaseSummary.md
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**created_at** | **datetime** | When the database was created. | [optional]
**default_catalog** | **str** | Name the database's default catalog answers to inside its query scope. |
+**default_schema** | **str** | Schema that unqualified table names resolve to inside this database's query scope. `main` unless the database declares a single schema or a `default_schema` was set at create time. |
**expires_at** | **datetime** | | [optional]
**id** | **str** | |
**name** | **str** | | [optional]
diff --git a/docs/DatabasesApi.md b/docs/DatabasesApi.md
index 87b6997..d9ddb76 100644
--- a/docs/DatabasesApi.md
+++ b/docs/DatabasesApi.md
@@ -292,7 +292,7 @@ void (empty response body)
Create database
-Create a new database (a metadata-only grouping). A managed default catalog is auto-created and addressable inside the database as `default` (or the optional `default_catalog` name), with a `main` schema pre-declared so `default.main.
` works out of the box. The optional `name` is a free-form display label and is not required to be unique. Optional `default_catalog` overrides the name the default catalog answers to; it must be a valid SQL identifier and may not collide with the reserved catalog names `hotdata`, `datasets`, or `information_schema`. 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`. When omitted, the database never expires. Expiry is best-effort: the database will not be deleted before `expires_at`, but cleanup may run later than the exact timestamp.
+Create a new database (a metadata-only grouping). A managed default catalog is auto-created and addressable inside the database as `default` (or the optional `default_catalog` name), with a `main` schema pre-declared so `default.main.` works out of the box. The optional `name` is a free-form display label and is not required to be unique. Optional `default_catalog` overrides the name the default catalog answers to; it must be a valid SQL identifier and may not collide with the reserved catalog names `hotdata` or `information_schema`. 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`. When omitted, the database never expires. Expiry is best-effort: the database will not be deleted before `expires_at`, but cleanup may run later than the exact timestamp.
### Example
diff --git a/docs/WorkspaceUsageResponse.md b/docs/WorkspaceUsageResponse.md
index c9f5af4..2a0dcbe 100644
--- a/docs/WorkspaceUsageResponse.md
+++ b/docs/WorkspaceUsageResponse.md
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
**bytes_scanned** | **int** | Sum of `bytes_scanned` across all completed/failed query runs since `since`. Null bytes (queries that touched no row data) contribute 0. |
**query_count** | **int** | Number of query runs (succeeded + failed) since `since`. |
**since** | **datetime** | The period start used for this response (echoed back for the caller to verify). |
-**storage_bytes** | **int** | The workspace's current stored-data footprint in bytes, measured at request time: managed-database and dataset data, plus un-consumed uploads, connection caches, and search-index artifacts. |
+**storage_bytes** | **int** | The workspace's current stored-data footprint in bytes, measured at request time: managed-database data, plus un-consumed uploads, connection caches, and search-index artifacts. |
**storage_captured_at** | **datetime** | When `storage_bytes` was measured (the time this response was produced). | [optional]
## Example
diff --git a/hotdata/api/databases_api.py b/hotdata/api/databases_api.py
index 605fd75..435754f 100644
--- a/hotdata/api/databases_api.py
+++ b/hotdata/api/databases_api.py
@@ -979,7 +979,7 @@ def create_database(
) -> CreateDatabaseResponse:
"""Create database
- Create a new database (a metadata-only grouping). A managed default catalog is auto-created and addressable inside the database as `default` (or the optional `default_catalog` name), with a `main` schema pre-declared so `default.main.` works out of the box. The optional `name` is a free-form display label and is not required to be unique. Optional `default_catalog` overrides the name the default catalog answers to; it must be a valid SQL identifier and may not collide with the reserved catalog names `hotdata`, `datasets`, or `information_schema`. 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`. When omitted, the database never expires. Expiry is best-effort: the database will not be deleted before `expires_at`, but cleanup may run later than the exact timestamp.
+ Create a new database (a metadata-only grouping). A managed default catalog is auto-created and addressable inside the database as `default` (or the optional `default_catalog` name), with a `main` schema pre-declared so `default.main.` works out of the box. The optional `name` is a free-form display label and is not required to be unique. Optional `default_catalog` overrides the name the default catalog answers to; it must be a valid SQL identifier and may not collide with the reserved catalog names `hotdata` or `information_schema`. 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`. When omitted, the database never expires. Expiry is best-effort: the database will not be deleted before `expires_at`, but cleanup may run later than the exact timestamp.
:param create_database_request: (required)
:type create_database_request: CreateDatabaseRequest
@@ -1048,7 +1048,7 @@ def create_database_with_http_info(
) -> ApiResponse[CreateDatabaseResponse]:
"""Create database
- Create a new database (a metadata-only grouping). A managed default catalog is auto-created and addressable inside the database as `default` (or the optional `default_catalog` name), with a `main` schema pre-declared so `default.main.` works out of the box. The optional `name` is a free-form display label and is not required to be unique. Optional `default_catalog` overrides the name the default catalog answers to; it must be a valid SQL identifier and may not collide with the reserved catalog names `hotdata`, `datasets`, or `information_schema`. 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`. When omitted, the database never expires. Expiry is best-effort: the database will not be deleted before `expires_at`, but cleanup may run later than the exact timestamp.
+ Create a new database (a metadata-only grouping). A managed default catalog is auto-created and addressable inside the database as `default` (or the optional `default_catalog` name), with a `main` schema pre-declared so `default.main.` works out of the box. The optional `name` is a free-form display label and is not required to be unique. Optional `default_catalog` overrides the name the default catalog answers to; it must be a valid SQL identifier and may not collide with the reserved catalog names `hotdata` or `information_schema`. 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`. When omitted, the database never expires. Expiry is best-effort: the database will not be deleted before `expires_at`, but cleanup may run later than the exact timestamp.
:param create_database_request: (required)
:type create_database_request: CreateDatabaseRequest
@@ -1117,7 +1117,7 @@ def create_database_without_preload_content(
) -> RESTResponseType:
"""Create database
- Create a new database (a metadata-only grouping). A managed default catalog is auto-created and addressable inside the database as `default` (or the optional `default_catalog` name), with a `main` schema pre-declared so `default.main.` works out of the box. The optional `name` is a free-form display label and is not required to be unique. Optional `default_catalog` overrides the name the default catalog answers to; it must be a valid SQL identifier and may not collide with the reserved catalog names `hotdata`, `datasets`, or `information_schema`. 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`. When omitted, the database never expires. Expiry is best-effort: the database will not be deleted before `expires_at`, but cleanup may run later than the exact timestamp.
+ Create a new database (a metadata-only grouping). A managed default catalog is auto-created and addressable inside the database as `default` (or the optional `default_catalog` name), with a `main` schema pre-declared so `default.main.` works out of the box. The optional `name` is a free-form display label and is not required to be unique. Optional `default_catalog` overrides the name the default catalog answers to; it must be a valid SQL identifier and may not collide with the reserved catalog names `hotdata` or `information_schema`. 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`. When omitted, the database never expires. Expiry is best-effort: the database will not be deleted before `expires_at`, but cleanup may run later than the exact timestamp.
:param create_database_request: (required)
:type create_database_request: CreateDatabaseRequest
diff --git a/hotdata/models/create_database_request.py b/hotdata/models/create_database_request.py
index 2d1b89a..47d0b7d 100644
--- a/hotdata/models/create_database_request.py
+++ b/hotdata/models/create_database_request.py
@@ -28,11 +28,12 @@ class CreateDatabaseRequest(BaseModel):
"""
Request body for POST /databases
""" # noqa: E501
- default_catalog: Optional[StrictStr] = Field(default=None, description="Optional name the database's auto-created default catalog answers to inside its query scope. Must be a valid SQL identifier (`[a-z0-9_]`, not starting with a digit) and may not collide with the reserved catalog names `hotdata`, `datasets`, or `information_schema`. Defaults to `default` when omitted, so `default.main.` keeps working.")
+ default_catalog: Optional[StrictStr] = Field(default=None, description="Optional name the database's auto-created default catalog answers to inside its query scope. Must be a valid SQL identifier (`[a-z0-9_]`, not starting with a digit) and may not collide with the reserved catalog names `hotdata` or `information_schema`. Defaults to `default` when omitted, so `default.main.` keeps working.")
+ default_schema: Optional[StrictStr] = Field(default=None, description="Optional schema that unqualified table names resolve to inside this database's query scope. Must be a valid SQL identifier (`[a-z0-9_]`, not starting with a digit). When omitted, a database that declares exactly one schema adopts that schema as its default; otherwise unqualified names resolve to `main`. Fully-qualified names (`..`) are unaffected, and a per-query `default_schema` still takes precedence.")
expires_at: Optional[StrictStr] = Field(default=None, description="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\"`. Omitted (or empty) means the database never expires. Expiry is best-effort: the database will not be deleted before `expires_at`, but cleanup may run later than the exact timestamp.")
name: Optional[StrictStr] = Field(default=None, description="Optional free-form display label (for UIs/CLIs). Not unique. Not an identifier — databases are always addressed by `id`. Accepts the legacy `description` key as an alias so clients that predate the rename keep populating this field.")
schemas: Optional[List[DatabaseDefaultSchemaDecl]] = Field(default=None, description="Optional schemas/tables to declare on the database's auto-created default catalog. 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.")
- __properties: ClassVar[List[str]] = ["default_catalog", "expires_at", "name", "schemas"]
+ __properties: ClassVar[List[str]] = ["default_catalog", "default_schema", "expires_at", "name", "schemas"]
model_config = ConfigDict(
populate_by_name=True,
@@ -85,6 +86,11 @@ def to_dict(self) -> Dict[str, Any]:
if self.default_catalog is None and "default_catalog" in self.model_fields_set:
_dict['default_catalog'] = None
+ # set to None if default_schema (nullable) is None
+ # and model_fields_set contains the field
+ if self.default_schema is None and "default_schema" in self.model_fields_set:
+ _dict['default_schema'] = None
+
# set to None if expires_at (nullable) is None
# and model_fields_set contains the field
if self.expires_at is None and "expires_at" in self.model_fields_set:
@@ -108,6 +114,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
_obj = cls.model_validate({
"default_catalog": obj.get("default_catalog"),
+ "default_schema": obj.get("default_schema"),
"expires_at": obj.get("expires_at"),
"name": obj.get("name"),
"schemas": [DatabaseDefaultSchemaDecl.from_dict(_item) for _item in obj["schemas"]] if obj.get("schemas") is not None else None
diff --git a/hotdata/models/create_database_response.py b/hotdata/models/create_database_response.py
index a993119..d39fb51 100644
--- a/hotdata/models/create_database_response.py
+++ b/hotdata/models/create_database_response.py
@@ -30,10 +30,11 @@ class CreateDatabaseResponse(BaseModel):
""" # noqa: E501
default_catalog: StrictStr = Field(description="Name the database's default catalog answers to inside its query scope (`default` unless overridden at create time).")
default_connection_id: StrictStr = Field(description="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.")
+ default_schema: StrictStr = Field(description="Schema that unqualified table names resolve to inside this database's query scope. `main` unless the database declares a single schema or a `default_schema` was set at create time.")
expires_at: Optional[datetime] = Field(default=None, description="When this database expires.")
id: StrictStr
name: Optional[StrictStr] = None
- __properties: ClassVar[List[str]] = ["default_catalog", "default_connection_id", "expires_at", "id", "name"]
+ __properties: ClassVar[List[str]] = ["default_catalog", "default_connection_id", "default_schema", "expires_at", "id", "name"]
model_config = ConfigDict(
populate_by_name=True,
@@ -98,6 +99,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
_obj = cls.model_validate({
"default_catalog": obj.get("default_catalog"),
"default_connection_id": obj.get("default_connection_id"),
+ "default_schema": obj.get("default_schema"),
"expires_at": obj.get("expires_at"),
"id": obj.get("id"),
"name": obj.get("name")
diff --git a/hotdata/models/database_detail_response.py b/hotdata/models/database_detail_response.py
index f40390c..63b755b 100644
--- a/hotdata/models/database_detail_response.py
+++ b/hotdata/models/database_detail_response.py
@@ -33,10 +33,11 @@ class DatabaseDetailResponse(BaseModel):
created_at: Optional[datetime] = Field(default=None, description="When the database was created.")
default_catalog: StrictStr = Field(description="Name the database's default catalog answers to inside its query scope (`default` unless overridden at create time).")
default_connection_id: StrictStr
+ default_schema: StrictStr = Field(description="Schema that unqualified table names resolve to inside this database's query scope. `main` unless the database declares a single schema or a `default_schema` was set at create time.")
expires_at: Optional[datetime] = Field(default=None, description="When this database expires.")
id: StrictStr
name: Optional[StrictStr] = None
- __properties: ClassVar[List[str]] = ["attachments", "created_at", "default_catalog", "default_connection_id", "expires_at", "id", "name"]
+ __properties: ClassVar[List[str]] = ["attachments", "created_at", "default_catalog", "default_connection_id", "default_schema", "expires_at", "id", "name"]
model_config = ConfigDict(
populate_by_name=True,
@@ -115,6 +116,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"created_at": obj.get("created_at"),
"default_catalog": obj.get("default_catalog"),
"default_connection_id": obj.get("default_connection_id"),
+ "default_schema": obj.get("default_schema"),
"expires_at": obj.get("expires_at"),
"id": obj.get("id"),
"name": obj.get("name")
diff --git a/hotdata/models/database_summary.py b/hotdata/models/database_summary.py
index 9b1546f..fc22834 100644
--- a/hotdata/models/database_summary.py
+++ b/hotdata/models/database_summary.py
@@ -30,10 +30,11 @@ class DatabaseSummary(BaseModel):
""" # noqa: E501
created_at: Optional[datetime] = Field(default=None, description="When the database was created.")
default_catalog: StrictStr = Field(description="Name the database's default catalog answers to inside its query scope.")
+ default_schema: StrictStr = Field(description="Schema that unqualified table names resolve to inside this database's query scope. `main` unless the database declares a single schema or a `default_schema` was set at create time.")
expires_at: Optional[datetime] = None
id: StrictStr
name: Optional[StrictStr] = None
- __properties: ClassVar[List[str]] = ["created_at", "default_catalog", "expires_at", "id", "name"]
+ __properties: ClassVar[List[str]] = ["created_at", "default_catalog", "default_schema", "expires_at", "id", "name"]
model_config = ConfigDict(
populate_by_name=True,
@@ -103,6 +104,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
_obj = cls.model_validate({
"created_at": obj.get("created_at"),
"default_catalog": obj.get("default_catalog"),
+ "default_schema": obj.get("default_schema"),
"expires_at": obj.get("expires_at"),
"id": obj.get("id"),
"name": obj.get("name")
diff --git a/hotdata/models/workspace_usage_response.py b/hotdata/models/workspace_usage_response.py
index 67e2241..a35b2d6 100644
--- a/hotdata/models/workspace_usage_response.py
+++ b/hotdata/models/workspace_usage_response.py
@@ -31,7 +31,7 @@ class WorkspaceUsageResponse(BaseModel):
bytes_scanned: StrictInt = Field(description="Sum of `bytes_scanned` across all completed/failed query runs since `since`. Null bytes (queries that touched no row data) contribute 0.")
query_count: StrictInt = Field(description="Number of query runs (succeeded + failed) since `since`.")
since: datetime = Field(description="The period start used for this response (echoed back for the caller to verify).")
- storage_bytes: StrictInt = Field(description="The workspace's current stored-data footprint in bytes, measured at request time: managed-database and dataset data, plus un-consumed uploads, connection caches, and search-index artifacts.")
+ storage_bytes: StrictInt = Field(description="The workspace's current stored-data footprint in bytes, measured at request time: managed-database data, plus un-consumed uploads, connection caches, and search-index artifacts.")
storage_captured_at: Optional[datetime] = Field(default=None, description="When `storage_bytes` was measured (the time this response was produced).")
__properties: ClassVar[List[str]] = ["bytes_scanned", "query_count", "since", "storage_bytes", "storage_captured_at"]
diff --git a/test/test_create_database_request.py b/test/test_create_database_request.py
index eba7a5c..3e2cb0a 100644
--- a/test/test_create_database_request.py
+++ b/test/test_create_database_request.py
@@ -37,6 +37,7 @@ def make_instance(self, include_optional) -> CreateDatabaseRequest:
if include_optional:
return CreateDatabaseRequest(
default_catalog = '',
+ default_schema = '',
expires_at = '',
name = '',
schemas = [
diff --git a/test/test_create_database_response.py b/test/test_create_database_response.py
index ab85da9..03865bf 100644
--- a/test/test_create_database_response.py
+++ b/test/test_create_database_response.py
@@ -38,6 +38,7 @@ def make_instance(self, include_optional) -> CreateDatabaseResponse:
return CreateDatabaseResponse(
default_catalog = '',
default_connection_id = '',
+ default_schema = '',
expires_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
id = '',
name = ''
@@ -46,6 +47,7 @@ def make_instance(self, include_optional) -> CreateDatabaseResponse:
return CreateDatabaseResponse(
default_catalog = '',
default_connection_id = '',
+ default_schema = '',
id = '',
)
"""
diff --git a/test/test_database_detail_response.py b/test/test_database_detail_response.py
index 2ffcf9a..a8af9a0 100644
--- a/test/test_database_detail_response.py
+++ b/test/test_database_detail_response.py
@@ -44,6 +44,7 @@ def make_instance(self, include_optional) -> DatabaseDetailResponse:
created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
default_catalog = '',
default_connection_id = '',
+ default_schema = '',
expires_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
id = '',
name = ''
@@ -57,6 +58,7 @@ def make_instance(self, include_optional) -> DatabaseDetailResponse:
],
default_catalog = '',
default_connection_id = '',
+ default_schema = '',
id = '',
)
"""
diff --git a/test/test_database_summary.py b/test/test_database_summary.py
index a7466a6..7fd9c67 100644
--- a/test/test_database_summary.py
+++ b/test/test_database_summary.py
@@ -38,6 +38,7 @@ def make_instance(self, include_optional) -> DatabaseSummary:
return DatabaseSummary(
created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
default_catalog = '',
+ default_schema = '',
expires_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
id = '',
name = ''
@@ -45,6 +46,7 @@ def make_instance(self, include_optional) -> DatabaseSummary:
else:
return DatabaseSummary(
default_catalog = '',
+ default_schema = '',
id = '',
)
"""
diff --git a/test/test_list_databases_response.py b/test/test_list_databases_response.py
index 8b03abd..2189d79 100644
--- a/test/test_list_databases_response.py
+++ b/test/test_list_databases_response.py
@@ -40,6 +40,7 @@ def make_instance(self, include_optional) -> ListDatabasesResponse:
hotdata.models.database_summary.DatabaseSummary(
created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
default_catalog = '',
+ default_schema = '',
expires_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
id = '',
name = '', )
@@ -51,6 +52,7 @@ def make_instance(self, include_optional) -> ListDatabasesResponse:
hotdata.models.database_summary.DatabaseSummary(
created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
default_catalog = '',
+ default_schema = '',
expires_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
id = '',
name = '', )