rich7420 commented on code in PR #59540:
URL: https://github.com/apache/airflow/pull/59540#discussion_r2629183542
##########
airflow-core/tests/unit/utils/test_log_handlers.py:
##########
@@ -98,8 +99,9 @@ def cleanup_tables():
class TestFileTaskLogHandler:
def clean_up(self):
with create_session() as session:
- session.query(DagRun).delete()
- session.query(TaskInstance).delete()
+ session.execute(delete(DagRun))
+ session.execute(delete(TaskInstance))
+ session.commit()
Review Comment:
yes, my mistake. thanks for the reminder.
--
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]