WorkspaceSpec Objects
class WorkspaceSpec(GraiBaseModel)Class definition of WorkspaceSpec
Attributes:
- id- Optional UUID of the workspace
- name- The name of the workspace
- organisation- The organisation the workspace belongs to
- ref- The reference of the workspace in the form of- organisation/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__() -> intWorkspace hash definition
WorkspaceV1 Objects
class WorkspaceV1(GraiBaseModel)Class definition of WorkspaceV1
Attributes:
- type- todo
- version- todo
- spec- todo
from_spec
@classmethod
def from_spec(cls, spec_dict: Dict) -> "WorkspaceV1"Arguments:
spec_dict (Dict):
Returns: