ephraimbuddy commented on code in PR #35061: URL: https://github.com/apache/airflow/pull/35061#discussion_r1366530787
########## airflow/www/views.py: ########## @@ -5827,6 +5828,33 @@ def add_user_permissions_to_dag(sender, template, context, **extra): context["dag"] = dag +############################################################################## +# # +# Development Views # +# # +############################################################################## + + +class DevView(BaseView): + """View to show Airflow Dev Endpoints. + + This view should only be accessible in development mode. For Review Comment: There's no enforcement yet. It seems there's no concept of dev mode in airflow. I tried allowing access to localhost only using request.remote_addr but that didn't work -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org