def _mins_ago(self, now, timestamp):
        if timestamp:
            time = datetime.fromtimestamp(float(timestamp))
            delta = now - time
            mins = delta.seconds / 60
        else:
            mins = None
        return mins
dataset/ETHPy150Open trebuchet-deploy/trigger/trigger/drivers/trebuchet/local.py/ReportDriver._mins_ago/original