Header of process and node ports follow each other both ways: a panel edit rewrites only the def line of edited code, a code save reads the header back into input ports and settings (draft and response); Space types in the node editor again
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WgBfkm4rCmtd1T4vHWjEPx
This commit is contained in:
@@ -343,6 +343,17 @@ class NodeStatusPublic(BaseModel):
|
||||
last_error_ts: float | None = None
|
||||
|
||||
|
||||
class NodeSourceSaved(NodeStatusPublic):
|
||||
"""Whether saved code loads, and what its header changed.
|
||||
|
||||
`node` is set when the parameters of ``process`` added, dropped or renamed
|
||||
an input port or setting. The draft moved on to `version` with it.
|
||||
"""
|
||||
|
||||
node: NodeDef | None = None
|
||||
version: int | None = None
|
||||
|
||||
|
||||
class MessageValue(BaseModel):
|
||||
"""The last payload seen on a message."""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user