tuantran0910 opened a new pull request, #35290:
URL: https://github.com/apache/superset/pull/35290

   ### SUMMARY
   
   Updates SupersetSecurityManager to use the modern session property instead 
of the deprecated get_session method when querying the database.
   
   After Flask-AppBuilder version v5.x, the method to access the security 
manager’s database session has changed.
   
   **Before (v4.x):**
   
   ```python
   # Old session access method
   session = appbuilder.sm.get_session
   ```
   
   **After (v5.x):**
   
   ```python
   # New session access method
   session = appbuilder.sm.session
   ```
   
   Link: https://flask-appbuilder.readthedocs.io/en/latest/versionmigration.html
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to