CatalogDataSourceService.

put_declarative_data_sources

put_declarative_data_sources( declarative_data_sources: CatalogDeclarativeDataSources, credentials_path: Optional[Path], config_file: Optional[Union[str, Path]], test_data_sources: bool ) -> None

Set all data sources, including their related physical data model.

Parameters

nametypedescription
declarative_data_sourcesCatalogDeclarativeDataSourcesDeclarative Data Source object. Can be retrieved by get_declarative_data_sources.
credentials_pathOptional[Path]Path to the Credentials. Optional, defaults to None.
config_fileOptional[Union[str, Path]]Path to the config file. Defaults to None.
test_data_sourcesboolIf True, the connection of data sources is tested. Defaults to False.

Returns

None