Did I find the right examples for you? yes no

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

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_response(self, request, response):
        """Called by Django just before returning a response."""
        #rec = recorder_proxy.get_for_current_request()
        #self.record_appstats(rec)
        end_recording(response.status_code, self.record_appstats)

src/t/o/tornado_tracing-HEAD/tornado_tracing/recording.py   tornado_tracing(Download)
            with StackContext(transfer_recorder):
                super(RecordingFallbackHandler, self).prepare()
            recording.end_recording(self._status_code)
        else:
            super(RecordingFallbackHandler, self).prepare()