import os from dotenv import load_dotenv load_dotenv() class Config: FILE_UPLOAD_LIMIT = int(os.getenv('FILE_UPLOAD_LIMIT', 200)) EXECUTION_TIME_LIMIT = int(os.getenv('EXECUTION_TIME_LIMIT', 300)) RESOURCE_LIMIT = int(os.getenv('RESOURCE_LIMIT', 1024)) # in MB DATA_DIR = os.getenv('DATA_DIR', './data') CONFIG_FLAG = os.getenv('CONFIG_FLAG', 'default')