add max_steps_per_run to task (#297)

Co-authored-by: Shuchang Zheng <wintonzheng0325@gmail.com>
This commit is contained in:
Kerem Yilmaz
2024-05-11 14:13:21 -07:00
committed by GitHub
parent 6feddbde6a
commit 270642c60c
8 changed files with 39 additions and 0 deletions

View File

@@ -143,6 +143,7 @@ class Task(TaskRequest):
workflow_run_id: str | None = None
order: int | None = None
retry: int | None = None
max_steps_per_run: int | None = None
errors: list[dict[str, Any]] = []
def validate_update(