def update_google_extra_data(email, extra_data):
    try:
        me = UserSocialAuth.objects.get(uid=email, provider="google-oauth2")
        me.extra_data = extra_data
        me.save()
    except (UserSocialAuth.DoesNotExist, __HOLE__):
        raise AccessTokenNotFound
dataset/ETHPy150Open coddingtonbear/django-mailbox/django_mailbox/google_utils.py/update_google_extra_data