mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2026-05-01 21:20:19 +00:00
shu/script status pending (#3481)
This commit is contained in:
parent
c5280782b0
commit
5a0a228b56
5 changed files with 17 additions and 17 deletions
|
|
@ -1605,7 +1605,7 @@ async def generate_workflow_script_python_code(
|
|||
run_id: str | None = None,
|
||||
script_id: str | None = None,
|
||||
script_revision_id: str | None = None,
|
||||
draft: bool = False,
|
||||
pending: bool = False,
|
||||
) -> str:
|
||||
"""
|
||||
Build a LibCST Module and emit .code (PEP-8-formatted source).
|
||||
|
|
@ -1685,7 +1685,7 @@ async def generate_workflow_script_python_code(
|
|||
script_id=script_id,
|
||||
organization_id=organization_id,
|
||||
block_label=block_name,
|
||||
update=draft,
|
||||
update=pending,
|
||||
)
|
||||
except Exception as e:
|
||||
LOG.error("Failed to create script block", error=str(e), exc_info=True)
|
||||
|
|
@ -1800,7 +1800,7 @@ async def generate_workflow_script_python_code(
|
|||
script_id=script_id,
|
||||
organization_id=organization_id,
|
||||
block_label=settings.WORKFLOW_START_BLOCK_LABEL,
|
||||
update=draft,
|
||||
update=pending,
|
||||
)
|
||||
except Exception as e:
|
||||
LOG.error("Failed to create __start_block__", error=str(e), exc_info=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue