ephraimbuddy commented on code in PR #31772:
URL: https://github.com/apache/airflow/pull/31772#discussion_r1230974233


##########
airflow/models/dag.py:
##########
@@ -2181,9 +2199,9 @@ def clear(
         )
 
         if dry_run:
-            return tis
+            return session.scalars(tis).all()

Review Comment:
   I will update the return type as without calling `all` here, the session 
closes and `all` called in other places would error out



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