catalog_data_source.

generate_logical_model

generate_logical_model(data_source_id: str, generate_ldm_request: CatalogGenerateLdmRequest)

Generates logical data model for a data source.

Parameters

nametypedescription
data_source_idstringData source identification string e.g. "demo"
generate_ldm_requestOptional[CatalogGenerateLdmRequest]LDM options. Defaults to CatalogGenerateLdmRequest(separator="__", wdf_prefix="wdf")

Returns

typedescription
CatalogDeclarativeModelObject Containing declarative Logical Data Model

Example

# Generate Logical data source
logical_model = sdk.catalog_data_source.generate_logical_model(data_source_id="demo-test-ds")