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.
CatalogDataSourceService.
test_data_sources_connection
test_data_sources_connection(declarative_data_sources: CatalogDeclarativeDataSources, credentials_path: Optional[Path], config_file: Optional[Union[str, Path]]) ->
None
Tests connection to declarative data sources.
If `credentials_path` is omitted then the connection is tested with empty credentials. In case some connection failed the `ValueError` is raised with information about why the connection to the data source failed, e.g. host unreachable or invalid login or password.
Parameters
name | type | description |
---|---|---|
declarative_data_sources | CatalogDeclarativeDataSources | Declarative Data Sources object |
credentials_path | Optional[Path] | Path to the credentials. Defaults to None. |
config_file | Optional[Union[str, Path]] | Path to the config file. Defaults to None. |