Did I find the right examples for you? yes no

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)

src/t/o/tornado_tracing-HEAD/tornado_tracing/recording.py   tornado_tracing(Download)
    def prepare(self):
        if options.enable_appstats:
            recording.start_recording(
              tornado.wsgi.WSGIContainer.environ(self.request))
            recorder = save()

src/g/a/gae_django-HEAD/toolbar/panel.py   gae_django(Download)
from debug_toolbar.panels import DebugPanel
from google.appengine.ext.appstats.recording import start_recording,\
    end_recording, recorder_proxy
import logging
 
    def process_request(self, request):
        """Called by Django before deciding which view to execute."""
        start_recording()
 
    def process_response(self, request, response):