I have a project where we are attempting to create an easier interface for several python GIS libraries. Based on our desired design schema, we want a user to only use/reference superclass methods without knowing the inner workings of subclasses.
Based on a file path extension passed to the superclass' constructor, is it possible to create a subclass, and then have a user's call to super methods be processed through the subclass?
In other words, if a user wants to make and interact with a car, can they give a car class the blueprints for a Ferrari and have the car "superclass" reference Ferarri "subclass" methods?
This seems a bit backwards in terms of design principals.