filtr.search not working : AttributeError: 'list' object has ...
github.com › exleym › Flask-FilterSep 07, 2020 · def search (self, DbModel: Model, filters: list, ModelSchema: Union [Schema, None] = None, limit: int = None, order_by = None): filters = self. schema. load (filters, many = True) schema = ModelSchema or self. _lookup_schema (DbModel) query = DbModel. query for f in filters: > query = f. apply (query, DbModel, schema) E AttributeError: 'list' object has no attribute 'apply'