def __init__(self, filter_converter, datamodel, search_columns=None):
        """

            :param filter_converter: Accepts BaseFilterConverter class
            :param search_columns: restricts possible columns,
                    accepts a list of column names
            :param datamodel: Accepts BaseInterface class
        """
        self.search_columns = search_columns or []
        self.filter_converter = filter_converter
        self.datamodel = datamodel
        self.clear_filters()
        if self.search_columns:
            self._search_filters = self._get_filters(self.search_columns)
            self._all_filters = self._get_filters(datamodel.get_columns_list())
def __init__ ( self , filter_converter , datamodel , search_columns = None ) : self . search_columns = search_columns or [ ] self . filter_converter = filter_converter self . datamodel = datamodel self . clear_filters ( ) if self . search_columns : self . _search_filters = self . _get_filters ( self . search_columns ) self . _all_filters = self . _get_filters ( datamodel . get_columns_list ( ) )
:param filter_converter: Accepts BaseFilterConverter class
            :param search_columns: restricts possible columns,
                    accepts a list of column names
            :param datamodel: Accepts BaseInterface class