Hi Sebastian,
I think if you want to pass more complex structures you need to convert the data into something that python can interpret. For example converting a dictionary to json and then parsing the json in python, or even converting to csv and then parsing.
There’s a thread here: Invoke python method
No ideal but it’s the only way I know that will work.
Best regards
Bob