gooddata_sdk.catalog.workspace.declarative_model.workspace.logical_model.ldm.CatalogDeclarativeLdm

class gooddata_sdk.catalog.workspace.declarative_model.workspace.logical_model.ldm.CatalogDeclarativeLdm(*, datasets: List[CatalogDeclarativeDataset] = NOTHING, date_instances: List[CatalogDeclarativeDateDataset] = NOTHING)

Bases: Base

__init__(*, datasets: List[CatalogDeclarativeDataset] = NOTHING, date_instances: List[CatalogDeclarativeDateDataset] = NOTHING) None

Method generated by attrs for class CatalogDeclarativeLdm.

Methods

__init__(*[, datasets, date_instances])

Method generated by attrs for class CatalogDeclarativeLdm.

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.

get_datasets_folder(ldm_folder)

get_date_instances_folder(ldm_folder)

get_ldm_folder(workspace_folder)

load_from_disk(workspace_folder)

store_to_disk(workspace_folder)

to_api()

to_dict([camel_case])

Converts object into dictionary.

Attributes

datasets

date_instances

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.