Fixed the return type hint of the get_logged_in_user function.
This commit is contained in:
parent
9d0d0b2686
commit
3709cb4d66
@ -110,7 +110,7 @@ class DigestAuth:
|
||||
class NoLogInException(Exception):
|
||||
"""The exception thrown when the user is not authorized."""
|
||||
|
||||
def get_logged_in_user() -> t.Optional[t.Any]:
|
||||
def get_logged_in_user() -> t.Any:
|
||||
"""Returns the currently logged-in user.
|
||||
|
||||
:return: The currently logged-in user.
|
||||
|
Loading…
Reference in New Issue
Block a user