WorkspaceSpec Objects
class WorkspaceSpec(GraiBaseModel)
Class definition of WorkspaceSpec
Attributes:
id
- Optional UUID of the workspacename
- The name of the workspaceorganisation
- The organisation the workspace belongs toref
- The reference of the workspace in the form oforganisation/name
search_enabled
- Whether the workspace is searchable or not
ref
This keeps mypy happy
organization
@property
def organization()
Alias for organisation
__hash__
def __hash__() -> int
Workspace hash definition
WorkspaceV1 Objects
class WorkspaceV1(GraiBaseModel)
Class definition of WorkspaceV1
Attributes:
type
- todoversion
- todospec
- todo
from_spec
@classmethod
def from_spec(cls, spec_dict: Dict) -> "WorkspaceV1"
Arguments:
spec_dict (Dict):
Returns: