def serialize(self): return { 'started': self.started, 'finished': self.finished, 'elapsed': humanizedelta(seconds=self.elapsed), }
def __str__(self): return humanizedelta(seconds=self.elapsed)