dbarrundiag commented on a change in pull request #19665:
URL: https://github.com/apache/airflow/pull/19665#discussion_r754263007
##########
File path: airflow/providers/amazon/aws/hooks/redshift.py
##########
@@ -138,6 +138,26 @@ def create_cluster_snapshot(self, snapshot_identifier:
str, cluster_identifier:
)
return response['Snapshot'] if response['Snapshot'] else None
+ def wait_for_state(self, cluster_identifier: str, target_state: str,
check_interval: float) -> None:
Review comment:
got it thanks @josh-fell, the latest commit fixes this and removes the
`wait_for_state` and this way users can choose to use the sensor (already
available).
--
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]