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
- 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
- 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
get_global_configuration
Retrieve the global instance of the configuration.
Mostly for the backwards compatibility. It is recommended to use the
service_locator.get_configuration()
instead.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.