This documentation is for an older version of GoodData.
Go to the latest version of this article.
catalog_data_source.
store_pdm_to_disk
store_pdm_to_disk(data_source_id: str, path: Path = Path.cwd())
Stores the physical data model layout in the directory for a given data source.
The directory structure below shows the output for the path set to Path("pdm_location")
.
pdm_location
└── pdm
├── table_A.yaml
└── table_B.yaml
Parameters
name | type | description |
---|---|---|
data_source_id | string | Data source identification string. e.g. "demo" |
path | Optional[Path] | Path to the root of the layout directory. Defaults to Path.cwd().(). |
Returns
None
Example
# Store Physical Data Model to disk
sdk.catalog_data_source.store_pdm_to_disk(data_source_id="123",layour_root_path=Path.cwd())