Skip to content

Commit e7536bd

Browse files
committed
Rm placeholder fields
1 parent dc8a246 commit e7536bd

File tree

1 file changed

+25
-14
lines changed

1 file changed

+25
-14
lines changed

src/apify_client/_models.py

Lines changed: 25 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# generated by datamodel-codegen:
22
# filename: openapi.json
3-
# timestamp: 2026-01-30T15:37:40+00:00
3+
# timestamp: 2026-01-30T15:49:23+00:00
44

55
from __future__ import annotations
66

@@ -1649,10 +1649,14 @@ class TaskOptions(BaseModel):
16491649

16501650

16511651
class TaskInput(BaseModel):
1652+
"""The input configuration for the Actor task. This is a user-defined JSON object
1653+
that will be passed to the Actor when the task is run.
1654+
1655+
"""
1656+
16521657
model_config = ConfigDict(
16531658
extra='allow',
16541659
)
1655-
hello: Annotated[str | None, Field(examples=['world'])] = None
16561660

16571661

16581662
class CreateTaskRequest(BaseModel):
@@ -1883,17 +1887,25 @@ class GetListOfKeysResponse(BaseModel):
18831887

18841888

18851889
class GetRecordResponse(BaseModel):
1890+
"""The response body contains the value of the record. The content type of the response
1891+
is determined by the Content-Type header stored with the record.
1892+
1893+
"""
1894+
18861895
model_config = ConfigDict(
18871896
extra='allow',
18881897
)
1889-
foo: str
18901898

18911899

18921900
class PutRecordRequest(BaseModel):
1901+
"""The request body contains the value to store in the record. The content type
1902+
should be specified in the Content-Type header.
1903+
1904+
"""
1905+
18931906
model_config = ConfigDict(
18941907
extra='allow',
18951908
)
1896-
foo: Annotated[str | None, Field(examples=['bar'])] = None
18971909

18981910

18991911
class DatasetListItem(BaseModel):
@@ -2012,10 +2024,14 @@ class UpdateDatasetRequest(BaseModel):
20122024

20132025

20142026
class PutItemsRequest(BaseModel):
2027+
"""The request body containing the item(s) to add to the dataset. Can be a single
2028+
object or an array of objects. Each object represents one dataset item.
2029+
2030+
"""
2031+
20152032
model_config = ConfigDict(
20162033
extra='allow',
20172034
)
2018-
foo: str
20192035

20202036

20212037
class ValidationError(BaseModel):
@@ -3143,14 +3159,6 @@ class Proxy(BaseModel):
31433159
groups: list[ProxyGroup]
31443160

31453161

3146-
class AvailableProxyGroups(BaseModel):
3147-
model_config = ConfigDict(
3148-
extra='allow',
3149-
)
3150-
somegroup: Annotated[int, Field(alias='SOMEGROUP', examples=[20])]
3151-
anothergroup: Annotated[int, Field(alias='ANOTHERGROUP', examples=[200])]
3152-
3153-
31543162
class Plan(BaseModel):
31553163
model_config = ConfigDict(
31563164
extra='allow',
@@ -3181,7 +3189,10 @@ class Plan(BaseModel):
31813189
max_actor_count: Annotated[int, Field(alias='maxActorCount', examples=[100])]
31823190
max_actor_task_count: Annotated[int, Field(alias='maxActorTaskCount', examples=[1000])]
31833191
data_retention_days: Annotated[int, Field(alias='dataRetentionDays', examples=[14])]
3184-
available_proxy_groups: Annotated[AvailableProxyGroups, Field(alias='availableProxyGroups')]
3192+
available_proxy_groups: Annotated[dict[str, int], Field(alias='availableProxyGroups')]
3193+
"""
3194+
The number of available proxies in this group.
3195+
"""
31853196
team_account_seat_count: Annotated[int, Field(alias='teamAccountSeatCount', examples=[1])]
31863197
support_level: Annotated[str, Field(alias='supportLevel', examples=['COMMUNITY'])]
31873198
available_add_ons: Annotated[list[str], Field(alias='availableAddOns', examples=[[]])]

0 commit comments

Comments
 (0)