def remove_kwargs(remove_list, **kwargs):
    """Remove items from kwargs dict that may cause conflict with successive function calls"""
    # return {k: v for k, v in kwargs.items() if k not in remove_list}  # This iterates the entire dict
    for item in remove_list:  # This just iterates the remove_list
        _ = kwargs.pop(item, None)
    return kwargs