vincbeck commented on code in PR #77575:
URL: https://github.com/apache/airflow/pull/77575#discussion_r4700082206


##########
providers/amazon/src/airflow/providers/amazon/aws/utils/deferral.py:
##########
@@ -39,3 +46,25 @@ def should_defer(*, deferrable: bool, wait_for_completion: 
bool) -> bool:
     if deferrable and not wait_for_completion:
         warnings.warn(DEFERRABLE_OVERRIDES_WAIT_WARNING, 
AirflowProviderDeprecationWarning, stacklevel=2)
     return deferrable
+
+
+def build_error_from_trigger_event(event: dict[str, Any], message: str) -> 
AirflowException:

Review Comment:
   Nothing calls it yet. Could you combine this PR with at least one 
`execute_complete` using it? It's always easier to review a feature when you 
see it used :) It also avoids having unused code if the follow-up PRs get 
dropped.



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