Mercurial > hg > Feedworm
view FeedEntry.py @ 5:bfd47f55d85b
add the updated date of the feed
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Mon, 26 Apr 2010 20:46:37 +0200 |
parents | e0199f383442 |
children | 87317ba41816 |
line wrap: on
line source
class FeedEntry(object): @staticmethod def findById(id, session): result = session.query(FeedEntry).filter(FeedEntry.id == id) return result.first() def __init__(self): pass def __repr__(self): return "<FeedEntry (%d) %s>" % (self.pk, self.link)