is_saved_task parameter for workflows (#526)

This commit is contained in:
Kerem Yilmaz
2024-06-27 12:53:08 -07:00
committed by GitHub
parent c44a3076c0
commit 63adc860ef
8 changed files with 69 additions and 10 deletions

View File

@@ -160,6 +160,7 @@ def convert_to_workflow(workflow_model: WorkflowModel, debug_enabled: bool = Fal
webhook_callback_url=workflow_model.webhook_callback_url,
proxy_location=(ProxyLocation(workflow_model.proxy_location) if workflow_model.proxy_location else None),
version=workflow_model.version,
is_saved_task=workflow_model.is_saved_task,
description=workflow_model.description,
workflow_definition=WorkflowDefinition.model_validate(workflow_model.workflow_definition),
created_at=workflow_model.created_at,