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

uranusjr 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 4c62a4f58b Add back missing AsyncIterator import (#31710)
4c62a4f58b is described below

commit 4c62a4f58bd7a76e971ecf4ed798bc795afec4c5
Author: Tzu-ping Chung <[email protected]>
AuthorDate: Mon Jun 5 15:16:48 2023 +0800

    Add back missing AsyncIterator import (#31710)
---
 airflow/providers/amazon/aws/triggers/redshift_cluster.py    | 2 +-
 tests/providers/google/cloud/hooks/test_kubernetes_engine.py | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/airflow/providers/amazon/aws/triggers/redshift_cluster.py 
b/airflow/providers/amazon/aws/triggers/redshift_cluster.py
index 573aab4a53..fecfda91da 100644
--- a/airflow/providers/amazon/aws/triggers/redshift_cluster.py
+++ b/airflow/providers/amazon/aws/triggers/redshift_cluster.py
@@ -18,7 +18,7 @@ from __future__ import annotations
 
 import asyncio
 from functools import cached_property
-from typing import Any
+from typing import Any, AsyncIterator
 
 from botocore.exceptions import WaiterError
 
diff --git a/tests/providers/google/cloud/hooks/test_kubernetes_engine.py 
b/tests/providers/google/cloud/hooks/test_kubernetes_engine.py
index 817a2e79e6..53963c3a32 100644
--- a/tests/providers/google/cloud/hooks/test_kubernetes_engine.py
+++ b/tests/providers/google/cloud/hooks/test_kubernetes_engine.py
@@ -17,7 +17,6 @@
 # under the License.
 from __future__ import annotations
 
-import sys
 from asyncio import Future
 from unittest import mock
 

Reply via email to