gooddata_sdk.catalog.workspace.declarative_model.workspace.logical_model.dataset.dataset.CatalogDeclarativeDataset
- class gooddata_sdk.catalog.workspace.declarative_model.workspace.logical_model.dataset.dataset.CatalogDeclarativeDataset(*, id: str, title: str, grain: List[CatalogGrainIdentifier], references: List[CatalogDeclarativeReference], description: Optional[str] = None, attributes: Optional[List[CatalogDeclarativeAttribute]] = None, facts: Optional[List[CatalogDeclarativeFact]] = None, data_source_table_id: Optional[CatalogDataSourceTableIdentifier] = None, tags: Optional[List[str]] = None)
Bases:
Base- __init__(*, id: str, title: str, grain: List[CatalogGrainIdentifier], references: List[CatalogDeclarativeReference], description: Optional[str] = None, attributes: Optional[List[CatalogDeclarativeAttribute]] = None, facts: Optional[List[CatalogDeclarativeFact]] = None, data_source_table_id: Optional[CatalogDataSourceTableIdentifier] = None, tags: Optional[List[str]] = None) None
Method generated by attrs for class CatalogDeclarativeDataset.
Methods
__init__(*, id, title, grain, references[, ...])Method generated by attrs for class CatalogDeclarativeDataset.
client_class()from_api(entity)Creates object from entity passed by client class, which represents it as dictionary.
from_dict(data[, camel_case])Creates object from dictionary.
load_from_disk(dataset_file)store_to_disk(datasets_folder)to_api()to_dict([camel_case])Converts object into dictionary.
Attributes
idtitlegrainreferencesdescriptionattributesfactsdata_source_table_idtags- classmethod from_api(entity: Dict[str, Any]) T
Creates object from entity passed by client class, which represents it as dictionary.
- classmethod from_dict(data: Dict[str, Any], camel_case: bool = True) T
Creates object from dictionary. It needs to be specified if the dictionary is in camelCase or snake_case.
- to_dict(camel_case: bool = True) Dict[str, Any]
Converts object into dictionary. Optional argument if the dictionary should be camelCase or snake_case can be specified.