Hi,
I’m using the Anvil Uplink to transmit data from my local DB to Anvil. What kind of datatypes are common for this?
In my jupyter notebook I’m very familiar with dataframes from pandas. This does not work out, right? Then I tried to transmit dicts, out of the dataframe. This does not work out as well? Here is my small example:
You should be able to pass standard python objects around no problem (e.g., dicts, lists, numbers, strings, etc), as long as they are serializable afaik.
Also, I’m a bit confused because above you have a server function called “test_func_dict” that is making a server call (anvil.server.call('get_data')), but you can call functions directly when in the server or uplinked (no need to use anvil.server.call unless you are on the client side). That may not be the issue but just wanted to clarify that.