Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 1.6 KB

File metadata and controls

40 lines (31 loc) · 1.6 KB

DatasetSource

Dataset source specification. Internally tagged on type, e.g. {\"type\": \"upload\", \"upload_id\": \"...\"}. Discriminator values: upload, saved_query, sql_query, url, inline.

Properties

Name Type Description Notes
columns Dict[str, str] Optional explicit column definitions. Keys are column names, values are type specs. [optional]
format str [optional]
upload_id str
type str
saved_query_id str
version int [optional]
description str Optional description for the auto-created saved query. [optional]
name str Optional name for the auto-created saved query. Defaults to the dataset label. [optional]
sql str
url str
inline InlineData

Example

from hotdata.models.dataset_source import DatasetSource

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

# convert the object into a dict
dataset_source_dict = dataset_source_instance.to_dict()
# create an instance of DatasetSource from a dict
dataset_source_from_dict = DatasetSource.from_dict(dataset_source_dict)

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