Utils
initialize()
Initialize the settings, logger, and search client.
Reads the environment variables from the .env file defined in the Settings class.
Returns:
Type | Description |
---|---|
settings |
|
loguru_logger |
|
search_client |
Source code in src/utils.py
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
|