Skip to main content

FileSystemRole

What it is

  • A thin subclass of naas_abi.ontologies.modules.NexusPlatformOntology.FileSystemRole.
  • Intended as an action/extension point where custom logic can be implemented via actions().

Public API

  • class FileSystemRole(_FileSystemRole)
    • Inherits all behavior from the upstream _FileSystemRole.
    • actions(self)
      • Placeholder method for implementing role-specific actions.
      • Currently does nothing (pass).

Configuration/Dependencies

  • Depends on: naas_abi.ontologies.modules.NexusPlatformOntology.FileSystemRole (imported as _FileSystemRole).

Usage

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

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

Caveats

  • actions() is not implemented; calling it has no effect unless you override it.