Did I find the right examples for you? yes no

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/g/a/gaeicious-HEAD/app/admin.py   gaeicious(Download)
def activity_digest(uik):
    bmq = Bookmarks.query(Bookmarks.stato == 'inbox',
                          Bookmarks.data > util.hours_ago(6),
                          ancestor=uik)
    email = uik.get().email
def cron_trash(uik, cursor=None):
    from google.appengine.ext.ndb import put_multi
    bmq = Bookmarks.query(Bookmarks.data < util.hours_ago(72),
                          Bookmarks.stato == 'trash', ancestor=uik)
    bms, cur, more = bmq.fetch_page(50, start_cursor=cursor)

src/g/a/gaeicious-HEAD/app/main.py   gaeicious(Download)
    def get(self):
        feed = Feeds.get_by_id(int(self.request.get('feed')))
        if feed.data < util.hours_ago(120):
            feed.last_id = ''
            feed.put()