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

Add informative __repr__ methods #15

Open
kgbaird opened this issue Apr 24, 2016 · 2 comments
Open

Add informative __repr__ methods #15

kgbaird opened this issue Apr 24, 2016 · 2 comments

Comments

@kgbaird
Copy link

kgbaird commented Apr 24, 2016

This library would be much more user-friendly if the custom objects included informative __repr__ methods on them.

@p2
Copy link
Member

p2 commented Apr 24, 2016

Yes sure! What would you like to see in there? I often use as_json() but am guessing it's overkill to add that to the repr.

@p2 p2 added the enhancement label Apr 24, 2016
@kgbaird
Copy link
Author

kgbaird commented Apr 25, 2016

In our use, it appears most of the objects are just key-values of attributes. Having a visual of the attributes would be nice. as_json() doesn't sound that bad to me, but it probably is a bit much.

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

2 participants