File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
src/apify_client/clients/resource_clients Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -396,6 +396,8 @@ async def resurrect(
396
396
build : str | None = None ,
397
397
memory_mbytes : int | None = None ,
398
398
timeout_secs : int | None = None ,
399
+ max_items : int | None = None ,
400
+ max_total_charge_usd : Decimal | None = None ,
399
401
) -> dict :
400
402
"""Resurrect a finished Actor run.
401
403
@@ -411,6 +413,10 @@ async def resurrect(
411
413
uses the same memory limit as before.
412
414
timeout_secs: New timeout for the resurrected run, in seconds. By default, the resurrected run uses the
413
415
same timeout as before.
416
+ max_items: Maximum number of items that the resurrected pay-per-result run will return. By default, the
417
+ resurrected run uses the same limit as before. Limit can be only increased.
418
+ max_total_charge_usd: Maximum cost for the resurrected pay-per-event run in USD. By default, the
419
+ resurrected run uses the same limit as before. Limit can be only increased.
414
420
415
421
Returns:
416
422
The Actor run data.
@@ -419,6 +425,8 @@ async def resurrect(
419
425
build = build ,
420
426
memory = memory_mbytes ,
421
427
timeout = timeout_secs ,
428
+ maxItems = max_items ,
429
+ maxTotalChargeUsd = max_total_charge_usd ,
422
430
)
423
431
424
432
response = await self .http_client .call (
You can’t perform that action at this time.
0 commit comments