def parse_files(self, req, name, field):
        files = ((k, v) for k, v in req.POST.items() if hasattr(v, 'file'))
        return core.get_value(webob.multidict.MultiDict(files), name, field)
Pull a file from the request.
dataset/ETHPy150Open sloria/webargs/webargs/webapp2parser.py/Webapp2Parser.parse_files