代码提交
This commit is contained in:
1 parent
4ac7bc21cd
commit
17cf849361
110 files changed
+17007
-518
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"]
|
||||
Reference in new issue
Block a user