Skip to main content

DeploymentSite

What it is

  • A thin subclass of naas_abi.ontologies.modules.NexusPlatformOntology.DeploymentSite.
  • Intended as an action class extension point for DeploymentSite behavior.

Public API

  • class DeploymentSite(_DeploymentSite)
    • Inherits all behavior from _DeploymentSite.
    • actions(self)
      • Placeholder method for implementing custom logic.
      • Currently does nothing (pass).

Configuration/Dependencies

  • Depends on naas_abi.ontologies.modules.NexusPlatformOntology.DeploymentSite (imported as _DeploymentSite).

Usage

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

site = DeploymentSite()
site.actions() # no-op by default

Caveats

  • actions() is not implemented; calling it has no effect unless overridden/extended.