Source code for lucidlink.workspace_models

"""LucidLink Python Library - Workspace Type Definitions.

Types describing workspaces visible to the authenticated credentials.
"""

from dataclasses import dataclass


[docs] @dataclass(frozen=True) class WorkspaceInfo: """Summary information for a workspace. Returned by ``Client.list_workspaces()``. Today's service-account tokens are workspace-scoped, so ``list_workspaces()`` always returns exactly one item; the type stays a list for forward compatibility. """ id: str """Unique workspace identifier.""" name: str """Human-readable workspace name."""