uranusjr commented on code in PR #60670:
URL: https://github.com/apache/airflow/pull/60670#discussion_r2851175075
##########
airflow-core/src/airflow/dag_processing/collection.py:
##########
@@ -404,6 +598,16 @@ def update_dag_parsing_results_in_db(
# Retry 'DAG.bulk_write_to_db' & 'SerializedDagModel.bulk_sync_to_db' in
case
# of any Operational Errors
# In case of failures, provide_session handles rollback
+ dags_list = list(dags)
Review Comment:
I checked the code, `update_dag_parsing_results_in_db` is actually always
called with a list, so let’s just change the function annotation to
`Sequence[LazyDeserializedDAG]` instead and remove `dags_list`.
--
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]