add cache_key to workflows table (#3112)

This commit is contained in:
Shuchang Zheng
2025-08-06 08:32:14 -07:00
committed by GitHub
parent 800c030e5c
commit 31aa7d6973
6 changed files with 46 additions and 11 deletions

View File

@@ -80,6 +80,8 @@ 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
cache_key: str | None = None
created_at: datetime
modified_at: datetime

View File

@@ -444,4 +444,4 @@ class WorkflowCreateYAMLRequest(BaseModel):
extra_http_headers: dict[str, str] | None = None
status: WorkflowStatus = WorkflowStatus.published
use_cache: bool = False
cache_project_id: str | None = None
cache_key: str | None = None