feat: migrate workflow use_cache field to generate_script (#3154)
Co-authored-by: devsy-bot <no-reply@devsy.ai> Co-authored-by: Shuchang Zheng <wintonzheng0325@gmail.com>
This commit is contained in:
@@ -80,7 +80,7 @@ class Workflow(BaseModel):
|
||||
status: WorkflowStatus = WorkflowStatus.published
|
||||
max_screenshot_scrolls: int | None = None
|
||||
extra_http_headers: dict[str, str] | None = None
|
||||
use_cache: bool = False
|
||||
generate_script: bool = False
|
||||
cache_key: str | None = None
|
||||
|
||||
created_at: datetime
|
||||
|
||||
@@ -447,5 +447,5 @@ class WorkflowCreateYAMLRequest(BaseModel):
|
||||
max_screenshot_scrolls: int | None = None
|
||||
extra_http_headers: dict[str, str] | None = None
|
||||
status: WorkflowStatus = WorkflowStatus.published
|
||||
use_cache: bool = False
|
||||
generate_script: bool = False
|
||||
cache_key: str | None = None
|
||||
|
||||
Reference in New Issue
Block a user