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

Declared Python objects should override __repr__ #36

Open
wetneb opened this issue Feb 16, 2019 · 1 comment
Open

Declared Python objects should override __repr__ #36

wetneb opened this issue Feb 16, 2019 · 1 comment
Assignees

Comments

@wetneb
Copy link
Collaborator

wetneb commented Feb 16, 2019

When debugging, pyoai objects are displayed as <oaipmh.common.Header object at 0x7f024ea693d0>, which is not very helpful. Each class should override __repr__ to return a more useful representation.

@wetneb wetneb self-assigned this Feb 16, 2019
@interrogator
Copy link

Would be nice and should be non-breaking for other projects, so I'd support this one!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants