class_docstr: Enables adding and parsing of multiple arguments in the context of a single request.
  Ex::
  
      from flask_restplus import RequestParser
  
      parser = RequestParser()
      parser.add_argument('foo')
      parser.add_argument('int_bar', type=int)
      args = parser.parse_args()
  
  :param bool trim: If enabled, trims whitespace on all arguments in this parser
  :param bool bundle_errors: If enabled, do not abort when first error occurs,
      return a dict with the name of the argument and the error message to be
      bundled and return all validation errors
class_docstr_tok: ["Enables","adding","and","parsing","of","multiple","arguments","in","the","context","of","a","single","request",".","Ex",":",":","from","flask_restplus","import","RequestParser","parser","=","RequestParser","(",")","parser.add_argument","(","'foo","'",")","parser.add_argument","(","'int_bar","'",",","type=int",")","args","=","parser.parse_args","(",")",":","param","bool","trim",":","If","enabled",",","trims","whitespace","on","all","arguments","in","this","parser",":","param","bool","bundle_errors",":","If","enabled",",","do","not","abort","when","first","error","occurs",",","return","a","dict","with","the","name","of","the","argument","and","the","error","message","to","be","bundled","and","return","all","validation","errors"]
docstr: Parse all arguments from the provided request and return the results as a ParseResult
  
  :param bool strict: if req includes args not in parser, throw 400 BadRequest exception
  :return: the parsed results as :class:`ParseResult` (or any class defined as :attr:`result_class`)
  :rtype: ParseResult
docstr_tok: ["Parse","all","arguments","from","the","provided","request","and","return","the","results","as","a","ParseResult",":","param","bool","strict",":","if","req","includes","args","not","in","parser",",","throw","400","BadRequest","exception",":","return",":","the","parsed","results","as",":","class",":","`","ParseResult","`","(","or","any","class","defined","as",":","attr",":","`","result_class","`",")",":","rtype",":","ParseResult"]
code: def parse_args(self, req=None, strict=False):
      """
      Parse all arguments from the provided request and return the results as a ParseResult
  
      :param bool strict: if req includes args not in parser, throw 400 BadRequest exception
      :return: the parsed results as :class:`ParseResult` (or any class defined as :attr:`result_class`)
      :rtype: ParseResult
      """
      if req is None:
          req = request
  
      result = self.result_class()
  
      # A record of arguments not yet parsed; as each is found
      # among self.args, it will be popped out
      req.unparsed_arguments = (
          dict(self.argument_class("").source(req)) if strict else {}
      )
      errors = {}
      for arg in self.args:
          value, found = arg.parse(req, self.bundle_errors)
          if isinstance(value, ValueError):
              errors.update(found)
              found = None
          if found or arg.store_missing:
              result[arg.dest or arg.name] = value
      if errors:
          abort(
              HTTPStatus.BAD_REQUEST,
              "Input payload validation failed",
              errors=errors,
          )
  
      if strict and req.unparsed_arguments:
          arguments = ", ".join(req.unparsed_arguments.keys())
          msg = "Unknown arguments: {0}".format(arguments)
          raise exceptions.BadRequest(msg)
  
      return result
  
imports: from __future__ import unicode_literals
  import decimal
  import six
  from copy import deepcopy
  from flask import current_app, request
  from werkzeug.datastructures import MultiDict, FileStorage
  from werkzeug import exceptions
  from .errors import abort, SpecsError
  from .marshalling import marshal
  from .model import Model
  from ._http import HTTPStatus
label_desc: Use image node_id 3 for calling the RequestParser obj's underlying member method code with example usage: obj.parse_args(req, strict) and returns: result