def get_args(kwargs):
    """
    Return keyword arguments while removing `self`

    Parameters
    ----------
    kwargs : dict
        The keyword arguments dictionary

    Returns
    -------
    dict

    """
    kwargs = dict(kwargs)
    kwargs.pop('self', None)
    return kwargs
