DemoOrchestration
What it is
- A minimal
DagsterOrchestrationimplementation that creates an empty DagsterDefinitionsobject (no assets, jobs, schedules, or sensors).
Public API
class DemoOrchestration(DagsterOrchestration)@classmethod New() -> DemoOrchestration- Returns a
DemoOrchestrationinstance initialized withdagster.Definitionswhere:assets=[]schedules=[]jobs=[]sensors=[]
- Returns a
Configuration/Dependencies
- Dependencies
dagster(imported asdg)naas_abi_core.orchestrations.DagsterOrchestration.DagsterOrchestration
Usage
from naas_abi.orchestrations.DemoOrchestration import DemoOrchestration
orch = DemoOrchestration.New()
# orch is a DagsterOrchestration with empty Dagster Definitions
Caveats
- The orchestration contains no assets/jobs/schedules/sensors by default; running it will not execute any work unless extended.