Skip to main content

WorkspaceRole

What it is

  • A thin subclass wrapper around naas_abi.ontologies.modules.NexusPlatformOntology.WorkspaceRole.
  • Intended as an action class extension point; currently contains a placeholder actions() method.

Public API

  • class WorkspaceRole(_WorkspaceRole)
    • Inherits all behavior from the imported base _WorkspaceRole.
    • actions(self) -> None
      • Placeholder method intended for custom action logic.
      • Currently does nothing (pass).

Configuration/Dependencies

  • Depends on:
    • naas_abi.ontologies.modules.NexusPlatformOntology.WorkspaceRole (imported as _WorkspaceRole)

Usage

from naas_abi.ontologies.classes.ontology_naas_ai.nexus.WorkspaceRole import WorkspaceRole

role = WorkspaceRole()
role.actions() # no-op by default

Caveats

  • actions() is not implemented; calling it has no effect.
  • Any meaningful behavior comes from the base class _WorkspaceRole, which is not defined in this file.