List manip
ensure_list(ambiguous_item)
¶
If input is not a list, return list of input
Source code in automation/utils/list_manip.py
4 5 6 |
|
flatten_list(my_list)
¶
For a list containing embedded lists, generate 1d list with no 'None' vals
Source code in automation/utils/list_manip.py
9 10 11 12 13 14 15 16 17 18 |
|
list_to_or(entry)
¶
Given string or list, return items as string joined OR
Source code in automation/utils/list_manip.py
21 22 23 24 25 |
|