

def __enter__(self):
    self._orig = []
    for model in self.models:
        self._orig.append(model._meta.database)
        model._meta.database = model.database
    return super(Using, self).__enter__()

dataset/ETHPy150Open coleifer/peewee/peewee.py Using.__enter__/VarMisuse@45/52 `self`->`model`