@staticmethod
    def get_request():
        try:
            return GlobalRequest._requests[current_thread()]
        except __HOLE__:
            return FakeRequest()
dataset/ETHPy150Open opps/opps/opps/contrib/middleware/global_request.py/GlobalRequest.get_request