diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-01-13 20:00:25 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-01-13 20:00:25 +0000 |
commit | 2d65e9772d9b96d0392e253e5fb9433e71e18393 (patch) | |
tree | 44e26df71ac6be95bc5e60ed97ef8ecacb3c0ca5 /examples/beaker_caching/model.py | |
parent | db4af57e206b059a8d3e78a971834982fa8aa062 (diff) | |
download | sqlalchemy-2d65e9772d9b96d0392e253e5fb9433e71e18393.tar.gz |
add more examples, start basic
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)]) |