parsnip.parse_int_list

parsnip.parse_int_list(text)

Parse a string into a list of integers

For example, the string “1,2,3,4” will be parsed to [1, 2, 3, 4].

Parameters:

text (str) – String to parse

Returns:

Parsed integer list

Return type:

List[int]