def finalize(self):
        if self._min and self._max:
            td = (self._max - self._min)
            return total_seconds(td)
        return None
dataset/ETHPy150Open coleifer/peewee/playhouse/sqlite_udf.py/duration.finalize/original