def billed_ops_to_str(billed_ops_list):
 ops_as_strs = []
 for op in billed_ops_list:
  op_name = datamodel_pb.BilledOpProto.BilledOp_Name(op.op())
  ops_as_strs.append(('%s:%s' % (op_name, op.num_ops())))
 return ', '.join(ops_as_strs)

def billed_ops_to_str ( billed_ops_list ) : ops_as_strs = [ ] for op in billed_ops_list : op_name = datamodel_pb . BilledOpProto . BilledOp_Name ( op . op ( ) ) ops_as_strs . append ( ( '%s:%s' % ( op_name , op . num_ops ( ) ) ) ) return ', ' . join ( ops_as_strs )
formats a list of billedopprotos for display in the appstats ui .