def get_current_user(request):

    cookies = request.get('cookies', {})
    session_id = cookies.get('session_id')
    user_id = redis.get(session_id)
    if user_id:
        user_id = user_id.decode()
        return User.get(request['db_conn'], id=user_id)
Registers an unpack format.
dataset/ETHPy150Open heiskr/sagefy/server/framework/session.py/get_current_user--crossover with--dataset/ETHPy150Open GeekTrainer/Flask/Work/Trivia - Module 5/env/Lib/site-packages/pip/_vendor/distlib/_backport/shutil.py/register_unpack_format