-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Docs: update UIAlert import path and usage for v3 (#58089) #58090
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docs: update UIAlert import path and usage for v3 (#58089) #58090
Conversation
|
Hi @lp-jump 👋 Happy to make the additional changes if needed. 😊 |
pierrejeambrun
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for that.
Yes please, it would be great if you could update all occurrences in There is also one occurence of such import in |
|
Hi @pierrejeambrun 👋 I did not modify the import inside chart/values.yaml because it is Airflow 2 code, following your note. Please let me know if any further updates are needed. 😊 |
pierrejeambrun
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we are missing line 124 too, otherwise looking good to me.
Thanks for pointing that out. I’ve now updated the line at 124 as well. |
pierrejeambrun
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
…#58089) (apache#58090) * Docs: update UIAlert import path and usage for v3 (apache#58089) * fix:update all uialert import references for v3 * update uialert docs (cherry picked from commit 8545d3c) Co-authored-by: Lohith M <152604836+Lohith625@users.noreply.github.com>
…che#58090) * Docs: update UIAlert import path and usage for v3 (apache#58089) * fix:update all uialert import references for v3 * update uialert docs
…che#58090) * Docs: update UIAlert import path and usage for v3 (apache#58089) * fix:update all uialert import references for v3 * update uialert docs
…che#58090) * Docs: update UIAlert import path and usage for v3 (apache#58089) * fix:update all uialert import references for v3 * update uialert docs
This PR updates the documentation in howto/customize-ui.rst to reflect the correct import path and usage of the UIAlert class for Airflow v3.
Previously, the documentation showed:
In Airflow v3, UIAlert has moved to the airflow.api_fastapi.common.types module and requires keyword arguments text and category.
The updated example is: