enhance generic_repr to cascade down superclasses
Issue #2893
resolved
if we make MySQL's _String do this:
class _StringType(sqltypes.String):
"""Base for MySQL string types."""
def __repr__(self):
return util.generic_repr(self,
to_inspect=_StringType)
now we lose "length", unless we add it to additional_kw. This is silly, the to_inspect attribute of generic_repr should accept a list of classes, which we can assume propagates using kw.
Comments (4)
-
reporter -
reporter -
reporter - changed status to resolved
-
reporter - removed milestone
Removing milestone: 0.9.0 (automated comment)
- Log in to comment
tests we can add when this works: