Configuration
Index
Methods
Properties
- actor_build_id
- actor_build_number
- actor_build_tags
- actor_events_ws_url
- actor_full_name
- actor_id
- actor_run_id
- actor_task_id
- api_base_url
- api_public_base_url
- dedicated_cpus
- default_dataset_id
- default_key_value_store_id
- default_request_queue_id
- disable_outdated_warning
- fact
- input_key
- input_secrets_private_key_file
- input_secrets_private_key_passphrase
- is_at_home
- latest_sdk_version
- log_format
- max_paid_dataset_items
- max_total_charge_usd
- meta_origin
- metamorph_after_sleep
- proxy_hostname
- proxy_password
- proxy_port
- proxy_status_url
- standby_port
- standby_url
- started_at
- test_pay_per_event
- timeout_at
- token
- user_id
- user_is_paying
- web_server_port
- web_server_url
- workflow_key
Methods
disable_browser_sandbox_on_platform
Disable the browser sandbox mode when running on the Apify platform.
Running in environment where
is_at_home
is True does not benefit from browser sandbox as it is already running in a container. It can be on the contrary undesired as the process in the container might be running as root and this will crash chromium that was started with browser sandbox mode.Returns Self
from_configuration
Create Apify Configuration from existing Crawlee Configuration.
Parameters
configuration: CrawleeConfiguration
The existing Crawlee Configuration.
Returns Configuration
get_global_configuration
Retrieve the global instance of the configuration.
This method ensures that ApifyConfigration is returned, even if CrawleeConfiguration was set in the service locator.
Returns Configuration
A class for specifying the configuration of an Actor.
Can be used either globally via
Configuration.get_global_configuration()
, or it can be specific to eachActor
instance on theactor.config
property.