from typing import Dict
from typing import Callable


def transform(data: Dict, *modifiers: Callable[[Dict], None]) -> Dict:
    """
    Generic functions that allows to generate new dictionary
    by applying any number of modifications on the input dictionary

    :param data: original dictionary
    :param modifiers:  functions to apply on the dictionary
    :return: generated dictionary
    """
    for modify in modifiers:
        modify(data)
    return data