code: def prompt_for(self, next_param, intent_name):
          
  
          def decorator(f):
              prompts = self._intent_prompts.get(intent_name)
              if prompts:
                  prompts[next_param] = f
              else:
                  self._intent_prompts[intent_name] = {}
                  self._intent_prompts[intent_name][next_param] = f
  
              @wraps(f)
              def wrapper(*args, **kw):
                  self._flask_assitant_view_func(*args, **kw)
  
              return f
  
          return decorator
docs: Decorates a function to prompt for an action's required parameter.
  
          The wrapped function is called if next_param was not recieved with the given intent's
          request and is required for the fulfillment of the intent's action.
  
          Arguments:
              next_param {str} -- name of the parameter required for action function
              intent_name {str} -- name of the intent the dependent action belongs to