def durations(self) -> List[datetime.timedelta]:
        """
        Returns a list of ``datetime.timedelta`` objects representing the
        durations of each interval in our list.
        """
        return [x.duration() for x in self.intervals]
def durations ( self ) -> List [ datetime . timedelta ] : return [ x . duration ( ) for x in self . intervals ]
Returns a list of ``datetime.timedelta`` objects representing the
        durations of each interval in our list.