diff options
author | Frederick Muriuki Muriithi | 2024-07-17 11:00:40 -0500 |
---|---|---|
committer | Alexander_Kabui | 2024-08-28 15:02:46 +0300 |
commit | b2eaa6a66a3dc205382d06c81bfac4508bd415e7 (patch) | |
tree | 8cf2a841d5c6d0872844bbe3d5339c2dfe9f957f /gn2/tests/integration/wqflask/__init__.py | |
parent | 97d2f89ac7b992f752d7d782e631edbc8408a120 (diff) | |
download | genenetwork2-b2eaa6a66a3dc205382d06c81bfac4508bd415e7.tar.gz |
Remove token and user detail handling from @app.before_request
The token and user details information is handled in the
`gn2.wqflask.oauth2.session`. Other parts of the system should make
use of that.
It also helps avoid some weird "action-at-a-distance" interactions -
this forces the code to request what it needs when it needs it and not
rely on some global variables.
Diffstat (limited to 'gn2/tests/integration/wqflask/__init__.py')
0 files changed, 0 insertions, 0 deletions