tanujdargan commented on code in PR #51714:
URL: https://github.com/apache/airflow/pull/51714#discussion_r2149098453
##########
airflow-core/src/airflow/api_fastapi/core_api/routes/ui/config.py:
##########
@@ -59,6 +61,11 @@ def get_configs() -> ConfigResponse:
"external_log_name": getattr(task_log_reader.log_handler, "log_name",
None),
}
+ additional_config["plugins_extra_menu_items"] = [
+ AppBuilderMenuItemResponse.model_validate(mi)
+ for mi in (plugins_manager.flask_appbuilder_menu_links or [])
+ ]
Review Comment:
Thank you for this, I've updated my code to this, and it does pass tests 👍
--
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]