#NEWLINE# def _refresh_filters_cache( self ) : #NEWLINE# #INDENT# self . _filters = self . get_filters ( ) #NEWLINE# if self . _filters : #NEWLINE# #INDENT# self . _filter_groups = OrderedDict ( ) #NEWLINE# self . _filter_args = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# for ( i , flt ) in enumerate ( i . _filters ) : #NEWLINE# #INDENT# key = as_unicode ( flt . name ) #NEWLINE# if ( key not in self . _filter_groups ) : #NEWLINE# #INDENT# self . _filter_groups [ key ] = FilterGroup ( flt . name ) #NEWLINE# #UNINDENT# self . _filter_groups [ key ] . append ( { #NEWLINE# #INDENT# 'index' : i , #NEWLINE# 'arg' : self . get_filter_arg ( i , flt ) , #NEWLINE# 'operation' : flt . operation ( ) , #NEWLINE# 'options' : ( flt . get_options ( self ) or None ) , #NEWLINE# 'type' : flt . data_type , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . _filter_args [ self . get_filter_arg ( i , flt ) ] = ( i , flt ) #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# self . _filter_groups = None #NEWLINE# self . _filter_args = None