#NEWLINE# def restart( self , session ) : #NEWLINE# #INDENT# 'Restart the database instance\n\n        :returns: ``None``\n        ' #NEWLINE# body = { #NEWLINE# #INDENT# 'restart' : { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } #NEWLINE# url = utils . urljoin ( url . base_path , self . id , 'action' ) #NEWLINE# session . post ( url , endpoint_filter = self . service , json = body )