#NEWLINE# def get_node_groups( cluster , node_process = None ) : #NEWLINE# #INDENT# return [ ng for ng in cluster . node_groups if ( ( node_process is None ) or ( node_process in ng . node_processes ) ) ]