john-bodley commented on code in PR #26200:
URL: https://github.com/apache/superset/pull/26200#discussion_r1417980375
##########
superset/security/manager.py:
##########
@@ -2001,17 +2000,14 @@ def raise_for_access(
self.get_dashboard_access_error_object(dashboard)
)
- def get_user_by_username(
- self, username: str, session: Session = None
- ) -> Optional[User]:
+ def get_user_by_username(self, username: str) -> Optional[User]:
Review Comment:
This method was never called with the `session` parameter.
--
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]