def __call__(self, query, view):
        for arg_name, filter_field in self._filter_fields.items():
            try:
                arg_value = flask.request.args[arg_name]
            except __HOLE__:
                continue

            try:
                query = query.filter(filter_field(view, arg_value))
            except ApiError as e:
                raise e.update({'source': {'parameter': arg_name}})

        return query
dataset/ETHPy150Open 4Catalyzer/flask-resty/flask_resty/filtering.py/Filtering.__call__