add email block metadata to WorkflowRunBlock schema (#1477)
This commit is contained in:
@@ -41,6 +41,12 @@ class WorkflowRunBlock(BaseModel):
|
|||||||
current_value: str | None = None
|
current_value: str | None = None
|
||||||
current_index: int | 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):
|
class WorkflowRunTimelineType(StrEnum):
|
||||||
thought = "thought"
|
thought = "thought"
|
||||||
|
|||||||
Reference in New Issue
Block a user