def lookups_as_text(self): return '%s (%s items)' % (utils.to_units( self.contains_requests), utils.to_units(self.contains_lookups))
def uploads_as_text(self): return '%s (%sb)' % (utils.to_units( self.uploads), utils.to_units(self.uploads_bytes))
def requests_as_text(self): return '%s (%s failed)' % (utils.to_units( self.requests), utils.to_units(self.failures))
def lookups_as_text(self): return '%s (%s items)' % ( utils.to_units(self.contains_requests), utils.to_units(self.contains_lookups))
def uploads_as_text(self): return '%s (%sb)' % ( utils.to_units(self.uploads), utils.to_units(self.uploads_bytes))
def requests_as_text(self): return '%s (%s failed)' % ( utils.to_units(self.requests), utils.to_units(self.failures))