#NEWLINE# def _extract_service_catalog( self , body ) : #NEWLINE# #INDENT# "Set the client's service catalog from the response data." #NEWLINE# self . auth_ref = access . create ( body = body ) #NEWLINE# self . service_catalog = self . auth_ref . service_catalog #NEWLINE# self . auth_token = self . auth_ref . auth_token #NEWLINE# self . auth_tenant_id = self . auth_ref . tenant_id #NEWLINE# self . auth_user_id = self . auth_ref . user_id #NEWLINE# if ( not self . endpoint_url ) : #NEWLINE# #INDENT# self . endpoint_url = self . service_catalog . url_for ( region_name = self . region_name , service_type = self . service_type , interface = self . endpoint_type )