Join Slack
Powered by
Howdy --- is the data source of a workspace define...
# gooddata-cloud
d
Daniel Muise
08/26/2024, 11:54 PM
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
Moises Morales
08/27/2024, 12:06 AM
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
Daniel Muise
08/27/2024, 12:07 AM
i see; so for a parent workspace, there isn't a way to use the python sdk to set the data source?
m
Moises Morales
08/27/2024, 12:11 AM
Currently it is possible via the LDM definition.
d
Daniel Muise
08/27/2024, 12:12 AM
ah, duh, I see, thanks
Daniel Muise
08/27/2024, 12:54 AM
case closed, found the DataSourceTableID field in each dataset, thanks...
✅ 1
6
Views
Open in Slack
Previous
Next