Add a title search parameter to workflows endpoint, add index to work… (#1638)

Co-authored-by: Muhammed Salih Altun <muhammedsalihaltun@gmail.com>
This commit is contained in:
Shuchang Zheng 2025-01-25 02:59:02 +08:00 committed by GitHub
parent 5c37ebbb9e
commit ef93ad65d3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 37 additions and 0 deletions

View file

@ -524,6 +524,7 @@ class WorkflowService:
page_size: int = 10,
only_saved_tasks: bool = False,
only_workflows: bool = False,
title: str = "",
) -> list[Workflow]:
"""
Get all workflows with the latest version for the organization.
@ -534,6 +535,7 @@ class WorkflowService:
page_size=page_size,
only_saved_tasks=only_saved_tasks,
only_workflows=only_workflows,
title=title,
)
async def update_workflow(