You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/01/31 09:20:03 UTC
[GitHub] [airflow] ashb commented on a change in pull request #21167: Add a session backend to store session data in the database
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org