import configparser def load_config(path: str) -> configparser.ConfigParser: config = configparser.ConfigParser() config.read(path) return config