from typing import Dict
from pathlib import Path
import json


def get_config() -> Dict:
    """Load config file from disk as python dict and return it. File is
    expected to exist on the same path as this source file.
    """
    with open(
        Path(Path(__file__).parent, "config.json").resolve(),
        "r",
    ) as json_file:
        return json.load(json_file)