misc changes: returns None, root as ., add

This commit is contained in:
lda
2026-05-18 00:45:08 +07:00 Verified
parent 6ee1d8f0cf
commit acd2e2ecb4
19 changed files with 274 additions and 53 deletions
+4
View File
@@ -20,6 +20,10 @@ class Nothing(BaseModel):
"""Empty output model for nodes that only choose an outcome."""
NoOutput = NodeReturn[Nothing]
"""Type alias for outcome-only nodes that return no output payload."""
@overload
def outcome(name: str) -> NodeReturn[Nothing]: ...