exa.core.environment.load_environment#
- load_environment(env_path=None)#
Load environment configuration from process environment or custom env file.
- Parameters:
env_path (str | None) – Path to the env file to load explicitly. If not provided, values from an auto-discovered
.envfile are loaded without overriding existing process environment variables.- Raises:
FileNotFoundError – If env_path is explicitly provided but the file does not exist.
- Return type: