cron_converter/cron.py
def from_list(self, cron_list: List[List[Union[str, int]]]):
        """Parses a 2-dimentional array of integers as a cron schedule.

        :param cron_list: (list of list) The 2-dimensional list to parse.
        :raises ValueError: Incorrect length of the cron list.
        """
        cron_parts = []
        if len(cron_list) != 5:
            raise ValueError(f'Invalid cron list')

        for cron_part_list, unit in zip(cron_list, units):
            part = Part(unit, self.options)
            part.from_list(cron_part_list)
            cron_parts.append(part)

        self.parts = cron_parts
Parses a 2-dimentional array of integers as a cron schedule.

        :param cron_list: (list of list) The 2-dimensional list to parse.
        :raises ValueError: Incorrect length of the cron list.
        
Parses a 2-dimentional array of integers as a cron schedule.
Parses a 2 - dimentional array of integers as a cron schedule .
def from_list(self, cron_list: List[List[Union[str, int]]]):
        cron_parts = []
        if len(cron_list) != 5:
            raise ValueError(f'Invalid cron list')
        for cron_part_list, unit in zip(cron_list, units):
            part = Part(unit, self.options)
            part.from_list(cron_part_list)
            cron_parts.append(part)
        self.parts = cron_parts
def from_list ( self , cron_list : List [ List [ Union [ str , int ] ] ] ) : cron_parts = [ ] if len ( cron_list ) != 5 : raise ValueError ( f'Invalid cron list' ) for cron_part_list , unit in zip ( cron_list , units ) : part = Part ( unit , self . options ) part . from_list ( cron_part_list ) cron_parts . append ( part ) self . parts = cron_parts
Parses a 2-dimentional array of integers as a cron schedule.
Parses a 2 - dimentional array of integers as a cron schedule .
"""Parses a 2-dimentional array of integers as a cron schedule.

        :param cron_list: (list of list) The 2-dimensional list to parse.
        :raises ValueError: Incorrect length of the cron list.
        """
Incorrect length of the cron list.
Incorrect length of the cron list .
ValueError
self
cron_list
List[List[Union[str, int]]]
None