pierrejeambrun commented on code in PR #69502:
URL: https://github.com/apache/airflow/pull/69502#discussion_r3595669184


##########
airflow-core/src/airflow/plugins_manager.py:
##########
@@ -422,3 +422,40 @@ def get_priority_weight_strategy_plugins() -> dict[str, 
type[PriorityWeightStrat
 def get_import_errors() -> dict[str, str]:
     """Get import errors encountered during plugin loading."""
     return _get_plugins()[1]
+
+
+def validate_plugin_teams() -> None:

Review Comment:
   This will prevent all plugin registration if only 1 plugin has a wrong team 
specified.
   
   And might also crash the whole API server from starting. Probably not what 
we want, we want a plugin resgistration error instead specific to that plugin I 
guess.



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