constants.py 912 Bytes
Newer Older
崔为之's avatar
崔为之 committed
1 2 3 4 5 6 7 8 9 10 11 12
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
# @Version     : Python 3.11.4
# @Software    : Sublime Text 4
# @Author      : StudentCWZ
# @Email       : StudentCWZ@outlook.com
# @Date        : 2023/11/4 15:08
# @File        : constants.py
# @Description :
"""

崔为之's avatar
崔为之 committed
13 14 15

# DEFAULT_CONFIG defines the path to the default configuration file.
# This path will be used if the configuration file is not explicitly specified by the environment variables.
崔为之's avatar
崔为之 committed
16 17
DEFAULT_CONFIG = 'config.yaml'

崔为之's avatar
崔为之 committed
18 19 20
# ENV_CONFIG_MAP is a dictionary that maps different environments to their respective configuration file paths.
# The key is the environment name, and the value is the path to the configuration file for that environment.
# If additional environments are necessary, they can be added here.
崔为之's avatar
崔为之 committed
21 22 23 24 25
ENV_CONFIG_MAP = {
    'PRODUCTION': 'production_config.yaml',
    'DEVELOPMENT': 'config.yaml',
    # Add more environments here if necessary
}