Version: latest
agrag.common.data_models.task.TaskLookup
Bases: BaseModel
The result of reading a task view by name.
Attributes:
- found (
bool) – Whether a task with that name exists in the project. - view (
TaskView | None) – The resume view, or None when the task is not found. - task_id (
str | None) – The stored task id, or None when the task is not found. The id is derived from the name, so it is the same for a recreated task. - created_at (
datetime | None) – When the stored task was created, or None when the task is not found. Together withtask_idit identifies the task a deletion approval applies to.
created_at
created_at: datetime | None = None
found
found: bool
model_config
model_config = ConfigDict(frozen=True)
task_id
task_id: str | None = None
view
view: TaskView | None = None