ashb commented on a change in pull request #21167:
URL: https://github.com/apache/airflow/pull/21167#discussion_r795469484
##########
File path: airflow/models/__init__.py
##########
@@ -29,6 +29,7 @@
from airflow.models.pool import Pool
from airflow.models.renderedtifields import RenderedTaskInstanceFields
from airflow.models.sensorinstance import SensorInstance # noqa: F401
+from airflow.models.session import Session
Review comment:
Rather than doing this (and adding `airflow/models/session.py`) import
it airflow.utils.db -- that's enough to get it loaded and reset and doing
`reset db`
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]