#NEWLINE# def run( self , parsed_args ) : #NEWLINE# #INDENT# self . log . debug ( ( 'run(%s)' % parsed_args ) ) #NEWLINE# climate_client = self . get_client ( ) #NEWLINE# body = self . args2body ( parsed_args ) #NEWLINE# if res_id . allow_names : #NEWLINE# #INDENT# res_id = utils . find_resource_id_by_name_or_id ( climate_client , self . resource , parsed_args . id ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# res_id = parsed_args . id #NEWLINE# #UNINDENT# resource_manager = getattr ( climate_client , self . resource ) #NEWLINE# resource_manager . update ( res_id , ** body ) #NEWLINE# print ( self . app . stdout , ( 'Updated %s: %s' % ( self . resource , parsed_args . id ) ) ) #NEWLINE# return