catalog_data_source.

store_declarative_data_sources

store_declarative_data_sources(layout_root_path: Path = Path.cwd())

Stores the data sources layouts in a directory hierarchy.

gooddata_layouts
└── organization_id
        └── data_sources
                ├── data_source_a
                │       ├── pdm
                │       │   ├── table_A.yaml
                │       │   └── table_B.yaml
                │       └── data_source_a.yaml
                └── data_source_b
                        └── pdm
                        │   ├── table_X.yaml
                        │   └── table_Y.yaml
                        └── data_source_b.yaml

Parameters

nametypedescription
layout_root_pathPathPath to the root of the layout directory. Defaults to Path.cwd().

Returns

None

Example

# Store declarative data sources
sdk.catalog_data_source.store_declarative_data_sources(layout_root_path: Path = Path.cwd())