code: def get_kwargs(kwargs):
      
      return {
          key: value for key, value in six.iteritems(kwargs)
          if key != 'self'
      }
docs: Get all keys and values from dictionary where key is not `self`.
  
      :param dict kwargs: Input parameters