Skip to content

Commit 154c874

Browse files
committed
Fix
1 parent 94269ef commit 154c874

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/apify/_charging.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,8 +356,7 @@ async def _fetch_pricing_info(self) -> _FetchedPricingInfoDict:
356356
if run is None:
357357
raise RuntimeError('Actor run not found')
358358

359-
run_dict = run.model_dump(by_alias=True)
360-
actor_run = run_validator.validate_python(run_dict)
359+
actor_run = run_validator.validate_python(run)
361360

362361
if actor_run is None:
363362
raise RuntimeError('Actor run not found')

0 commit comments

Comments
 (0)