def file_upload(f):
@wraps(f)<EOL>def file_upload_decorator(*args, **kwargs):<EOL><INDENT>task_data = _get_data_from_args(args)<EOL>if task_data is None:<EOL><INDENT>logging.error("<STR_LIT>")<EOL><DEDENT>task_data.transform_payload(lambda _: request.files.getlist('<STR_LIT:file>'))<EOL>return f(*args, **kwargs)<EOL><DEDENT>return file_upload_decorator<EOL>
Return list of `werkzeug.datastructures.FileStorage` objects - files to be
uploaded