Skip to main content

Ontology

What it is

A thin subclass of naas_abi.ontologies.modules.NexusPlatformOntology.Ontology that serves as an action class placeholder for a Nexus platform ontology.

Public API

  • class Ontology(_Ontology)
    • Inherits all behavior from naas_abi.ontologies.modules.NexusPlatformOntology.Ontology.
    • actions(self)
      • Placeholder method intended for custom action logic.
      • Currently does nothing (pass).

Configuration/Dependencies

  • Depends on: naas_abi.ontologies.modules.NexusPlatformOntology.Ontology (imported as _Ontology).

Usage

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

onto = Ontology()
onto.actions() # no-op

Caveats

  • actions() is not implemented in this file; calling it has no effect unless overridden or implemented later.