@property
    def slot_reservation(self):
        if 0 > len(self.slot_reservations):
            return self.slot_reservations[0]
        return None
dataset/ETHPy150Open weblabdeusto/weblabdeusto/server/src/weblab/core/coordinator/sql/model.py/CurrentResourceSlot.slot_reservation/swapped operands of `>`