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

nametypedescription
data_source_idstringData source identification string. e.g. "demo"
pathOptional[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())