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

can't call __name__ on normalize record instances #56

Open
asherf opened this issue Mar 26, 2015 · 1 comment
Open

can't call __name__ on normalize record instances #56

asherf opened this issue Mar 26, 2015 · 1 comment

Comments

@asherf
Copy link

asherf commented Mar 26, 2015

it should return the type name, not raise an attribute error:
AttributeError: 'MyRecord' object has no attribute 'name'

@samv
Copy link
Contributor

samv commented Mar 31, 2015

Shouldn't you be calling type(x).__name__ (or x.__class__.__name__ ) ?

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

No branches or pull requests

2 participants