初始化

This commit is contained in:
gozeros committed 2026-09-07 18:24:55 +08:00
1 parent 34474bd5fc
commit b638b541d0
3008 files changed
+837699

No files matched your search

@@ -0,0 +1,17 @@
"""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"]