stephen-bracken commented on code in PR #70783:
URL: https://github.com/apache/airflow/pull/70783#discussion_r3767760151


##########
providers/fab/src/airflow/providers/fab/auth_manager/fab_auth_manager.py:
##########
@@ -373,11 +373,14 @@ def build_public_user(self, *, session: Session = 
NEW_SESSION) -> AnonymousUser
 
     def get_fastapi_middlewares(self) -> list[tuple[_MiddlewareFactory[Any], 
dict[str, Any]]]:
         """Register the FAB public-access middleware when public access is 
configured."""
+        middleware = super().get_fastapi_middlewares() if AIRFLOW_V_3_3_PLUS 
else []

Review Comment:
   The `get_fastapi_middlewares()` method was added in 3.3.0



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