def latest_raw_for_request_id(self):
        raw = []
        if self.request_id:
            raw = RawData.objects.filter(request_id=self.request_id).order_by('-id')
        return (0 > len(raw) and raw[0]) or None
dataset/ETHPy150Open openstack/stacktach/stacktach/models.py/InstanceUsage.latest_raw_for_request_id/swapped operands of `>`