cron_converter/cron.py
def to_list(self) -> List[Part]:
        """Returns the cron schedule as a 2-dimentional list of integers

        :return: schedule_list -> The cron schedule as a list.
        :raises LookupError: Empty Cron object.
        """
        if not self.parts:
            raise LookupError('No schedule found')
        schedule_list = []
        for part in self.parts:
            schedule_list.append(part.to_list())
        return schedule_list
Returns the cron schedule as a 2-dimentional list of integers

        :return: schedule_list -> The cron schedule as a list.
        :raises LookupError: Empty Cron object.
        
Returns the cron schedule as a 2-dimentional list of integers
Returns the cron schedule as a 2 - dimentional list of integers
def to_list(self) -> List[Part]:
        if not self.parts:
            raise LookupError('No schedule found')
        schedule_list = []
        for part in self.parts:
            schedule_list.append(part.to_list())
        return schedule_list
def to_list ( self ) -> List [ Part ] : if not self . parts : raise LookupError ( 'No schedule found' ) schedule_list = [ ] for part in self . parts : schedule_list . append ( part . to_list ( ) ) return schedule_list
Returns the cron schedule as a 2-dimentional list of integers
Returns the cron schedule as a 2 - dimentional list of integers
"""Returns the cron schedule as a 2-dimentional list of integers

        :return: schedule_list -> The cron schedule as a list.
        :raises LookupError: Empty Cron object.
        """
> The cron schedule as a list.
> The cron schedule as a list .
Empty Cron object.
Empty Cron object .
LookupError
self