"""Leaf constants shared by the scheduler and node executors. Kept dependency-free so the engine and the node package can both import it without forming a cycle. """ from __future__ import annotations # Metadata key a node sets to restrict which outgoing ports the engine activates. ACTIVE_PORTS = "activePorts" # Reserved port names. LOOP_CONTINUE_PORT = "continue" LOOP_DONE_PORT = "done" CONDITION_DEFAULT_PORT = "else" __all__ = ["ACTIVE_PORTS", "CONDITION_DEFAULT_PORT", "LOOP_CONTINUE_PORT", "LOOP_DONE_PORT"]