uranusjr commented on code in PR #29494:
URL: https://github.com/apache/airflow/pull/29494#discussion_r1104227705
##########
airflow/models/xcom.py:
##########
@@ -772,8 +772,8 @@ def _get_bound_query(self) -> Generator[Query, None, None]:
yield self._query
return
- if Session is None:
- raise
+ if getattr(setting, "Session", None) is None:
Review Comment:
```suggestion
if getattr(settings, "Session", None) is 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]