JE-Chen opened a new pull request, #44695:
URL: https://github.com/apache/airflow/pull/44695

   closes: #44613
   
   Add the following statuses:
   
   ```python
   INTERMEDIATE_STATES = (
       "Unknown"
   )
   
   SUCCESS_STATES = (
       "Completed"
   )
   
   FAILURE_STATES = (
       "Failed",
       "Disabled"
   )
   
   TERMINAL_STATES = (
       "Completed",
       "Failed",
       "Disabled"
   )
   ```
   
   Change `powerbi.py` line 144 (original line 129) 
   from:
   * `if event["status"] == "error":`
   to:
   * `if event["status"] in self.FAILURE_STATES:`
   
   related document:
   
https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/get-refresh-history#refresh
   


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