def make_features_dicts(all_features: dict, feat_list: list) -> dict:
    """Takes a dict of all features and a list of strings with all desired features
    and returns a dict with these features.

    ----------
    all_features
        dictionary of all available features and their possible values
    feat_list
        list of feature names to be filtered for

    Returns
    -------
    dict
        filtered features dictionary

    """
    return {x: all_features[x] for x in feat_list}