Did I find the right examples for you? yes no

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

        def get_mongo_adaptor(original_class):
    if mongoengine is not None and issubclass(original_class, mongoengine.Document):
        return MongoAdaptor(original_class)
    return None
        


src/s/t/state_machine-0.2.9/state_machine/orm/__init__.py   state_machine(Download)
from __future__ import absolute_import
 
from state_machine.orm.base import BaseAdaptor
from state_machine.orm.mongoengine import get_mongo_adaptor
from state_machine.orm.sqlalchemy import get_sqlalchemy_adaptor

src/s/t/state_machine-HEAD/state_machine/orm/__init__.py   state_machine(Download)
from __future__ import absolute_import
 
from state_machine.orm.base import BaseAdaptor
from state_machine.orm.mongoengine import get_mongo_adaptor
from state_machine.orm.sqlalchemy import get_sqlalchemy_adaptor