Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve default string representation in @autodict #29

Closed
smarie opened this issue Nov 15, 2019 · 0 comments
Closed

Improve default string representation in @autodict #29

smarie opened this issue Nov 15, 2019 · 0 comments

Comments

@smarie
Copy link
Owner

smarie commented Nov 15, 2019

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

@smarie smarie changed the title Improve default string representation Improve default string representation in @autodict Nov 15, 2019
@smarie smarie closed this as completed in 4361555 Nov 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant