add flag for forcing code_gen for v2 task block runs (#3576)

This commit is contained in:
Jonathan Dobson
2025-10-01 13:52:42 -04:00
committed by GitHub
parent e6e36f98de
commit 4d2ee0c665
7 changed files with 47 additions and 3 deletions

View File

@@ -378,6 +378,10 @@ class BlockRunRequest(WorkflowRunRequest):
# org_id/user_id, or an override supplied by the user
description="Any active outputs of blocks in a workflow being debugged",
)
code_gen: bool | None = Field(
default=False,
description="Whether to generate colde for blocks that support it",
)
debug_session_id: str | None = Field(
default=None,
description="ID of the debug session to use for this block run",