def get_session_dict_user(session_dict):
    # Compare django.contrib.auth._get_user_session_key
    try:
        return get_user_model()._meta.pk.to_python(session_dict[SESSION_KEY])
    except __HOLE__:
        return None
dataset/ETHPy150Open zulip/zulip/zerver/lib/session_user.py/get_session_dict_user