hussein-awala commented on code in PR #47968:
URL: https://github.com/apache/airflow/pull/47968#discussion_r2004473282
##########
providers/amazon/src/airflow/providers/amazon/aws/transfers/redshift_to_s3.py:
##########
@@ -102,7 +103,7 @@ def __init__(
table: str | None = None,
select_query: str | None = None,
redshift_conn_id: str = "redshift_default",
- aws_conn_id: str | None = "aws_default",
+ aws_conn_id: str | None | ArgNotSet = NOTSET,
Review Comment:
Just checked, and found that because of:
```
try:
uri = SecretCache.get_connection_uri(conn_id)
return Connection(conn_id=conn_id, uri=uri)
except SecretCache.NotPresentException:
pass # continue business
```
conn will be `None` and the code in else block will be executed.
--
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]