CatalogDataSourceService.
create_or_update_data_source
create_or_update_data_source(data_source: CatalogDataSource) -> UpsertOutcome
Pushes the Data Source to the GoodData environment.
Automatically decides, whether to create or update.
Parameters
| name | type | description |
|---|---|---|
| data_source | CatalogDataSource | Catalog Data Source object |
Returns
| type | description |
|---|---|
| UpsertOutcome | CREATED if the data source did not exist yet, UPDATED if it did. |