Howdy --- is the data source of a workspace define...
# gooddata-cloud
d
Howdy --- is the data source of a workspace defined anywhere in a declarative workspace? I can't seem to find it. When loading workspaces via the python sdk, my LDM comes out right but it's mapped to the wrong data sources
m
Hi Daniel, it is possible to check the data source associated to a (child) workspace via the declarative API: https://www.gooddata.com/docs/cloud/workspaces/workspaces-layout/#CreateaMultitenantEnvironment-UniqueDataSourcesforTenants, as implied, this will only work as long as there is a multitenant environment set up and the child workspace is using its own data source. Otherwise you can call the LDM declartive API to check the datasource tied to any given workspace: https://www.gooddata.com/docs/cloud/api-and-sdk/api/api_reference_all/#tag/LDM-Declarative-APIs
d
i see; so for a parent workspace, there isn't a way to use the python sdk to set the data source?
m
Currently it is possible via the LDM definition.
d
ah, duh, I see, thanks
case closed, found the DataSourceTableID field in each dataset, thanks...
1