Add sample request using api client
This commit is contained in:
23
config.py
23
config.py
@ -1,19 +1,8 @@
|
||||
from flask.cli import load_dotenv
|
||||
import os
|
||||
|
||||
from dotenv 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.
|
||||
"""
|
||||
|
||||
def __init__(self):
|
||||
"""
|
||||
Initialize the configuration manager.
|
||||
|
||||
Args:
|
||||
config_file_path: Path to the YAML configuration file. Defaults to "config.yaml".
|
||||
"""
|
||||
load_dotenv()
|
||||
load_dotenv()
|
||||
API_URI = str(os.getenv("API_URI") or "")
|
||||
API_KEY = str(os.getenv("API_KEY") or "")
|
||||
API_TEAM = str(os.getenv("API_TEAM") or "")
|
Reference in New Issue
Block a user