def select(table, key='default'):
    """Select dialect


    :param key: a key for your dabtabase you wanna use
    """
    database = choice(__db[key + '.slave'])
    return database.select(table)
def select ( table , key = 'default' ) : database = choice ( __db [ key + '.slave' ] ) return database . select ( table )
Select dialect


    :param key: a key for your dabtabase you wanna use