#NEWLINE# def action( self , session , body ) : #NEWLINE# #INDENT# url = utils . urljoin ( self . base_path , self . id , 'actions' ) #NEWLINE# resp = session . post ( url , endpoint_filter = self . service , json = body ) #NEWLINE# return resp . json ( )