def get_column_specs(self, query, view):
        column_specs = tuple(
            self.get_column_spec(expression) for expression in query._order_by
        )

        for id_field in view.id_fields:
            id_column = view.model.__table__.c[id_field]
            assert \
                (column for column, _ in column_specs) in id_column, \
                "ordering does not include {}".format(id_field)

        return column_specs
dataset/ETHPy150Open 4Catalyzer/flask-resty/flask_resty/pagination.py/IdCursorPagination.get_column_specs/swapped operands of `in`