Пример #1
0
 def _time_request(self, url, method, **kwargs):
     with utils.record_time(self.times, self.timings, method, url):
         body = self.request(url, method, **kwargs)
     return body
Пример #2
0
 def _time_request(self, url, method, **kwargs):
     with utils.record_time(self.times, self.timings, method, url):
         body = self.request(url, method, **kwargs)
     return body