hussein-awala commented on code in PR #38743:
URL: https://github.com/apache/airflow/pull/38743#discussion_r1551577813
##########
airflow/utils/db.py:
##########
@@ -993,7 +993,7 @@ def decrypt_trigger_kwargs(*, session: Session) -> None:
# this can happen when we downgrade to an old version before the
Trigger table was added
return
- for trigger in session.query(Trigger):
+ for trigger in session.scalars(select(Trigger.encrypted_kwargs)):
Review Comment:
I just checked the PR description, it makes sense. However I don't why it
didn't fail when I tested it with breeze.
--
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]