def forward_method_kwargs(**kwargs) -> dict:
    """Return all the keyword-arguments of a method, excluding the 'self' argument"""
    retval = {}
    for key, value in kwargs.items():
        if key == 'self' or key.startswith('_'):
            continue 
        elif key == 'kwargs':
            retval.update(value)
        else:
            retval[key] = value
    return retval