When I try to access the field pending_authentication_token on EmailVerificationRequiredException, I get AttributeError: 'EmailVerificationRequiredException' object has no attribute 'pending_authentication_token'. It seems like the attribute isn't properly exposed on the exception class. I'm able to work around this by accessing the field directly from the json via e.response_json["pending_authentication_token"].
I'm on version 5.46.0.