Avihais12344 commented on code in PR #41695:
URL: https://github.com/apache/airflow/pull/41695#discussion_r1731604328


##########
airflow/models/dag.py:
##########
@@ -2948,7 +2948,7 @@ def bulk_write_to_db(
             else:
                 orm_dag.calculate_dagrun_date_fields(dag, 
last_automated_data_interval)
 
-            dag_tags = set(dag.tags or {})
+            dag_tags = dag.tags or set()

Review Comment:
   We don't need it as we enforce it at the `c'tor`, so we can just use it 
directly.



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