potix2 commented on a change in pull request #11434:
URL: https://github.com/apache/airflow/pull/11434#discussion_r502954249



##########
File path: airflow/providers/amazon/aws/hooks/base_aws.py
##########
@@ -393,7 +394,7 @@ def get_session(self, region_name: Optional[str] = None) -> 
boto3.session.Sessio
         session, _ = self._get_credentials(region_name)
         return session
 
-    def get_credentials(self, region_name: Optional[str] = None) -> 
Tuple[Optional[str], Optional[str]]:

Review comment:
       The `botocore.credentials.ReadOnlyCredentials` is namedtuple. It's not 
tuple.  To avoid typing error in `s3_to_redshift.py`  this modification is 
necessary.




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to