smarie/python-autoclass

Improve default string representation in `@autodict`

smarie opened this issue · 0 comments

By default @autodict creates a string representation that is not very user-friendly (House({'name': 'mine', 'nb_floors': 100})).

Let's propose by default a better representation : House(name='mine', nb_floors=100)

Of course we should provide an option to fallback to legacy behaviour if users need it