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
name | type | description |
---|---|---|
data_source_id | string | Data source identification string e.g. "demo" |
generate_ldm_request | Optional[CatalogGenerateLdmRequest] | LDM options. Defaults to CatalogGenerateLdmRequest(separator="__", wdf_prefix="wdf") |
Returns
type | description |
---|---|
CatalogDeclarativeModel | Object 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")