anselboero commented on code in PR #25196:
URL: https://github.com/apache/airflow/pull/25196#discussion_r927849041


##########
airflow/models/dag.py:
##########
@@ -374,6 +375,9 @@ def __init__(
     ):
         from airflow.utils.task_group import TaskGroup
 
+        if tags and any(len(tag) > TAG_MAX_LEN for tag in tags):
+            raise AirflowException("tag cannot be longer than 100 characters")

Review Comment:
   Sorry, short question,
   should we map the Exception text to the TAG_MAX_LEN variable, 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