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


##########
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:
   you are correct. it's not possible because the only thing providers share is 
airflow, and we can't use features in airflow until they are present in the 
version specified as dep in provider. the feature that eliminates the need for 
this decorator will be released in 2.5.  when min airflow version for these 
providers is 2.5, then we can remove this decorator. and if you look at the 
tests, i actually force this removal at this time!  it's tricky managing all 
the backcompat here but ... that's life!



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