diff --git a/pyproject.toml b/pyproject.toml index dae23915..e2fc1538 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -222,6 +222,7 @@ use_field_description = true use_union_operator = true capitalise_enum_members = true collapse_root_models = true +collapse_root_models_name_strategy = "child" set_default_enum_member = true use_annotated = true wrap_string_literal = true @@ -245,7 +246,7 @@ keep_model_order = true # workflow committing nothing unless the models changed. A local regeneration that only moves this line is that # same case - drop it rather than committing it alone. [tool.apify.openapi-spec] -version = "v2-2026-08-30T172245Z" +version = "v2-2026-08-31T125154Z" [tool.uv] # Minimal defense against supply-chain atatcks. diff --git a/src/apify_client/_models.py b/src/apify_client/_models.py index 1f5d45ae..70b11f4d 100644 --- a/src/apify_client/_models.py +++ b/src/apify_client/_models.py @@ -872,6 +872,7 @@ class CreateTaskRequest(BaseModel): options: TaskOptions | None = None input: TaskInput | list[TaskInput] | None = None title: str | None = None + description: str | None = None actor_standby: ActorStandby | None = None public_config: TaskPublicConfig | None = None """ @@ -3505,6 +3506,7 @@ class Task(BaseModel): options: TaskOptions | None = None input: TaskInput | list[TaskInput] | None = None title: str | None = None + description: str | None = None actor_standby: ActorStandby | None = None standby_url: AnyUrl | None = None is_public: Annotated[bool | None, Field(examples=[False])] = None @@ -3869,6 +3871,7 @@ class UpdateTaskRequest(BaseModel): options: TaskOptions | None = None input: TaskInput | list[TaskInput] | None = None title: str | None = None + description: str | None = None actor_standby: ActorStandby | None = None public_config: TaskPublicConfig | None = None """ diff --git a/src/apify_client/_typeddicts.py b/src/apify_client/_typeddicts.py index 222e056e..da826a06 100644 --- a/src/apify_client/_typeddicts.py +++ b/src/apify_client/_typeddicts.py @@ -18,6 +18,9 @@ class RequestBaseDict(TypedDict): The URL of the request. """ method: NotRequired[Literal['GET', 'HEAD', 'POST', 'PUT', 'DELETE', 'CONNECT', 'OPTIONS', 'TRACE', 'PATCH']] + """ + The HTTP method of the request. + """ retry_count: NotRequired[int] """ The number of times this request has been retried. @@ -60,6 +63,9 @@ class RequestBaseCamelDict(TypedDict): The URL of the request. """ method: NotRequired[Literal['GET', 'HEAD', 'POST', 'PUT', 'DELETE', 'CONNECT', 'OPTIONS', 'TRACE', 'PATCH']] + """ + The HTTP method of the request. + """ retryCount: NotRequired[int] """ The number of times this request has been retried.