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_stat.py   bnw(Download)
def cmd_stat(request):
    messages = list(x.doc for x in (yield objs.StatMessages.find({},limit=100000)))
    comments = list(x.doc for x in (yield objs.StatComments.find({},limit=100000)))
    defer.returnValue(dict(ok=True, desc='Oh, hai!', messages=messages,
                      comments=comments, cache=3600, cache_public=True))