<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_kwargs(kwargs):
 """Get all keys and values from dictionary where key is not `self`. :param dict kwargs: Input parameters """

    return {
        key: value for key, value in six.iteritems(kwargs)
        if key != 'self'
    }