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


##########
airflow-core/src/airflow/utils/db_cleanup.py:
##########
@@ -183,17 +184,17 @@ def readable_config(self):
 config_dict: dict[str, _TableConfig] = {x.orm_model.name: x for x in 
sorted(config_list)}
 
 
-def _check_for_rows(*, query: Query, print_rows: bool = False) -> int:
-    num_entities = query.count()
+def _check_for_rows(*, query: Select, print_rows: bool = False, session: 
Session) -> int:

Review Comment:
   Should query be renamed to statement too?



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