Hi All-

After upgrading to Airflow 2.7.0 from 2.6.3, I encountered this issue when 
running airflow db migrate:


File "/home/etl/anaconda3/lib/python3.9/site-packages/airflow/utils/db.py", 
line 979, in check_conn_id_duplicates

    dups = session.scalars(

AttributeError: 'Session' object has no attribute ‘scalars'


I am not sure what the issue is. I thought it may have been sqlalchemy. 
However, when I upgraded alchemy, I got another error. So I backtracked and 
downgraded back to 2.6.3 where everything seems good again.


Anybody experience this? Any advice would be appreciated.


Thanks!


Anthony

Reply via email to