Did I find the right examples for you? yes no

All Samples(8)  |  Call(8)  |  Derive(0)  |  Import(0)

src/a/p/appscale-HEAD/AppServer/google/appengine/ext/appstats/ui.py   appscale(Download)
      return
 
    recorder = recording.Recorder(os.environ)
    recording.recorder_proxy.set_for_current_request(recorder)
 

src/n/e/neutron-drive-HEAD/google_appengine/google/appengine/ext/appstats/ui.py   neutron-drive(Download)
      return
 
    recorder = recording.Recorder(os.environ)
    recording.recorder_proxy.set_for_current_request(recorder)
 

src/g/o/google-app-engine-HEAD/google/appengine/ext/appstats/ui.py   google-app-engine(Download)
      return
 
    recorder = recording.Recorder(os.environ)
    recording.recorder_proxy.set_for_current_request(recorder)
 

src/g/o/googleappengine-python-HEAD/google/appengine/ext/appstats/ui.py   googleappengine-python(Download)
      return
 
    recorder = recording.Recorder(os.environ)
    recording.recorder_proxy.set_for_current_request(recorder)
 

src/p/y/PyDownTV2-HEAD/Web/flaskext/gae_mini_profiler/profiler.py   PyDownTV2(Download)
            def wrapped_appstats_app(environ, start_response):
                # Use this wrapper to grab the app stats recorder for RequestStats.save()
                self.recorder = recording.Recorder(environ)
                return old_app(environ, start_response)
            self.app = recording.appstats_wsgi_middleware(wrapped_appstats_app)
            result = self.prof.runcall(lambda *args, **kwargs: self.app(environ, profiled_start_response), None, None)
 
            self.recorder = recording.Recorder(environ)
 
            # If we're dealing w/ a generator, profile all of the .next calls as well

src/h/e/healthvis-HEAD/appengine/flaskext/gae_mini_profiler/profiler.py   healthvis(Download)
            def wrapped_appstats_app(environ, start_response):
                # Use this wrapper to grab the app stats recorder for RequestStats.save()
                self.recorder = recording.Recorder(environ)
                return old_app(environ, start_response)
            self.app = recording.appstats_wsgi_middleware(wrapped_appstats_app)
            result = self.prof.runcall(lambda *args, **kwargs: self.app(environ, profiled_start_response), None, None)
 
            self.recorder = recording.Recorder(environ)
 
            # If we're dealing w/ a generator, profile all of the .next calls as well