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
name | type | description |
---|---|---|
declarative_data_sources | CatalogDeclarativeDataSources | Declarative Data Source object. Can be retrieved by get_declarative_data_sources. |
credentials_path | Optional[Path] | Path to the Credentials. Optional, defaults to None. |
config_file | Optional[Union[str, Path]] | Path to the config file. Defaults to None. |
test_data_sources | bool | If True, the connection of data sources is tested. Defaults to False. |