This documentation is for the unstable version of GoodData, currrently in development.
For stable version, go to the latest stable version of this article.
For stable version, go to the latest stable version of this article.
catalog_data_source.
store_declarative_data_sources
store_declarative_data_sources(layout_root_path: Path)
Store 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
| name | type | description |
|---|---|---|
| layout_root_path | Path | Path to the root of the layout directory. Defaults to Path.cwd(). |
Returns
NoneExample
# Store declarative data sources
sdk.catalog_data_source.store_declarative_data_sources(layout_root_path: Path = Path.cwd())