mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2026-04-30 04:30:19 +00:00
Script gen support - send email with file attachments (#3551)
This commit is contained in:
parent
8fd5db7d12
commit
7afb5190a6
5 changed files with 50 additions and 13 deletions
|
|
@ -775,15 +775,14 @@ def _build_send_email_statement(block: dict[str, Any]) -> cst.SimpleStatementLin
|
|||
last_line=cst.SimpleWhitespace(INDENT),
|
||||
),
|
||||
),
|
||||
# TODO: support file attachments?
|
||||
# cst.Arg(
|
||||
# keyword=cst.Name("file_attachments"),
|
||||
# value=_value(block.get("file_attachments", [])),
|
||||
# whitespace_after_arg=cst.ParenthesizedWhitespace(
|
||||
# indent=True,
|
||||
# last_line=cst.SimpleWhitespace(INDENT),
|
||||
# ),
|
||||
# ),
|
||||
cst.Arg(
|
||||
keyword=cst.Name("file_attachments"),
|
||||
value=_value(block.get("file_attachments", [])),
|
||||
whitespace_after_arg=cst.ParenthesizedWhitespace(
|
||||
indent=True,
|
||||
last_line=cst.SimpleWhitespace(INDENT),
|
||||
),
|
||||
),
|
||||
cst.Arg(
|
||||
keyword=cst.Name("label"),
|
||||
value=_value(block.get("label", "")),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue