from typing import Dict
from typing import Any
from pathlib import Path


def get_history_dir(config: Dict[str, Any]) -> Path:
    """
    Return the directory where all the runs are stored.
    :param config: config file
    :return: path to folder
    """
    folder = config["history_data_dir"]
    return folder