#This file is part of Tryton & Nereid. The COPYRIGHT file at the top level of
#this repository contains the full copyright notices and license terms.
from flask.ctx import (_RequestGlobals, RequestContext as  # noqa
    RequestContextBase)
from flask.ctx import has_request_context  # noqa


class RequestContext(RequestContextBase):
    """
    The request context contains all request relevant information.  It is
    created at the beginning of the request and pushed to the
    `_request_ctx_stack` and removed at the end of it.  It will create the
    URL adapter and request object for the WSGI environment provided.
    """

    def __init__(self, app, environ):
        super(RequestContext, self).__init__(app, environ)
        self.transaction = None
        self.cache = app.cache

@@ -168,26 +168,8 @@
 port
- (_RequestGlobals,
  Req
@@ -187,20 +187,8 @@
  as 
- # noqa%0A    
 Requ
@@ -201,17 +201,16 @@
 textBase
-)
 %0Afrom fl

Remove _RequestGlobals #2656