Skip to content

Commit f355d89

Browse files
chore: Regenerate models from the published OpenAPI spec (#1200)
1 parent 1790b0e commit f355d89

2 files changed

Lines changed: 18 additions & 5 deletions

File tree

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ keep_model_order = true
251251
# workflow committing nothing unless the models changed. A local regeneration that only moves this line is that
252252
# same case - drop it rather than committing it alone.
253253
[tool.apify.openapi-spec]
254-
version = "v2-2026-10-29T100357Z"
254+
version = "v2-2026-11-01T214220Z"
255255

256256
[tool.uv]
257257
# Minimal defense against supply-chain atatcks.

‎src/apify_client/_models.py‎

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -494,17 +494,21 @@ class ActorStandby(BaseModel):
494494
"""
495495
Whether to pass the Actor's input to the standby run. If `false`, the standby runs start with no input.
496496
"""
497-
tenancy: Annotated[str | None, Field(examples=['SINGLE_TENANT'])] = None
497+
tenancy: Annotated[Tenancy | None, Field(examples=['SINGLE_TENANT'])] = None
498498
"""
499-
Whether each user gets their own standby runs (`SINGLE_TENANT`) or runs are shared across users (`MULTI_TENANT`). Set by Apify.
499+
Whether each user gets their own standby runs (`SINGLE_TENANT`) or runs are shared across users (`MULTI_TENANT`).
500500
"""
501501
is_console_auth_enabled: bool | None = None
502502
"""
503-
Whether standby requests can be authenticated with an Apify Console session. Set by Apify.
503+
Whether standby requests can be authenticated with an Apify Console session.
504+
When creating an Actor, omit this field or set it to `false`. When updating an Actor, only Apify administrators can change it; other users can only send the current value, or `false` if it's not set yet.
505+
504506
"""
505507
is_tokenless_enabled: bool | None = None
506508
"""
507-
Whether standby requests can be made without an API token. Set by Apify.
509+
Whether standby requests can be made without an API token.
510+
When creating an Actor, omit this field or set it to `false`. When updating an Actor, only Apify administrators can change it; other users can only send the current value, or `false` if it's not set yet.
511+
508512
"""
509513

510514

@@ -4413,6 +4417,15 @@ class TaskStats(BaseModel):
44134417
"""
44144418

44154419

4420+
@docs_group('Models')
4421+
class Tenancy(Enum):
4422+
"""Whether each user gets their own standby runs (`SINGLE_TENANT`) or runs are shared across users (`MULTI_TENANT`)."""
4423+
4424+
SINGLE_TENANT = 'SINGLE_TENANT'
4425+
MULTI_TENANT = 'MULTI_TENANT'
4426+
NONE_TYPE_NONE = None
4427+
4428+
44164429
@docs_group('Models')
44174430
class TieredPricing(BaseModel):
44184431
model_config = ConfigDict(

0 commit comments

Comments
 (0)