KnowledgeGraphRole
What it is
- A thin subclass of
naas_abi.ontologies.modules.NexusPlatformOntology.KnowledgeGraphRole. - Provides an overridable
actions()hook intended for custom logic.
Public API
class KnowledgeGraphRole(_KnowledgeGraphRole)actions(self)- Placeholder method for implementing action logic.
- Currently does nothing (
pass).
Configuration/Dependencies
- Depends on
naas_abi.ontologies.modules.NexusPlatformOntology.KnowledgeGraphRole(imported as_KnowledgeGraphRole).
Usage
from naas_abi.ontologies.classes.ontology_naas_ai.nexus.KnowledgeGraphRole import KnowledgeGraphRole
role = KnowledgeGraphRole()
role.actions() # no-op by default
Caveats
actions()is not implemented; calling it has no effect until you override it.