The current behaviour is to generate a __repr__ if it can be generated, regardless if the class currently has a __repr__ or not.
The add command should only generate a __repr__ if the class does not have one,
Introduce an optional switch like --ignore-existing to add a __repr__ regardless.
The current behaviour is to generate a
__repr__
if it can be generated, regardless if the class currently has a__repr__
or not.The add command should only generate a
__repr__
if the class does not have one, Introduce an optional switch like--ignore-existing
to add a__repr__
regardless.