OntologyModuleRole
What it is
- A thin subclass of
naas_abi.ontologies.modules.NexusPlatformOntology.OntologyModuleRole. - Intended as an action class hook point; currently contains a stub
actions()method.
Public API
class OntologyModuleRole(_OntologyModuleRole)- Inherits all behavior from the upstream
_OntologyModuleRole. actions(self)- Placeholder method for implementing custom logic.
- Currently does nothing (
pass).
- Inherits all behavior from the upstream
Configuration/Dependencies
- Depends on:
naas_abi.ontologies.modules.NexusPlatformOntology.OntologyModuleRole(imported as_OntologyModuleRole).
Usage
from naas_abi.ontologies.classes.ontology_naas_ai.nexus.OntologyModuleRole import OntologyModuleRole
role = OntologyModuleRole()
role.actions() # no-op; meant to be implemented
Caveats
actions()is a no-op; override/implement it to add functionality.- Any operational behavior comes from the inherited
_OntologyModuleRoleclass (not shown in this module).