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_userinfo.py   bnw(Download)
    messages_count = int((yield objs.Message.count({'user': user})))
    comments_count = int((yield objs.Comment.count({'user': user})))
    characters_stat = yield objs.StatCharacters.find_one({'_id': user})
    characters_count = int(characters_stat['value']) if characters_stat else 0