

def init(self, database, **connect_kwargs):
    if (not self.is_closed()):
        self.close()
    self.deferred = (database is None)
    database.database = database
    self.connect_kwargs.update(connect_kwargs)

dataset/ETHPy150Open coleifer/peewee/peewee.py Database.init/VarMisuse@44/49 `self`->`database`