sivavarma-x opened a new pull request, #69761: URL: https://github.com/apache/airflow/pull/69761
Most `AirflowPlugin` list fields (`external_views`, `react_apps`, `menu_links`, `appbuilder_views`, `fastapi_apps`, ...) are currently typed as `list[Any]`, giving plugin authors no static signal about the shape of the entries they're expected to supply. This PR introduces TypedDicts in the shared `plugins_manager` that capture those contracts and swaps the `list[Any]` annotations on `AirflowPlugin` over to them. Rolling in one field per commit so each contract can be reviewed on its own. First up: `ExternalViewDict` for `external_views`. Follow-ups for the remaining fields will land in subsequent commits on this PR. Opening as **draft** while the rest lands. * closes: #62222 --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes Generated-by: gpt-5.5 following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) -- 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]
