import os basedir = os.path.abspath(os.path.dirname(__file__)) print(f"DEBUG: config {basedir}") class Config(object): SQLALCHEMY_TRACK_MODIFICATIONS = False INIT_LOCATION = '/secrets/config.ini' # this is a test