You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/10/20 19:25:06 UTC

[GitHub] [airflow] vincbeck commented on a diff in pull request #27070: Allow and prefer non-prefixed extra fields for slack hooks

vincbeck commented on code in PR #27070:
URL: https://github.com/apache/airflow/pull/27070#discussion_r1001030978


##########
airflow/providers/slack/hooks/slack_webhook.py:
##########
@@ -55,6 +55,34 @@ def wrapper(*args, **kwargs) -> Callable:
     return wrapper
 
 
+def _ensure_prefixes(conn_type):

Review Comment:
   I can see this function is a duplicate of the one defined in `airflow/providers/slack/hooks/slack.py` (and in many other PR you have open). Would not it be better to put it somewhere common once and then use it across the different providers?



-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org