Skip to content

Commit ef982b5

Browse files
committed
fix: move restart_on_error to the end in task representation function
1 parent 00260e9 commit ef982b5

File tree

1 file changed

+1
-1
lines changed
  • src/apify_client/clients/resource_clients

1 file changed

+1
-1
lines changed

src/apify_client/clients/resource_clients/task.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ def get_task_representation(
3232
max_items: int | None = None,
3333
memory_mbytes: int | None = None,
3434
timeout_secs: int | None = None,
35-
restart_on_error: bool | None = None,
3635
title: str | None = None,
3736
actor_standby_desired_requests_per_actor_run: int | None = None,
3837
actor_standby_max_requests_per_actor_run: int | None = None,
3938
actor_standby_idle_timeout_secs: int | None = None,
4039
actor_standby_build: str | None = None,
4140
actor_standby_memory_mbytes: int | None = None,
41+
restart_on_error: bool | None = None,
4242
) -> dict:
4343
"""Get the dictionary representation of a task."""
4444
return {

0 commit comments

Comments
 (0)