def __init__(self, con, flavor, is_cursor=False):
        self.is_cursor = is_cursor
        self.con = con
        if flavor is None:
            flavor = 'sqlite'
        if flavor not in ['sqlite', 'mysql']:
            raise NotImplementedError("flavors other than SQLite and MySQL "
                                      "are not supported")
        else:
            self.flavor = flavor
dataset/ETHPy150Open pydata/pandas/pandas/io/sql.py/SQLiteDatabase.__init__/original