Skip to content

Commit 1cf37f1

Browse files
authored
fix: Allow None value in 'inputBodyLen' in ActorRunStats (#413)
1 parent 4b4a8eb commit 1cf37f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/apify/_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class ActorRunMeta(BaseModel):
4646
class ActorRunStats(BaseModel):
4747
__model_config__ = ConfigDict(populate_by_name=True)
4848

49-
input_body_len: Annotated[int, Field(alias='inputBodyLen')]
49+
input_body_len: Annotated[int | None, Field(alias='inputBodyLen')] = None
5050
restart_count: Annotated[int, Field(alias='restartCount')]
5151
resurrect_count: Annotated[int, Field(alias='resurrectCount')]
5252
mem_avg_bytes: Annotated[float | None, Field(alias='memAvgBytes')] = None

0 commit comments

Comments
 (0)