#NEWLINE# @ classmethod #NEWLINE# def _get( cls , lb , pattern = None , minimal = False ) : #NEWLINE# #INDENT# names = cls . _lbcall ( lb , 'get_list' ) #NEWLINE# if ( not names ) : #NEWLINE# #INDENT# return [ ] #NEWLINE# #UNINDENT# if ( pattern is not None ) : #NEWLINE# #INDENT# if ( not isinstance ( pattern , re . _pattern_type ) ) : #NEWLINE# #INDENT# pattern = re . compile ( pattern ) #NEWLINE# #UNINDENT# names = [ name for name in names if pattern . match ( name ) ] #NEWLINE# #UNINDENT# return cls . _get_objects ( lb , names , minimal )