A6AN opened a new pull request, #58540:
URL: https://github.com/apache/airflow/pull/58540

   What
   Updated the customize-ui.rst examples to use the modern UIAlert API:
   
   Import from airflow.api_fastapi.common.types
   
   Use keyword arguments (text, category) instead of positional usage
   
   Updated static and dynamic alert examples accordingly
   
   Why
   The old examples used the previous import path and positional arguments.
   The new API requires keyword arguments and lives under 
api_fastapi.common.types.
   
   Changes
   
   Updated Basic Static Alerts section
   
   Updated Dynamic Alerts example (yield UIAlert(...))
   
   Added clarification note
   
   Fixes #58089.


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