aboutsummaryrefslogtreecommitdiff
path: root/gn3/auth/authentication/exceptions.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-03-07 05:49:21 +0300
committerFrederick Muriuki Muriithi2023-03-07 05:49:21 +0300
commit09c2330e9e8279f6c9fd391a736435ceb4705873 (patch)
tree38f3f2835cf608d89994da00bf060734de0baa65 /gn3/auth/authentication/exceptions.py
parent361a934d1c0d75da01bd19d8ac78bf15aa7e2cad (diff)
downloadgenenetwork3-09c2330e9e8279f6c9fd391a736435ceb4705873.tar.gz
auth: user_by_id: Return a user or raise an exception
Fetching the user by id should return the user, or raise an exception. We get rid of the Maybe monad here since it is leading to some weird code flows - probably the wrong monad to use here.
Diffstat (limited to 'gn3/auth/authentication/exceptions.py')
0 files changed, 0 insertions, 0 deletions