Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/b/n/bnw-HEAD/bnw/handlers/command_clubs.py   bnw(Download)
        result = yield objs.Message.map_reduce(TAGS_MAP, CLUBS_REDUCE, out='tags')
    if (not rebuild) or result:
        tags = list(x.doc for x in (yield objs.Tag.find_sort({'_id': {'$ne': ''}}, [('value', -1)], limit=20)))
        defer.returnValue(dict(ok=True, format='tags', tags=tags,
                          rebuilt=rebuild, cache=3600, cache_public=True))