def csvlist(input_type=str):
    '\n    Create an argparse type that parses comma separated lists of type ``input_type``\n\n    Args:\n        input_type: type of list elements\n\n    Returns:\n        list parser\n\n    '

    def make_list(input_str):
        return [input_type(s) for s in input_str.split(',')]
    make_list.__doc__ = f'''
    argparse type that parses comma separated list of type {input_type}
    
    Args:
        input_str: string to be parsed
        
    Returns:
        list of elements of type {input_type}
    '''
    return make_list
Create an argparse type that parses comma separated lists of type ``input_type``

Args:
    input_type: type of list elements

Returns:
    list parser
def csvlist(input_type=str):
    '\n    Create an argparse type that parses comma separated lists of type ``input_type``\n\n    Args:\n        input_type: type of list elements\n\n    Returns:\n        list parser\n\n    '

    def make_list(input_str):
        return [input_type(s) for s in input_str.split(',')]
    make_list.__doc__ = f'
    argparse type that parses comma separated list of type {input_type}
    
    Args:
        input_str: string to be parsed
        
    Returns:
        list of elements of type {input_type}
    '
    return make_list