docs: def append_get_parameters(accept_only_web=True):
      # type: (bool) -> Callable
      """
      Task decorator which appends the GET data to the task data.
  
      :param accept_only_web: Parameter which limits using this task only
                              with web requests.
      """
  
      def wrapper(f):
  
          @wraps(f)
          def append_get_parameters_wrapper_fn(*args, **kwargs):
              jc = JobContext.get_current_context()
  
              if isinstance(jc, WebJobContext):
                  # Update the data with GET parameters
                  web_request = jc.get_web_request()
                  task_data = _get_data_from_args(args)
                  data = task_data.get_data()
                  data.update(web_request.args.to_dict(flat=True))
              elif accept_only_web:
                  # Raise exception on non web usage if necessary
                  raise Exception("append_get_parameters decorator may be used "
                                  "with GET requests only.")
  
              return f(*args, **kwargs)
  
          return append_get_parameters_wrapper_fn
  
      return wrapper