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.
catalog_data_source.
list_data_sources
list_data_sources()
Lists all data sources.
Parameters
None
Returns
| type | description |
|---|---|
| List[CatalogDataSource] | List of all data sources in the whole organization. |
# List all data sources
data_sources = sdk.catalog_data_source.list_data_sources()
# [
# CatalogDataSource(
# id='demo-test-ds',
# name='demo-test-ds',
# type='POSTGRESQL',
# schema='demo',
# url='jdbc:postgresql://localhost:5432/demo',
# cache_path=None,
# parameters=None,
# decoded_parameters=None,
# db_vendor='postgresql',
# db_specific_attributes=None,
# url_params=None
# ),
# ...
# ]