def append_get_parameters(accept_only_web=True):<EOL>
def wrapper(f):<EOL><INDENT>@wraps(f)<EOL>def append_get_parameters_wrapper_fn(*args, **kwargs):<EOL><INDENT>jc = JobContext.get_current_context()<EOL>if isinstance(jc, WebJobContext):<EOL><INDENT>web_request = jc.get_web_request()<EOL>task_data = _get_data_from_args(args)<EOL>data = task_data.get_data()<EOL>data.update(web_request.args.to_dict(flat=True))<EOL><DEDENT>elif accept_only_web:<EOL><INDENT>raise Exception("<STR_LIT>"<EOL>"<STR_LIT>")<EOL><DEDENT>return f(*args, **kwargs)<EOL><DEDENT>return append_get_parameters_wrapper_fn<EOL><DEDENT>return wrapper<EOL>
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.