2025-04-12 01:37:45 +02:00
|
|
|
from flask.cli import load_dotenv
|
|
|
|
|
|
|
|
|
|
|
|
class Config:
|
|
|
|
"""
|
|
|
|
Configuration manager for the Julius Baer API client.
|
|
|
|
|
|
|
|
Reads configuration from a YAML file and overrides values
|
|
|
|
with environment variables when available.
|
|
|
|
"""
|
|
|
|
|
2025-04-12 01:49:07 +02:00
|
|
|
def __init__(self):
|
2025-04-12 01:37:45 +02:00
|
|
|
"""
|
|
|
|
Initialize the configuration manager.
|
|
|
|
|
|
|
|
Args:
|
|
|
|
config_file_path: Path to the YAML configuration file. Defaults to "config.yaml".
|
|
|
|
"""
|
|
|
|
load_dotenv()
|