diff options
Diffstat (limited to 'examples/beaker_caching/model.py')
-rw-r--r-- | examples/beaker_caching/model.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/beaker_caching/model.py b/examples/beaker_caching/model.py index 25ce162fc..4c043b42b 100644 --- a/examples/beaker_caching/model.py +++ b/examples/beaker_caching/model.py @@ -86,6 +86,9 @@ class Person(Base): def __str__(self): return self.name + def __repr__(self): + return "Person(name=%r)" % self.name + def format_full(self): return "\t".join([str(x) for x in [self] + list(self.addresses)]) |