parameters: (self)
return_statement: return view_func(**req.view_args)
docstring: Modified version of Flask.dispatch_request to call process_view.
docstring_summary: Modified version of Flask.dispatch_request to call process_view.
docstring_tokens: Modified version of Flask . dispatch_request to call process_view .
function: def dispatch_request(self):
          """Modified version of Flask.dispatch_request to call process_view."""
          req = _request_ctx_stack.top.request
          app = current_app
  
          if req.routing_exception is not None:
              app.raise_routing_exception(req)
  
          rule = req.url_rule
  
          # if we provide automatic options for this URL and the
          # request came with the OPTIONS method, reply automatically
          if getattr(rule, 'provide_automatic_options', False) \
             and req.method == 'OPTIONS':
              return app.make_default_options_response()
  
          # otherwise dispatch to the handler for that endpoint
          view_func = app.view_functions[rule.endpoint]
          view_func = self.process_view(app, view_func, req.view_args)
  
          return view_func(**req.view_args)
function_tokens: def dispatch_request ( self ) : req = _request_ctx_stack . top . request app = current_app if req . routing_exception is not None : app . raise_routing_exception ( req ) rule = req . url_rule # if we provide automatic options for this URL and the # request came with the OPTIONS method, reply automatically if getattr ( rule , 'provide_automatic_options' , False ) and req . method == 'OPTIONS' : return app . make_default_options_response ( ) # otherwise dispatch to the handler for that endpoint view_func = app . view_functions [ rule . endpoint ] view_func = self . process_view ( app , view_func , req . view_args ) return view_func ( * * req . view_args )