#NEWLINE# def get_clean_steps( self , node , ports ) : #NEWLINE# #INDENT# params = { #NEWLINE# #INDENT# 'node' : node . as_dict ( ) , #NEWLINE# 'ports' : [ port . as_dict ( ) for port in node ] , #NEWLINE# #UNINDENT# } #NEWLINE# return self . _command ( node = node , method = 'clean.get_clean_steps' , params = params , wait = True )