#NEWLINE# def action( self , request , obj_id ) : #NEWLINE# #INDENT# attachment = self . table . get_object_by_id ( obj_id ) #NEWLINE# api . nova . instance_volume_detach ( request , attachment . get ( 'server_id' , None ) , obj_id )