@@ -118,7 +118,7 @@ def __init__(
118118 configuration: The Actor configuration to use. If not provided, a default configuration is created.
119119 configure_logging: Whether to set up the default logging configuration.
120120 exit_process: Whether the Actor should call `sys.exit` when the context manager exits.
121- Defaults to True, except in IPython, Pytest, and Scrapy environments.
121+ Defaults to True, except in IPython and Scrapy environments.
122122 exit_code: The exit code the Actor should use when exiting.
123123 status_message: Final status message to display upon Actor termination.
124124 event_listeners_timeout: Maximum time to wait for Actor event listeners to complete before exiting.
@@ -912,7 +912,7 @@ async def start(
912912 a non-zero status code.
913913 memory_mbytes: Memory limit for the run, in megabytes. By default, the run uses a memory limit specified
914914 in the default run configuration for the Actor.
915- timeout: Optional timeout for the run, in seconds . By default, the run uses timeout specified in
915+ timeout: Optional timeout for the run. By default, the run uses timeout specified in
916916 the default run configuration for the Actor. Using `inherit` will set timeout of the other Actor
917917 to the time remaining from this Actor timeout.
918918 force_permission_level: Override the Actor's permissions for this run. If not set, the Actor will run
@@ -1019,7 +1019,7 @@ async def call(
10191019 a non-zero status code.
10201020 memory_mbytes: Memory limit for the run, in megabytes. By default, the run uses a memory limit specified
10211021 in the default run configuration for the Actor.
1022- timeout: Optional timeout for the run, in seconds . By default, the run uses timeout specified in
1022+ timeout: Optional timeout for the run. By default, the run uses timeout specified in
10231023 the default run configuration for the Actor. Using `inherit` will set timeout of the other Actor
10241024 to the time remaining from this Actor timeout.
10251025 force_permission_level: Override the Actor's permissions for this run. If not set, the Actor will run
@@ -1088,17 +1088,16 @@ async def call_task(
10881088 directly rather than an Actor task, please use the `Actor.call`
10891089
10901090 Args:
1091- task_id: The ID of the Actor to be run.
1091+ task_id: The ID of the Actor task to be run.
10921092 task_input: Overrides the input to pass to the Actor run.
10931093 token: The Apify API token to use for this request (defaults to the `APIFY_TOKEN` environment variable).
1094- content_type: The content type of the input.
10951094 build: Specifies the Actor build to run. It can be either a build tag or build number. By default,
10961095 the run uses the build specified in the default run configuration for the Actor (typically latest).
10971096 restart_on_error: If true, the Task run process will be restarted whenever it exits with
10981097 a non-zero status code.
10991098 memory_mbytes: Memory limit for the run, in megabytes. By default, the run uses a memory limit specified
11001099 in the default run configuration for the Actor.
1101- timeout: Optional timeout for the run, in seconds . By default, the run uses timeout specified in
1100+ timeout: Optional timeout for the run. By default, the run uses timeout specified in
11021101 the default run configuration for the Actor. Using `inherit` will set timeout of the other Actor to the
11031102 time remaining from this Actor timeout.
11041103 webhooks: Optional webhooks (https://docs.apify.com/webhooks) associated with the Actor run, which can
@@ -1217,7 +1216,7 @@ async def reboot(
12171216 # Call all the listeners for the PERSIST_STATE and MIGRATING events, and wait for them to finish.
12181217 # PERSIST_STATE listeners are called to allow the Actor to persist its state before the reboot.
12191218 # MIGRATING listeners are called to allow the Actor to gracefully stop in-progress tasks before
1220- # the reboot. Typically, crawlers are listening for the MIIGRATING event to stop processing new requests.
1219+ # the reboot. Typically, crawlers are listening for the MIGRATING event to stop processing new requests.
12211220 # We can't just emit the events and wait for all listeners to finish,
12221221 # because this method might be called from an event listener itself, and we would deadlock.
12231222 persist_state_listeners = flatten (
0 commit comments