def METHOD_NAME(session):
    """Get the config dict
    :return: Replaced dict
    :rtype: `dict`
    """
    config_dict = {}
    config_list = session.query(Config.key, Config.value).all()
    for key, value in config_list:  # Need a dict
        config_dict[key] = value
    return config_dict