ramitkataria commented on code in PR #76646:
URL: https://github.com/apache/airflow/pull/76646#discussion_r4534802594
##########
providers/amazon/src/airflow/providers/amazon/aws/operators/bedrock.py:
##########
@@ -1532,11 +1553,17 @@ def __init__(
*,
guardrail_identifier: str,
description: str | None = None,
+ wait_for_completion: bool = True,
Review Comment:
Yes, let's treat this as a bugfix? Every other Bedrock operator with
`wait_for_completion` already defaults to `True`.
Two things change for existing users: the task takes a few seconds longer
(capped at 2 minutes by default), and the role now needs
`bedrock:GetGuardrail`. `wait_for_completion=False` restores the old behaviour.
I've added a changelog warning
--
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]