add __repr__ method to Table
This commit is contained in:
parent
682b90cb6e
commit
5b162feea7
@ -407,3 +407,6 @@ class Table(object):
|
||||
print(row)
|
||||
"""
|
||||
return self.all()
|
||||
|
||||
def __repr__(self):
|
||||
return '<Table(%s)>' % self.table.name
|
||||
|
||||
Loading…
Reference in New Issue
Block a user