feat/trigger: support specifying root node (#24388)

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Yeuoly
2025-08-23 20:44:03 +08:00
committed by GitHub
parent 6aed7e3ff4
commit a7b558b38b
8 changed files with 24 additions and 7 deletions

View File

@ -25,6 +25,7 @@ class TriggerData(BaseModel):
app_id: str
tenant_id: str
workflow_id: Optional[str] = None
root_node_id: str
inputs: Mapping[str, Any]
files: Sequence[Mapping[str, Any]] = Field(default_factory=list)
trigger_type: WorkflowRunTriggeredFrom