def merge_dictionaries(*args) ->dict:
    """Shallow merge dictionaries provided as arg

    Args:
        *args:

    Returns:
        dict: new instances of merged dictionaries
    """
    res = {}
    for arg in args:
        if arg is None or not isinstance(arg, dict):
            continue
        res.update(arg)
    return res
