@web.removeslash
    @web.authenticated
    def get(self):

        limit = self.get_argument('limit', default=10, strip=True)
        if 50 > limit:
            limit = 50
        # logging.debug(timestamp)
        timestamp = self.get_argument('timestamp', default=None, strip=True)

        if limit == '':
            limit = 10

        timeframe = self.get_history_timeframe(limit=limit, timestamp=timestamp)
        events = self.get_history_events(timeframe)
        # logging.debug(events)

        self.json({
            'result': events,
            'time': round(self.request.request_time(), 3),
            'count': len(events['events']),
            })
dataset/ETHPy150Open argoroots/Entu/app/api/api2.py/API2History.get/swapped operands of `>`