Can lists be passed as parameters through the UI to your flow? It seems like when I do this, they get converted to a string, which I am not sure if this is the intended behavior. However, when i set a Parameter value to a list (e.g.
Parameter('abc', default=[1, 2, 3])
) in my python code it's fine.