import yaml def load_config(): with open('./config/database_config.yaml') as file: config = yaml.safe_load(file) return config