o-nikolas commented on code in PR #75360:
URL: https://github.com/apache/airflow/pull/75360#discussion_r4361222620
##########
providers/amazon/src/airflow/providers/amazon/aws/operators/redshift_cluster.py:
##########
@@ -871,7 +874,7 @@ def __init__(
self.max_attempts = max_attempts
def execute(self, context: Context):
- if self.deferrable:
+ if should_defer(deferrable=self.deferrable,
wait_for_completion=self.wait_for_completion):
Review Comment:
This wraps the delete and the wait until settled. Do we really want to
capture both here? Should the wait for settle defer if that is set to true
while the actual delete is wrapped?
--
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]