This is an automated email from the ASF dual-hosted git repository.

Lee-W pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new f388d4292b6 Fix mypy arg-type error in Redshift Data get_primary_keys 
(#70677)
f388d4292b6 is described below

commit f388d4292b6f11a7e8c6c37e73430edc1425807b
Author: Wei Lee <[email protected]>
AuthorDate: Wed Jul 29 20:52:12 2026 +0800

    Fix mypy arg-type error in Redshift Data get_primary_keys (#70677)
---
 .../amazon/src/airflow/providers/amazon/aws/hooks/redshift_data.py      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/providers/amazon/src/airflow/providers/amazon/aws/hooks/redshift_data.py 
b/providers/amazon/src/airflow/providers/amazon/aws/hooks/redshift_data.py
index c6c50e6a282..0d007ad238e 100644
--- a/providers/amazon/src/airflow/providers/amazon/aws/hooks/redshift_data.py
+++ b/providers/amazon/src/airflow/providers/amazon/aws/hooks/redshift_data.py
@@ -268,7 +268,7 @@ class 
RedshiftDataHook(AwsGenericHook["RedshiftDataAPIServiceClient"]):
         pk_columns = []
         token = ""
         while True:
-            kwargs = {"Id": stmt_id}
+            kwargs: dict[str, Any] = {"Id": stmt_id}
             if token:
                 kwargs["NextToken"] = token
             response = self.conn.get_statement_result(**kwargs)

Reply via email to