uranusjr commented on a change in pull request #22123:
URL: https://github.com/apache/airflow/pull/22123#discussion_r835352048
##########
File path: airflow/www/views.py
##########
@@ -527,6 +527,21 @@ def get_task_stats_from_query(qry):
return data
+def redirect_or_json(origin, return_as_json, msg, status=""):
Review comment:
Actually you don’t even need to pass in `request`; the variable is
magical in Flask and will automatically refer to the correct thing when it’s
called in a view function.
--
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]