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

nametypedescription
pdmCatalogDeclarativeTablesDeclarative PDM definition to be persisted on disk.
pathPathPath 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())