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

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

src/b/n/bnw-HEAD/bnw/web/site.py   bnw(Download)
import bnw.core.base
from bnw.core.bnw_mongo import get_db
from bnw.core.bnw_gridfs import get_fs
from bnw.handlers.command_show import cmd_feed, cmd_today
from bnw.handlers.command_clubs import cmd_clubs, cmd_tags
            av_id = user['avatar'][0]
            mimetype = user['avatar'][1]
        fs = yield get_fs('avatars')
        # воркэраунд недопила в txmongo. TODO: зарепортить или починить
        doc = yield fs._GridFS__files.find_one({'_id': av_id})