ashb edited a comment on issue #12400:
URL: https://github.com/apache/airflow/issues/12400#issuecomment-728956353
I cannot reproduce this error on Python 3.7.9. What version of SQLAlchemy do
you have installed?
```python console
In [4]: import airflow.jobs.scheduler_job
In [5]: job = airflow.jobs.scheduler_job.SchedulerJob()
In [6]: job.adopt_or_reset_orphaned_tasks()
[2020-11-17 14:15:30,623] {scheduler_job.py:1761} INFO - Resetting orphaned
tasks for active dag runs
Out[6]: 0
In [7]: import sqlalchemy
In [8]: sqlalchemy.__version__
Out[8]: '1.3.19'
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]