ashb commented on a change in pull request #20104:
URL: https://github.com/apache/airflow/pull/20104#discussion_r763967061
##########
File path: airflow/settings.py
##########
@@ -77,7 +80,7 @@
DAGS_FOLDER: str = os.path.expanduser(conf.get('core', 'DAGS_FOLDER'))
engine: Optional[Engine] = None
-Session: Optional[SASession] = None
+Session: Callable[..., SASession]
Review comment:
This will conflict with https://github.com/apache/airflow/pull/20000
(and also , the SessionMaker is both callable, _and_ behaves like an actual
Session. SQLA is weird like that)
--
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]