I have a bunch of Python classes that I would like to "wrap" in a class that does $something but to the user looks just like the original class that it wraps (methods, attributes, constructor, etc)
How would you do that? Finally a use-case for metaclasses? Class decorator? Something different?
11 months ago