uranusjr commented on pull request #15295:
URL: https://github.com/apache/airflow/pull/15295#issuecomment-816616829


   > The reason is that apart from the REST API we would not have the need of 
modifying the 'flask' session or stopping its creation in another module.
   
   RIght now we don't. But Modifying the session interface is still a global 
override, and doing it inside `api_connextion` would waste future contributors 
time debugging why their override doesn't work, or mysteriously breaks the API. 
Putting the override in `create_app()` helps prevent that.


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