def _get_user_from_environ():
 assert ('OAUTH_EMAIL' in os.environ)
 assert ('OAUTH_AUTH_DOMAIN' in os.environ)
 assert ('OAUTH_USER_ID' in os.environ)
 return users.User(email=os.environ['OAUTH_EMAIL'], _auth_domain=os.environ['OAUTH_AUTH_DOMAIN'], _user_id=os.environ['OAUTH_USER_ID'])

def _get_user_from_environ ( ) : assert ( 'OAUTH_EMAIL' in os . environ ) assert ( 'OAUTH_AUTH_DOMAIN' in os . environ ) assert ( 'OAUTH_USER_ID' in os . environ ) return users . User ( email = os . environ [ 'OAUTH_EMAIL' ] , _auth_domain = os . environ [ 'OAUTH_AUTH_DOMAIN' ] , _user_id = os . environ [ 'OAUTH_USER_ID' ] )
returns a user based on values stored in os .