I have this code at the client side:
def button_test_click(self, **event_args):
rc_dict = {'10': [(1, 1), (1, 2), (2, 2)], '11': [(1, 3), (2, 3)]}
print("CLIENT rc-dict:", rc_dict)
anvil.server.call('test', rc_dict)
and this code at the server side:
@anvil.server.callable
def test(rc_dict):
print("SERVER rc_dict:", rc_dict)
Which gives the following result:
CLIENT rc-dict: {‘10’: [(1, 1), (1, 2), (2, 2)], ‘11’: [(1, 3), (2, 3)]}
SERVER rc_dict: {‘10’: [[1, 1], [1, 2], [2, 2]], ‘11’: [[1, 3], [2, 3]]}
Apparantly the tuples changed into lists! What is happing here?