BradHolmes opened a new pull request #4132: [AIRFLOW-3298] Return None if user 
not found in session.
URL: https://github.com/apache/incubator-airflow/pull/4132
 
 
   * It is possible for the browser to have a user-id stored, but the user to 
be absent from the session (database backend).
   * This was encountered in a setup where, during development, a new database 
is instantiated for each branch, per developer
   
   ### Jira
   
   - [x] AIRFLOW-3298
   
   ### Description
   
   - [x] [AIRFLOW-3298] Return None if user not found in session. 
     * It is possible for the browser to have a user-id stored, but the user to 
be absent from the session (database backend). 
     * This was encountered in a setup where, during development, a new 
database is instantiated for each branch, per developer
   
   ### Tests
   
   - [ ] I have no idea how to test this.  Anyone have any tips or suggestions?
   
   ### Commits
   
   - [x] Good commit message
   
   ### Documentation
   
   - [x] No new functionality.  No new docs.
   
   ### Code Quality
   
   - [x] Passes `flake8`
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to