I want to define a base class so that when derived instances of classes are pickled, they are pickled as if they were instances of a base class. This is because derived classes can exist on the client side of the etching, but not on the server side, but this is not important for the server, since it only needs information from the base class. I do not want to dynamically create classes for each client.
The base class is just an “object descriptor” that contains the identifier, with methods defined on the server, but I would like the client to be able to subclass the server classes and define new methods (which only the client will see, but that doesn't matter).
source
share