Example #1
0
 def _deco(*args, **kwargs):
     request_started.send_robust(func)
     response = func(*args, **kwargs)
     request_finished.send_robust(func)
     return response
Example #2
0
 def _deco(*args, **kwargs):
     request_started.send_robust(func)
     response = func(*args, **kwargs)
     request_finished.send_robust(func)
     return response