Skip to content

Workspace

toggl_api.modules.workspace.WorkspaceEndpoint

Bases: TogglCachedEndpoint

get_workspace(workspace: Optional[TogglWorkspace | int] = None, *, refresh: bool = False) -> Optional[TogglWorkspace]

Get the current workspace based on the workspace_id class attribute.