70d3aa1b8c12d614f2ca1b1b550bb605d8c8a506,debug_toolbar/middleware.py,DebugToolbarMiddleware,process_request,#DebugToolbarMiddleware#,60
Before Change
if self.show_toolbar(request):
toolbar = DebugToolbar(request)
for panel in toolbar.panels:
panel.enabled = panel.dom_id() not in request.COOKIES
if not panel.enabled:
continue
panel.enable_instrumentation()
panel.process_request(request)
self.__class__.debug_toolbars[threading.current_thread().ident] = toolbar
After Change
def process_request(self, request):
__traceback_hide__ = True // noqa
if not self.show_toolbar(request):
return
response = None
toolbar = DebugToolbar(request)
for panel in toolbar.enabled_panels:
panel.enable_instrumentation()
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
Project Name: jazzband/django-debug-toolbar
Commit Name: 70d3aa1b8c12d614f2ca1b1b550bb605d8c8a506
Time: 2013-11-15
Author: aymeric.augustin@m4x.org
File Name: debug_toolbar/middleware.py
Class Name: DebugToolbarMiddleware
Method Name: process_request
Project Name: google/language-resources
Commit Name: cb86068c8b304e61d2591cf435bff1fa37fd4100
Time: 2016-06-13
Author: mjansche@google.com
File Name: my/text_to_symbols.py
Class Name:
Method Name: TextToSymbols
Project Name: sepandhaghighi/pycm
Commit Name: 07f762a32e0cfc0cb335ae9e4c6de041959a57f9
Time: 2020-09-04
Author: sabouri.sadra@gmail.com
File Name: pycm/pycm_obj.py
Class Name: ConfusionMatrix
Method Name: average
Project Name: chartbeat-labs/textacy
Commit Name: eaaf2bad32af4bda1a98d434530926bb6a001230
Time: 2019-08-23
Author: burtdewilde@gmail.com
File Name: textacy/augmentation/transformations.py
Class Name:
Method Name: insert_synonyms