from typing import Dict
from typing import Any
from typing import Mapping


def merge_dictionaries(*args: Dict[Any,Any]) -> Dict[Any,Any]:
    """
    This is easily done in python 3.9 with dict1|dict2, however for 3.8- we need this.
    """
    for arg in args:
        if(not isinstance(arg,Mapping)):
            raise ValueError(f"Only dictionary-like objects can be merged together. Provided were {args}")
    result = {}
    for dictionary in args:
        result.update(dictionary)
    return result