Add application column to tasks (#1291)

Co-authored-by: Muhammed Salih Altun <muhammedsalihaltun@gmail.com>
This commit is contained in:
Shuchang Zheng 2024-11-29 05:43:02 -08:00 committed by GitHub
parent fe0f971842
commit 379d5a30cd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 42 additions and 0 deletions

View file

@ -91,6 +91,11 @@ class TaskBase(BaseModel):
description="The type of the task",
examples=[TaskType.general, TaskType.validation],
)
application: str | None = Field(
default=None,
description="The application for which the task is running",
examples=["forms"],
)
class TaskRequest(TaskBase):