add email block metadata to WorkflowRunBlock schema (#1477)

This commit is contained in:
Shuchang Zheng
2025-01-03 11:38:21 -08:00
committed by GitHub
parent 2e34dad811
commit fdb52e16df

View File

@@ -41,6 +41,12 @@ class WorkflowRunBlock(BaseModel):
current_value: str | None = None
current_index: int | None = None
# email block
recipients: list[str] | None = None
attachments: list[str] | None = None
subject: str | None = None
body: str | None = None
class WorkflowRunTimelineType(StrEnum):
thought = "thought"