CatalogDataSourceService.
load_and_put_declarative_data_sources
load_and_put_declarative_data_sources(
layout_root_path: Optional[Path], credentials_path: Optional[Path], config_file: Optional[Union[str, Path]], test_data_sources: bool
) ->
None
Loads and sets layouts stored using store_declarative_data_sources.
This method combines load_declarative_data_sources and put_declarative_data_sources methods to load and set layouts stored using store_declarative_data_sources.
Parameters
name | type | description |
---|---|---|
layout_root_path | Optional[Path] | Path to the root of the layout directory. Defaults to Path.cwd(). |
credentials_path | Optional[Path] | Path to the credentials. |
config_file | Optional[Union[str, Path]] | Path to the config file. |
test_data_sources | bool | If True, the connection of data sources is tested. Defaults to False. |