as py list because R to Python conversion doesn't work with list is of length 1
as_py_list(x)
x
List if x is length 1 else x.
Related functions from the same R package
Useful links