Skip to content

Error in workspace handle splitting #2

Description

@mkolas

workspace_handle = current_workspace.split("/")[-1]

Was receiving the following error here:

    workspace_handle = current_workspace.split("/")[-1]
                       ^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Workspace' object has no attribute 'split'

I had to change this to current_workspace.handle.split("/")[-1] in order for this to work correctly.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions