def filter_query(self, query, filter_info, model):
        if filter_info:
            filters = create_filters(model, filter_info, self.resource)
            query = query.filter(*filters)
        return query