Skip to content

Commit 441d479

Browse files
committed
rm max items
1 parent 6211639 commit 441d479

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

src/apify/_actor.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -865,7 +865,6 @@ async def start(
865865
token: str | None = None,
866866
content_type: str | None = None,
867867
build: str | None = None,
868-
max_items: int | None = None,
869868
max_total_charge_usd: Decimal | None = None,
870869
restart_on_error: bool | None = None,
871870
memory_mbytes: int | None = None,
@@ -885,8 +884,6 @@ async def start(
885884
content_type: The content type of the input.
886885
build: Specifies the Actor build to run. It can be either a build tag or build number. By default,
887886
the run uses the build specified in the default run configuration for the Actor (typically latest).
888-
max_items: Maximum number of results that will be returned by this run. If the Actor is charged
889-
per result, you will not be charged for more results than the given limit.
890887
max_total_charge_usd: A limit on the total charged amount for pay-per-event Actors.
891888
restart_on_error: If true, the Actor run process will be restarted whenever it exits with
892889
a non-zero status code.
@@ -936,7 +933,6 @@ async def start(
936933
run_input=run_input,
937934
content_type=content_type,
938935
build=build,
939-
max_items=max_items,
940936
max_total_charge_usd=max_total_charge_usd,
941937
restart_on_error=restart_on_error,
942938
memory_mbytes=memory_mbytes,
@@ -990,7 +986,6 @@ async def call(
990986
token: str | None = None,
991987
content_type: str | None = None,
992988
build: str | None = None,
993-
max_items: int | None = None,
994989
max_total_charge_usd: Decimal | None = None,
995990
restart_on_error: bool | None = None,
996991
memory_mbytes: int | None = None,
@@ -1011,8 +1006,6 @@ async def call(
10111006
content_type: The content type of the input.
10121007
build: Specifies the Actor build to run. It can be either a build tag or build number. By default,
10131008
the run uses the build specified in the default run configuration for the Actor (typically latest).
1014-
max_items: Maximum number of results that will be returned by this run. If the Actor is charged
1015-
per result, you will not be charged for more results than the given limit.
10161009
max_total_charge_usd: A limit on the total charged amount for pay-per-event Actors.
10171010
restart_on_error: If true, the Actor run process will be restarted whenever it exits with
10181011
a non-zero status code.
@@ -1066,7 +1059,6 @@ async def call(
10661059
run_input=run_input,
10671060
content_type=content_type,
10681061
build=build,
1069-
max_items=max_items,
10701062
max_total_charge_usd=max_total_charge_usd,
10711063
restart_on_error=restart_on_error,
10721064
memory_mbytes=memory_mbytes,
@@ -1086,7 +1078,6 @@ async def call_task(
10861078
task_input: dict | None = None,
10871079
*,
10881080
build: str | None = None,
1089-
max_items: int | None = None,
10901081
restart_on_error: bool | None = None,
10911082
memory_mbytes: int | None = None,
10921083
timeout: timedelta | None | Literal['inherit'] = None,
@@ -1108,8 +1099,6 @@ async def call_task(
11081099
content_type: The content type of the input.
11091100
build: Specifies the Actor build to run. It can be either a build tag or build number. By default,
11101101
the run uses the build specified in the default run configuration for the Actor (typically latest).
1111-
max_items: Maximum number of results that will be returned by this run. If the Actor is charged
1112-
per result, you will not be charged for more results than the given limit.
11131102
restart_on_error: If true, the Task run process will be restarted whenever it exits with
11141103
a non-zero status code.
11151104
memory_mbytes: Memory limit for the run, in megabytes. By default, the run uses a memory limit specified
@@ -1147,7 +1136,6 @@ async def call_task(
11471136
api_result = await client.task(task_id).call(
11481137
task_input=task_input,
11491138
build=build,
1150-
max_items=max_items,
11511139
restart_on_error=restart_on_error,
11521140
memory_mbytes=memory_mbytes,
11531141
timeout_secs=int(task_call_timeout.total_seconds()) if task_call_timeout is not None else None,

0 commit comments

Comments
 (0)