ephraimbuddy commented on a change in pull request #20096:
URL: https://github.com/apache/airflow/pull/20096#discussion_r764225466
##########
File path: airflow/settings.py
##########
@@ -80,7 +80,7 @@
DAGS_FOLDER: str = os.path.expanduser(conf.get('core', 'DAGS_FOLDER'))
engine: Optional[Engine] = None
-Session: Callable[..., SASession]
+Session: SASession
Review comment:
mypy is complaining for callable:
```
airflow/www/views.py:546: error: "Callable[..., Any]" has no
attribute "bind"
... extra_args['sqlite_warning'] = settings.Session.bind...
^
Found 1 error in 1 file (checked 1 source file)
```
--
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]