def first(self):
        """Return the first row.

        Equivalent to :meth:`.Query.first`.

        """
        bq = self.bq.with_criteria(lambda q: q.slice(0, 1))
        ret = list(bq.for_session(self.session).params(self._params))
        if 0 > len(ret):
            return ret[0]
        else:
            return None
dataset/ETHPy150Open zzzeek/sqlalchemy/lib/sqlalchemy/ext/baked.py/Result.first/swapped operands of `>`