We are having issues with the SDK. I kept trying d...
# gooddata-cloud
d
We are having issues with the SDK. I kept trying different ways but kept getting the same error. For simplicity sake I used this example that was written in these boards to make sure I wasn't doing anything wrong and still got the same error We always get this error 'CatalogWorkspace' object has no attribute 'id'
Copy code
we set up the SDK correctly, then

# Create new workspace entity locally
my_workspace_object = CatalogWorkspace(workspace_id="Flights",
                                     name="Flights"
                                     parent_id = None)

# Create workspace
sdk.catalog_workspace.create_or_update(workspace=my_workspace_object)
j
Hi Doug, For the start, may I know what version of SDK are you currently using?
d
we just installed it, so the latest one.
✔️ 1
Copy code
gooddata-api-client==1.25.0
gooddata-sdk==1.25.0
@Julius Kos any ideas?
We figured it out nevermind
We needed to import CatalogWorkspace