'Find and call local method.'

def dispatch(self, *args, **kwargs):

    action = kwargs.pop('action', 'default')
    action_method = getattr(self, six.text_type(action), self.default)
    return action_method(*args, **kwargs)
