Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand Down
3 changes: 3 additions & 0 deletions src/apify_client/_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
"""
Expand Down
6 changes: 6 additions & 0 deletions src/apify_client/_typeddicts.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down
Loading