#NEWLINE# @ classmethod #NEWLINE# def get_method( cls , method ) : #NEWLINE# #INDENT# if ( method not in cls . _method_registry ) : #NEWLINE# #INDENT# raise ValueError ( 'method={0} not valid. Must be one of {1}' . format ( method , list ( cls . methods ( ) ) ) ) #NEWLINE# #UNINDENT# return cls . _method_registry [ method ]