MONGO = 'MONGO'


class Database(object):

    def __init__(self, app, **kwargs):
        if kwargs.get('type') == MONGO:
            from .databases import MongoDatabase
            self.instance = MongoDatabase(app, **kwargs)

f0462996b120e452533ba8e4bbeb1466944406a6
<mask token>

<mask token>


class Database(object):
    <mask token>

<mask token>


class Database(object):

    def __init__(self, app, **kwargs):
        if kwargs.get('type') == MONGO:
            from .databases import MongoDatabase
            self.instance = MongoDatabase(app, **kwargs)

MONGO = 'MONGO'


class Database(object):

    def __init__(self, app, **kwargs):
        if kwargs.get('type') == MONGO:
            from .databases import MongoDatabase
            self.instance = MongoDatabase(app, **kwargs)
