cayu.tasks.TaskQuery
Part of cayu.tasks.base. Read the Python API overview and install the required extra.
from cayu.tasks import TaskQueryBases: BaseModel.
Fields and attributes
Section titled “Fields and attributes”Defaults below are source expressions; Field(...) includes schema/validation settings and default_factory creates a fresh value. Inherited declarations are included. Constructor behavior follows the model or dataclass shown in the bases/decorators.
| Name | Type | Default |
|---|---|---|
q |
str | None |
None |
status |
TaskStatus | None |
None |
type |
str | None |
None |
session_id |
str | None |
None |
parent_task_id |
str | None |
None |
assigned_agent_name |
str | None |
None |
has_work_contract |
StrictBool | None |
None |
limit |
StrictInt |
Field(default=100, ge=1, le=1000) |
offset |
StrictInt |
Field(default=0, ge=0, le=MAX_DURABLE_JSON_INTEGER) |
order_by |
TaskOrder |
TaskOrder.UPDATED_AT_DESC |
validate_optional_nonblank_strings (method)
Section titled “validate_optional_nonblank_strings (method)”TaskQuery.validate_optional_nonblank_strings(value: str | None, info) -> str | None