ephraimbuddy commented on code in PR #31018:
URL: https://github.com/apache/airflow/pull/31018#discussion_r1221329255


##########
airflow/providers/amazon/aws/hooks/s3.py:
##########
@@ -38,6 +39,11 @@
 from urllib.parse import urlsplit
 from uuid import uuid4
 
+try:
+    from aiobotocore.client import AioBaseClient
+except ImportError:
+    pass

Review Comment:
   Should we do this?:
   ```python
   from typing import TYPE_CHECKING
   
   if TYPE_CHECKING:
       try:
           from aiobotocore.client import AioBaseClient
       except ImportError:
           pass
   ```



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