MCPcopy Create free account
hub / github.com/apify/crawlee-python / get_configuration

Method get_configuration

src/crawlee/_service_locator.py:38–44  ·  view source on GitHub ↗

Get the configuration.

(self)

Source from the content-addressed store, hash-verified

36 self._storage_client = storage_client
37
38 def get_configuration(self) -> Configuration:
39 """Get the configuration."""
40 if self._configuration is None:
41 logger.debug('No configuration set, implicitly creating and using default Configuration.')
42 self._configuration = Configuration()
43
44 return self._configuration
45
46 def set_configuration(self, configuration: Configuration) -> None:
47 """Set the configuration.

Callers 15

get_configured_log_levelFunction · 0.80
__init__Method · 0.80
__init__Method · 0.80
openMethod · 0.80
openMethod · 0.80
purgeMethod · 0.80
openMethod · 0.80
from_configMethod · 0.80
__init__Method · 0.80
get_request_managerMethod · 0.80

Calls 1

ConfigurationClass · 0.90