Exemplo n.º 1
0
 def comma_choice_list(cls, string):
     '''Convert a comma separated string to `CommaChoiceListArgs`.'''
     items = string.split(',')
     items = CommaChoiceListArgs([item.strip() for item in items])
     return items
Exemplo n.º 2
0
 def comma_list(cls, string):
     '''Convert a comma separated string to list.'''
     items = string.split(',')
     items = list([item.strip() for item in items])
     return items
Exemplo n.º 3
0
 def comma_list(cls, string):
     '''Convert a comma separated string to list.'''
     items = string.split(',')
     items = list([item.strip() for item in items])
     return items
Exemplo n.º 4
0
 def comma_choice_list(cls, string):
     '''Convert a comma separated string to `CommaChoiceListArgs`.'''
     items = string.split(',')
     items = CommaChoiceListArgs([item.strip() for item in items])
     return items
Exemplo n.º 5
0
 def comma_list(cls, string):
     """Convert a comma separated string to list."""
     items = string.split(",")
     items = list([item.strip() for item in items])
     return items