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

nametypedescription
layout_root_pathOptional[Path]Path to the root of the layout directory. Defaults to Path.cwd().
credentials_pathOptional[Path]Path to the credentials.
config_fileOptional[Union[str, Path]]Path to the config file.
test_data_sourcesboolIf True, the connection of data sources is tested. Defaults to False.

Returns

None