Call 2 method from anvil.server.callable

can I put 2 method in anvil.server.callable in server side ?

I have tried it but always get error uplink disconnected for the second method

Code Sample:
here is what I mean :

@anvil.server.callable

#1st method
def image():
   pass

#2nd method
def process():
   pass

the 1st method is fine, but the 2nd method always disconnected

Sorry, I am new in anvil

@anvil.server.callable goes in front of each method that you want callable from the client.

2 Likes

ah i see, thank you so much, it works