Mercurial > hg > Feedworm
comparison backend/couchdb/FeedEntry.py @ 245:8e73a8ae863f
Fix the docstrings
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Tue, 09 Jun 2015 02:30:55 +0200 |
parents | bb3c851b18b1 |
children |
comparison
equal
deleted
inserted
replaced
244:b46d7fe6390b | 245:8e73a8ae863f |
---|---|
28 timestamp.second] | 28 timestamp.second] |
29 return FeedEntry.view(database, CouchDb.readFeedEntriesByCreateDate(), endkey=end) | 29 return FeedEntry.view(database, CouchDb.readFeedEntriesByCreateDate(), endkey=end) |
30 | 30 |
31 @staticmethod | 31 @staticmethod |
32 def entriesForFeed(feed, database): | 32 def entriesForFeed(feed, database): |
33 ''' the definition of the view makes sure that the entries come out sorted by udpate date ''' | 33 """ the definition of the view makes sure that the entries come out sorted by udpate date """ |
34 viewResults = FeedEntry.view(database, CouchDb.feedEntriesByFeed(), startkey=[feed.id], | 34 viewResults = FeedEntry.view(database, CouchDb.feedEntriesByFeed(), startkey=[feed.id], |
35 endkey=[feed.id, {}]) | 35 endkey=[feed.id, {}]) |
36 return list(viewResults) | 36 return list(viewResults) |
37 | 37 |
38 def markRead(self, database): | 38 def markRead(self, database): |