Hi @stu, this might be the case
Does the below code fix the issue?
s = datetime.datetime.now() # Any code you write here will run when the form opens. r = anvil.server.call('sc') print('time') print(datetime.datetime.now()-s) print('dict') print(r)