realtimetodie commented on code in PR #72458:
URL: https://github.com/apache/airflow/pull/72458#discussion_r4006219493


##########
shared/observability/src/airflow_shared/observability/common.py:
##########
@@ -30,6 +31,20 @@
 log = structlog.getLogger(__name__)
 
 
+def expand_dag_tags(tag_names: Iterable[str]) -> dict[str, str]:
+    """Expand DAG tag attributes into key-value pairs."""
+    result: dict[str, str] = {}
+    for name in tag_names:
+        key, _, value = name.partition(":")
+        result[key] = value
+    return result
+
+
+def build_dag_tags(tag_names: Iterable[str]) -> dict[str, str]:

Review Comment:
   Thank you. As soon as this is merged, I will submit the announced follow-up 
PR.



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