catalog_data_source.
store_pdm_to_disk
store_pdm_to_disk(pdm: CatalogDeclarativeTables, path: Path)
Store the physical data model layout in the directory.
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 |
|---|---|---|
| pdm | CatalogDeclarativeTables | Declarative PDM definition to be persisted on disk. |
| path | Path | Path to the root of the layout directory. Defaults to Path.cwd(). |
Returns
NoneExample
# Store Physical Data Model to disk
sdk.catalog_data_source.store_pdm_to_disk(data_source_id="123",layour_root_path=Path.cwd())