def get_real_social_auth_object(request):
 running_pipeline = get(request)
 if (running_pipeline and ('social' in running_pipeline['kwargs'])):
  social = running_pipeline['kwargs']['social']
  if isinstance(social, dict):
   social = UserSocialAuth.objects.get(uid=social.get('uid', ''))
  return social

def get_real_social_auth_object ( request ) : running_pipeline = get ( request ) if ( running_pipeline and ( 'social' in running_pipeline [ 'kwargs' ] ) ) : social = running_pipeline [ 'kwargs' ] [ 'social' ] if isinstance ( social , dict ) : social = UserSocialAuth . objects . get ( uid = social . get ( 'uid' , '' ) ) return social
at times .