Skip to content

Commit efa70e1

Browse files
update generated models from apify-docs PR #2702
1 parent 50c7088 commit efa70e1

1 file changed

Lines changed: 29 additions & 27 deletions

File tree

src/apify_client/_models.py

Lines changed: 29 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2043,31 +2043,33 @@ class Plan(BaseModel):
20432043
populate_by_name=True,
20442044
alias_generator=to_camel,
20452045
)
2046-
id: Annotated[str, Field(examples=['Personal'])]
2047-
description: Annotated[str, Field(examples=['Cost-effective plan for freelancers, developers and students.'])]
2048-
is_enabled: Annotated[bool, Field(examples=[True])]
2049-
monthly_base_price_usd: Annotated[float, Field(examples=[49])]
2050-
monthly_usage_credits_usd: Annotated[float, Field(examples=[49])]
2046+
id: Annotated[str | None, Field(examples=['Personal'])] = None
2047+
description: Annotated[
2048+
str | None, Field(examples=['Cost-effective plan for freelancers, developers and students.'])
2049+
] = None
2050+
is_enabled: Annotated[bool | None, Field(examples=[True])] = None
2051+
monthly_base_price_usd: Annotated[float | None, Field(examples=[49])] = None
2052+
monthly_usage_credits_usd: Annotated[float | None, Field(examples=[49])] = None
20512053
usage_discount_percent: Annotated[float | None, Field(examples=[0])] = None
20522054
enabled_platform_features: Annotated[
2053-
list[str], Field(examples=[['ACTORS', 'STORAGE', 'PROXY_SERPS', 'SCHEDULER', 'WEBHOOKS']])
2054-
]
2055-
max_monthly_usage_usd: Annotated[float, Field(examples=[9999])]
2056-
max_actor_memory_gbytes: Annotated[float, Field(examples=[32])]
2057-
max_monthly_actor_compute_units: Annotated[float, Field(examples=[1000])]
2058-
max_monthly_residential_proxy_gbytes: Annotated[float, Field(examples=[10])]
2059-
max_monthly_proxy_serps: Annotated[int, Field(examples=[30000])]
2060-
max_monthly_external_data_transfer_gbytes: Annotated[float, Field(examples=[1000])]
2061-
max_actor_count: Annotated[int, Field(examples=[100])]
2062-
max_actor_task_count: Annotated[int, Field(examples=[1000])]
2063-
data_retention_days: Annotated[int, Field(examples=[14])]
2055+
list[str] | None, Field(examples=[['ACTORS', 'STORAGE', 'PROXY_SERPS', 'SCHEDULER', 'WEBHOOKS']])
2056+
] = None
2057+
max_monthly_usage_usd: Annotated[float | None, Field(examples=[9999])] = None
2058+
max_actor_memory_gbytes: Annotated[float | None, Field(examples=[32])] = None
2059+
max_monthly_actor_compute_units: Annotated[float | None, Field(examples=[1000])] = None
2060+
max_monthly_residential_proxy_gbytes: Annotated[float | None, Field(examples=[10])] = None
2061+
max_monthly_proxy_serps: Annotated[int | None, Field(examples=[30000])] = None
2062+
max_monthly_external_data_transfer_gbytes: Annotated[float | None, Field(examples=[1000])] = None
2063+
max_actor_count: Annotated[int | None, Field(examples=[100])] = None
2064+
max_actor_task_count: Annotated[int | None, Field(examples=[1000])] = None
2065+
data_retention_days: Annotated[int | None, Field(examples=[14])] = None
20642066
available_proxy_groups: dict[str, int]
20652067
"""
20662068
The number of available proxies in this group.
20672069
"""
2068-
team_account_seat_count: Annotated[int, Field(examples=[1])]
2069-
support_level: Annotated[str, Field(examples=['COMMUNITY'])]
2070-
available_add_ons: Annotated[list[str], Field(examples=[[]])]
2070+
team_account_seat_count: Annotated[int | None, Field(examples=[1])] = None
2071+
support_level: Annotated[str | None, Field(examples=['COMMUNITY'])] = None
2072+
available_add_ons: Annotated[list[str] | None, Field(examples=[[]])] = None
20712073
tier: Annotated[str | None, Field(examples=['FREE'])] = None
20722074
api_rate_limit_boosts: Annotated[int | None, Field(examples=[0])] = None
20732075
max_schedule_count: Annotated[int | None, Field(examples=[100])] = None
@@ -3268,8 +3270,8 @@ class StoreListActor(BaseModel):
32683270
title: Annotated[str, Field(examples=['My Public Actor'])]
32693271
name: Annotated[str, Field(examples=['my-public-actor'])]
32703272
username: Annotated[str, Field(examples=['jane35'])]
3271-
user_full_name: Annotated[str, Field(examples=['Jane H. Doe'])]
3272-
description: Annotated[str, Field(examples=['My public actor!'])]
3273+
user_full_name: Annotated[str | None, Field(examples=['Jane H. Doe'])] = None
3274+
description: Annotated[str | None, Field(examples=['My public actor!'])] = None
32733275
categories: Annotated[list[str] | None, Field(examples=[['MARKETING', 'LEAD_GENERATION']])] = None
32743276
notice: str | None = None
32753277
picture_url: Annotated[AnyUrl | None, Field(examples=['https://...'])] = None
@@ -3584,7 +3586,7 @@ class UpdateLimitsRequest(BaseModel):
35843586
"""
35853587
data_retention_days: Annotated[int | None, Field(examples=[90])] = None
35863588
"""
3587-
Apify securely stores your ten most recent Actor runs indefinitely, ensuring they are always accessible. Unnamed storages and other Actor runs are automatically deleted after the retention period. If you're subscribed, you can change it to keep data for longer or to limit your usage. [Lear more](https://docs.apify.com/platform/storage/usage#data-retention).
3589+
Apify securely stores your ten most recent Actor runs indefinitely, ensuring they are always accessible. Unnamed storages and other Actor runs are automatically deleted after the retention period. If you're subscribed, you can change it to keep data for longer or to limit your usage. [Lear more](https://docs.apify.com/storage#data-retention).
35883590
35893591
"""
35903592

@@ -3681,14 +3683,14 @@ class UserPrivateInfo(BaseModel):
36813683
populate_by_name=True,
36823684
alias_generator=to_camel,
36833685
)
3684-
id: Annotated[str, Field(examples=['YiKoxjkaS9gjGTqhF'])]
3686+
id: Annotated[str | None, Field(examples=['YiKoxjkaS9gjGTqhF'])] = None
36853687
username: Annotated[str, Field(examples=['myusername'])]
3686-
profile: Profile
3687-
email: Annotated[EmailStr, Field(examples=['bob@example.com'])]
3688+
profile: Profile | None = None
3689+
email: Annotated[EmailStr | None, Field(examples=['bob@example.com'])] = None
36883690
proxy: Proxy
36893691
plan: Plan
36903692
effective_platform_features: EffectivePlatformFeatures
3691-
created_at: Annotated[AwareDatetime, Field(examples=['2022-11-29T14:48:29.381Z'])]
3693+
created_at: Annotated[AwareDatetime | None, Field(examples=['2022-11-29T14:48:29.381Z'])] = None
36923694
is_paying: Annotated[bool, Field(examples=[True])]
36933695

36943696

@@ -3757,7 +3759,7 @@ class Version(BaseModel):
37573759
"""
37583760
build_tag: Annotated[str | None, Field(examples=['latest'])] = None
37593761
"""
3760-
The tag name to apply to a successful build of this version.
3762+
The tag name to apply to a successful build of this version. Can be `null` when the version has no build tag.
37613763
"""
37623764
source_files: Annotated[list[SourceCodeFile | SourceCodeFolder] | None, Field(title='VersionSourceFiles')] = None
37633765
"""

0 commit comments

Comments
 (0)