ServiceLocator
Index
Methods
__init__
Returns None
get_configuration
Get the configuration.
Returns Configuration
get_event_manager
Get the event manager.
Returns EventManager
get_storage_client
Get the storage client.
Returns StorageClient
set_configuration
Set the configuration.
Parameters
configuration: Configuration
The configuration to set.
Returns None
set_event_manager
Set the event manager.
Parameters
event_manager: EventManager
The event manager to set.
Returns None
set_storage_client
Set the storage client.
Parameters
storage_client: StorageClient
The storage client to set.
Returns None
Service locator for managing the services used by Crawlee.
All services are initialized to its default value lazily.