diff options
author | Frederick Muriuki Muriithi | 2023-03-07 05:49:21 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-03-07 05:49:21 +0300 |
commit | 09c2330e9e8279f6c9fd391a736435ceb4705873 (patch) | |
tree | 38f3f2835cf608d89994da00bf060734de0baa65 /gn3/auth/authorisation/resources/views.py | |
parent | 361a934d1c0d75da01bd19d8ac78bf15aa7e2cad (diff) | |
download | genenetwork3-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/authorisation/resources/views.py')
0 files changed, 0 insertions, 0 deletions