Ohashiro commented on code in PR #44696:
URL: https://github.com/apache/airflow/pull/44696#discussion_r1873309293
##########
providers/src/airflow/providers/microsoft/azure/operators/powerbi.py:
##########
@@ -126,7 +124,11 @@ def execute_complete(self, context: Context, event:
dict[str, str]) -> Any:
Relies on trigger to throw an exception, otherwise it assumes
execution was successful.
"""
if event:
- if event["status"] == "error":
+ if (
+ event["status"] == "error"
Review Comment:
To me, this "error" status corresponds to any error raised by the trigger
(while the other status correspond to an error raised by the API). Should I add
this as a constant?
--
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]