code: def dispatch(self, *args, **kwargs):
          
          action = kwargs.pop('action', 'default')
          action_method = getattr(self, str(action), self.default)
          return action_method(*args, **kwargs)
docs: Find and call local method.