o-nikolas commented on code in PR #53088:
URL: https://github.com/apache/airflow/pull/53088#discussion_r2195497675


##########
providers/amazon/src/airflow/providers/amazon/aws/hooks/redshift_cluster.py:
##########
@@ -77,7 +77,7 @@ def create_cluster(
         return response
 
     # TODO: Wrap create_cluster_snapshot
-    def cluster_status(self, cluster_identifier: str) -> str:
+    def cluster_status(self, cluster_identifier: str) -> Any | None:

Review Comment:
   Why did we make this typing weaker? Should this method not be `str | None`? 
Was there issues because  `return response[0]["ClusterStatus"]` was not a 
string?



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