potiuk commented on code in PR #37989:
URL: https://github.com/apache/airflow/pull/37989#discussion_r1557369269
##########
airflow/models/trigger.py:
##########
@@ -169,14 +169,16 @@ def clean_unused(cls, session: Session = NEW_SESSION) ->
None:
.values(trigger_id=None)
)
- # Get all triggers that have no task instances depending on them...
- ids = session.scalars(
+ # Get all triggers that have no task instances depending on them and
delete them
+ ids = (
Review Comment:
I think that's unrelated ? (bad merge?)
--
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]