#NEWLINE# @ classmethod #NEWLINE# def sanitize_nodes_from_resp( cls , nodes ) : #NEWLINE# #INDENT# resp = [ ] #NEWLINE# if isinstance ( nodes , list ) : #NEWLINE# #INDENT# for n in nodes : #NEWLINE# #INDENT# if ( isinstance ( n , dict ) and ( 'uid' in n ) ) : #NEWLINE# #INDENT# resp . append ( n [ 'uid' ] ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# return resp