How to connect class from my pc to anvil

I am able to connect function using uplink but i am not able to connect python classes

anvil.server.connect(“server_something”)

@anvil.server.portable_class(’_Test’)
class Test:

I am unable call this class on client or server code
Can i get an example code to do this.

See this discussion

If that doesn’t help you might need to provide some more code snippets for others to help out.

2 Likes