

def login(self, request):
    session = settings.Session()
    user = session.query(models.User).filter((models.User.username == DEFAULT_USERNAME)).first()
    if (not user):
        user = models.User(username=DEFAULT_USERNAME, is_superuser=True)
    session.merge(user)
    session.commit()
    flask_login.login_user(DefaultUser(user))
    session.commit()
    session.close()
    return redirect((self.args.get('next') or url_for('index')))

dataset/ETHPy150Open airbnb/airflow/airflow/default_login.py login/VarMisuse@111/119 `request`->`self`