code: def action(
          self,
          intent_name,
          is_fallback=False,
          mapping={},
          convert={},
          default={},
          with_context=[],
          events=[],
          *args,
          **kw
      ):
          
  
          def decorator(f):
              action_funcs = self._intent_action_funcs.get(intent_name, [])
              action_funcs.append(f)
              self._intent_action_funcs[intent_name] = action_funcs
  
              self._intent_mappings[intent_name] = mapping
              self._intent_converts[intent_name] = convert
              self._intent_defaults[intent_name] = default
              self._intent_fallbacks[intent_name] = is_fallback
              self._intent_events[intent_name] = events
              self._register_context_to_func(intent_name, with_context)
  
              @wraps(f)
              def wrapper(*args, **kw):
                  self._flask_assitant_view_func(*args, **kw)
  
              return f
  
          return decorator
docs: Decorates an intent_name's Action view function.
  
              The wrapped function is called when a request with the
              given intent_name is recieved along with all required parameters.