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
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,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-14T072928Z"
version = "v2-2026-08-24T085852Z"

[tool.uv]
# Minimal defense against supply-chain atatcks.
Expand Down
15 changes: 13 additions & 2 deletions src/apify_client/_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -2430,11 +2430,11 @@ class RequestBase(BaseModel):
populate_by_name=True,
alias_generator=to_camel,
)
unique_key: Annotated[str | None, Field(examples=['GET|60d83e70|e3b0c442|https://apify.com'])] = None
unique_key: Annotated[str, Field(examples=['GET|60d83e70|e3b0c442|https://apify.com'])]
"""
A unique key used for request de-duplication. Requests with the same unique key are considered identical.
"""
url: Annotated[str | None, Field(examples=['https://apify.com'])] = None
url: Annotated[str, Field(examples=['https://apify.com'])]
"""
The URL of the request.
"""
Expand Down Expand Up @@ -2838,6 +2838,17 @@ class RequestUserData(BaseModel):
)


@docs_group('Models')
class RequestWithoutId(RequestBase):
"""A request stored in the request queue, including its metadata and processing state, without the assigned ID."""

model_config = ConfigDict(
extra='allow',
populate_by_name=True,
alias_generator=to_camel,
)


@docs_group('Models')
class Run(BaseModel):
"""Represents an Actor run and its associated data."""
Expand Down
8 changes: 4 additions & 4 deletions src/apify_client/_typeddicts.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@

@docs_group('Typed dicts')
class RequestBaseDict(TypedDict):
unique_key: NotRequired[str]
unique_key: str
"""
A unique key used for request de-duplication. Requests with the same unique key are considered identical.
"""
url: NotRequired[str]
url: str
"""
The URL of the request.
"""
Expand Down Expand Up @@ -51,11 +51,11 @@ class RequestBaseDict(TypedDict):

@docs_group('Typed dicts')
class RequestBaseCamelDict(TypedDict):
uniqueKey: NotRequired[str]
uniqueKey: str
"""
A unique key used for request de-duplication. Requests with the same unique key are considered identical.
"""
url: NotRequired[str]
url: str
"""
The URL of the request.
"""
Expand Down
Loading