Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.56 KB

File metadata and controls

33 lines (24 loc) · 1.56 KB

CreateDatasetRequest

Request body for POST /v1/datasets

Properties

Name Type Description Notes
label str
source DatasetSource
storage_backend str Optional storage backend: `"parquet"` (default) or `"ducklake"`. `"ducklake"` requires `ducklake.metadata_pg_url` to be configured at engine boot; the engine also rejects the combo of `storage_backend: "ducklake"` with a saved-query source or with explicit geometry columns (both deferred to a follow-up). [optional]
table_name str Optional table_name - if not provided, derived from label [optional]

Example

from hotdata.models.create_dataset_request import CreateDatasetRequest

# TODO update the JSON string below
json = "{}"
# create an instance of CreateDatasetRequest from a JSON string
create_dataset_request_instance = CreateDatasetRequest.from_json(json)
# print the JSON string representation of the object
print(CreateDatasetRequest.to_json())

# convert the object into a dict
create_dataset_request_dict = create_dataset_request_instance.to_dict()
# create an instance of CreateDatasetRequest from a dict
create_dataset_request_from_dict = CreateDatasetRequest.from_dict(create_dataset_request_dict)

[Back to Model list] [Back to API list] [Back to README]