ashb commented on a change in pull request #18447:
URL: https://github.com/apache/airflow/pull/18447#discussion_r720144074



##########
File path: airflow/providers/amazon/aws/hooks/redshift.py
##########
@@ -15,10 +15,19 @@
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
 # under the License.
-"""Interact with AWS Redshift, using the boto3 library."""
+"""Interact with AWS Redshift, using the boto3 or redshift_connector 
library."""
 
-from typing import List, Optional
+from typing import Dict, List, Optional, Union
 
+try:
+    from functools import cached_property
+except ImportError:
+    from cached_property import cached_property

Review comment:
       ```suggestion
   from airflow.compat.functools import cached_property
   ```




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