Ejemplo n.º 1
0
 def __repr__(self):
     out = ""
     columns = self.__producer__.columns
     if columns:
         table = TextTable(columns, border=True)
         table.append([getattr(self, column) for column in columns])
         out = repr(table)
     return out
Ejemplo n.º 2
0
 def __repr__(self):
     out = ""
     columns = self.__producer__.columns
     if columns:
         table = TextTable(columns, border=True)
         table.append([getattr(self, column) for column in columns])
         out = repr(table)
     return out
Ejemplo n.º 3
0
 def __repr__(self):
     out = ""
     if self.columns:
         table = TextTable([None] + self.columns, border=True)
         for i, record in enumerate(self.records):
             table.append([i + 1] + list(record))
         out = repr(table)
     return out
Ejemplo n.º 4
0
 def __repr__(self):
     out = ""
     if self.columns:
         table = TextTable([None] + self.columns, border=True)
         for i, record in enumerate(self.records):
             table.append([i + 1] + list(record))
         out = repr(table)
     return out