RoyLee1224 commented on code in PR #57368:
URL: https://github.com/apache/airflow/pull/57368#discussion_r2475145001


##########
airflow-core/src/airflow/settings.py:
##########
@@ -111,15 +121,15 @@
 :meta private:
 """
 
-engine: Engine
-Session: scoped_session
+engine: Engine = None  # type: ignore[assignment]

Review Comment:
   If I just remove the `= None`, mypy will fail in `dispose_orm` where engine 
is set back to None.



-- 
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]

Reply via email to