mik-laj commented on a change in pull request #9833:
URL: https://github.com/apache/airflow/pull/9833#discussion_r455074068



##########
File path: airflow/www/api/experimental/endpoints.py
##########
@@ -35,7 +36,17 @@
 
 log = logging.getLogger(__name__)
 
-requires_authentication = airflow.api.API_AUTH.api_auth.requires_authentication

Review comment:
       This is a nightmare because `airflow.api.API_AUTH.api_auth` variable is 
empty by default. We can't load this module without calling another method 
beforehand.
   




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to