zhongjiajie commented on a change in pull request #8231: Dag bulk_sync_to_db
dag_tag only remove not exists
URL: https://github.com/apache/airflow/pull/8231#discussion_r407281068
##########
File path: airflow/models/dag.py
##########
@@ -322,7 +322,7 @@ def __init__(
self.is_paused_upon_creation = is_paused_upon_creation
self.jinja_environment_kwargs = jinja_environment_kwargs
- self.tags = tags
+ self.tags = tags or []
Review comment:
Add this to pass mypy check
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services