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

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

src/b/n/bnw-HEAD/bnw/core/bnw_objects.py   bnw(Download)
# -*- coding: utf-8 -*-
from bnw_mongo import get_db #, mongo_errors
from bnw.xmpp.base import send_plain
from base import notifiers, config
# from bnw.xmpp import deliver_formatters
    def __getattr__(self, db_method):
        if self.collection is None:
            self.collection = get_db(self.collection_name)
        method = getattr(self.collection, db_method)
        def fn(*args, **kwargs):

src/b/n/bnw-HEAD/bnw/core/bnw_gridfs.py   bnw(Download)
import motor
 
from bnw_mongo import get_db
from bnw_objects import fudef