def merge_dicts(*dict_args):
    """Merge dictionaries from dict_args.

    When same keys present the last dictionary in args list has the highest priority.

    Args:
        dict_args(tuple(dict))

    Returns:
        dict: merged dictionary

    """
    result = {}
    for d in dict_args:
        result.update(d)
    return result