This documentation is for an older version of GoodData.
Go to the latest version of this article.
catalog_workspace.
list_workspaces
list_workspaces()
Gets a list of all existing workspaces.
Parameters
None
Returns
type | description |
---|---|
List[CatalogWorkspace] | List of workspaces in the current organization. |
Example
# List workspaces
workspaces = sdk.catalog_workspace.list_workspaces()
print(workspaces)
# [
# CatalogWorkspace(id=demo, name=Demo),
# CatalogWorkspace(id=demo_west, name=Demo West),
# CatalogWorkspace(id=demo_west_california, name=Demo West California)
# ]