This documentation is for an older version of GoodData.
Go to the latest version.
catalog_data_source.
store_declarative_pdm
store_declarative_pdm(data_source_id: str, layout_root_path: Path = Path.cwd())
Stores the physical data model layout in directory hierarchy for a given data source.
gooddata_layouts
└── organization_id
└── data_sources
└── data_source_a
└── pdm
├── table_A.yaml
└── table_B.yaml
Parameters
name | type | description |
---|---|---|
data_source_id | string | Data source identification string. e.g. "demo" |
layout_root_path | Optional[Path] | Path to the root of the layout directory. Defaults to Path.cwd().(). |
Returns
None
Example
# Store declarative PDM in directory hierarchy
sdk.catalog_data_source.store_declarative_pdm(data_source_id="123",layour_root_path=Path.cwd())