Skip to content

Commit 11b090a

Browse files
committed
Update models based on the feedback
1 parent 76bcf85 commit 11b090a

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

src/apify_client/_models.py

Lines changed: 11 additions & 3 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-14T19:13:07+00:00
3+
# timestamp: 2026-01-16T13:13:20+00:00
44

55
from __future__ import annotations
66

@@ -999,7 +999,15 @@ class Run(BaseModel):
999999
Field(alias='pricingInfo', discriminator='pricing_model', title='ActorRunPricingInfo'),
10001000
] = None
10011001
stats: RunStats
1002-
charged_event_counts: Annotated[dict[str, int] | None, Field(alias='chargedEventCounts')] = None
1002+
charged_event_counts: Annotated[
1003+
dict[str, int] | None,
1004+
Field(
1005+
alias='chargedEventCounts', examples=[{'actor-start': 1, 'page-crawled': 150, 'data-extracted': 75}], ge=0
1006+
),
1007+
] = None
1008+
"""
1009+
A map of charged event types to their counts. The keys are event type identifiers defined by the Actor's pricing model (pay-per-event), and the values are the number of times each event was charged during this run.
1010+
"""
10031011
options: RunOptions
10041012
build_id: Annotated[str, Field(alias='buildId', examples=['7sT5jcggjjA9fNcxF'])]
10051013
exit_code: Annotated[float | None, Field(alias='exitCode', examples=[0])] = None
@@ -1078,11 +1086,11 @@ class Task(BaseModel):
10781086
stats: TaskStats | None = None
10791087
options: TaskOptions | None = None
10801088
input: TaskInput | None = None
1089+
standby_url: Annotated[str | None, Field(alias='standbyUrl')] = None
10811090

10821091

10831092
class CreateTaskResponse(BaseModel):
10841093
data: Task
1085-
standby_url: Annotated[str | None, Field(alias='standbyUrl')] = None
10861094

10871095

10881096
class UpdateTaskRequest(BaseModel):

0 commit comments

Comments
 (0)