Add standard __repr__ functionality. This could be in the form of a decorator, a mixin, or both. The Python docs say this should return a representation which could be used to create the object (if this is possible). Let's aim for that, and not worry about minimalism of the repr at first (that is, it shouldn't worry about trying to output the minimal possible string which could be used to recreate the object).
Add standard
__repr__
functionality. This could be in the form of a decorator, a mixin, or both. The Python docs say this should return a representation which could be used to create the object (if this is possible). Let's aim for that, and not worry about minimalism of the repr at first (that is, it shouldn't worry about trying to output the minimal possible string which could be used to recreate the object).