from typing import Dict
from typing import Any
from typing import List


def form_mapping_using_dictionary(label_bundles: Dict[Any, List[Any]]) -> Dict[Any, Any]:
    """
    Forming a mapping using a dictionary can take place by using this function.
    
    label_bundles: the bundles, like: "parent": ["child1", "child2", ... ]
    
    Returns
    ----------
    The output which is a mapping of type `Dict[Any, Any]` can be used as `f[x]=y` later on.
    """
    mapping = dict()
    for target, list_of_labels in label_bundles.items():
        for label in list_of_labels:
            mapping[label] = target
        mapping[target] = target
    return mapping