From 8c20dbc8ffd61efb7d8e71c9374e7357babd9027 Mon Sep 17 00:00:00 2001 From: Apify Service Account <64261774+apify-service-account@users.noreply.github.com> Date: Tue, 11 Aug 2026 04:40:25 +0200 Subject: [PATCH] chore: Regenerate models from the published OpenAPI spec --- pyproject.toml | 2 +- src/apify_client/_models.py | 4 ++++ src/apify_client/_typeddicts.py | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 2056e144..9666a12a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -255,7 +255,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-07-28T083939Z" +version = "v2-2026-08-05T133145Z" [tool.uv] # Minimal defense against supply-chain atatcks. diff --git a/src/apify_client/_models.py b/src/apify_client/_models.py index b4317a73..ea8facd2 100644 --- a/src/apify_client/_models.py +++ b/src/apify_client/_models.py @@ -1330,6 +1330,10 @@ class EnvVarRequest(EnvVar): populate_by_name=True, alias_generator=to_camel, ) + value: Annotated[str, Field(examples=['my-value'])] + """ + The value of the environment variable. If `isSecret` is `true`, this value isn't returned by the API. + """ @docs_group('Models') diff --git a/src/apify_client/_typeddicts.py b/src/apify_client/_typeddicts.py index 46854805..adbad385 100644 --- a/src/apify_client/_typeddicts.py +++ b/src/apify_client/_typeddicts.py @@ -39,7 +39,7 @@ class RequestBaseDict(TypedDict): """ Indicates whether the request should not be retried if processing fails. """ - error_messages: NotRequired[list[str]] + error_messages: NotRequired[list[str] | None] """ Error messages recorded from failed processing attempts. """ @@ -81,7 +81,7 @@ class RequestBaseCamelDict(TypedDict): """ Indicates whether the request should not be retried if processing fails. """ - errorMessages: NotRequired[list[str]] + errorMessages: NotRequired[list[str] | None] """ Error messages recorded from failed processing attempts. """