Flow inputs carry an origin hint, run or panel
The Inputs editor and the canvas label show it, and the run forms leave panel inputs out.
This commit is contained in:
@@ -267,6 +267,15 @@ class FlowInput(BaseModel):
|
||||
|
||||
spec: MessageSpec
|
||||
initial: Any | None = None
|
||||
origin: Literal["run", "panel"] = Field(
|
||||
default="run",
|
||||
description=(
|
||||
"What writes it. A run input is a parameter a run passes in, a "
|
||||
"panel input is written by a dashboard or panel control. A hint "
|
||||
"only: run forms leave panel inputs out, the engine treats both "
|
||||
"the same."
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
class FlowDef(BaseModel):
|
||||
|
||||
Reference in New Issue
Block a user