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 BaseStorageClient
set_configuration
Set the configuration.
Parameters
optionalkeyword-onlyconfiguration: Configuration
The configuration to set.
Returns None
set_event_manager
Set the event manager.
Parameters
optionalkeyword-onlyevent_manager: EventManager
The event manager to set.
Returns None
set_storage_client
Set the storage client.
Parameters
optionalkeyword-onlystorage_client: BaseStorageClient
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.