in pydeequ/scala_utils.py [0:0]
def java_list_to_python_list(java_list: str, datatype):
# TODO: Improve
# Currently turn the java object into a string and pass it through
start = java_list.index("(")
end = java_list.index(")")
empty_val = "" if datatype == str else None
return [datatype(i) if i != "" else empty_val for i in java_list[start + 1 : end].split(",")]