Example #1
0
 def lookups_as_text(self):
     return '%s (%s items)' % (utils.to_units(
         self.contains_requests), utils.to_units(self.contains_lookups))
Example #2
0
 def uploads_as_text(self):
     return '%s (%sb)' % (utils.to_units(
         self.uploads), utils.to_units(self.uploads_bytes))
Example #3
0
 def requests_as_text(self):
     return '%s (%s failed)' % (utils.to_units(
         self.requests), utils.to_units(self.failures))
Example #4
0
 def lookups_as_text(self):
   return '%s (%s items)' % (
       utils.to_units(self.contains_requests),
       utils.to_units(self.contains_lookups))
Example #5
0
 def uploads_as_text(self):
   return '%s (%sb)' % (
       utils.to_units(self.uploads),
       utils.to_units(self.uploads_bytes))
Example #6
0
 def requests_as_text(self):
   return '%s (%s failed)' % (
     utils.to_units(self.requests),
     utils.to_units(self.failures))