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

Incorrect Subclassing in Handler Documentation #423

Closed
derks opened this issue Jan 2, 2017 · 2 comments
Closed

Incorrect Subclassing in Handler Documentation #423

derks opened this issue Jan 2, 2017 · 2 comments
Assignees
Milestone

Comments

@derks
Copy link
Member

derks commented Jan 2, 2017

Need to reference use of super() and make sure example are using it... currently, the example here is broken.

Ref: http://stackoverflow.com/questions/41361353/object-has-no-attribute-meta-in-python-cement-app

@derks derks added this to the 2.12.0 Stable milestone Jan 2, 2017
@derks derks self-assigned this Jan 2, 2017
@subhashb
Copy link
Contributor

subhashb commented Feb 4, 2017

@derks Will an explanation on how super() is involved and updating the handler example suffice to address this issue? I can give it a go.

@derks
Copy link
Member Author

derks commented Feb 4, 2017

@subhashb Yeah, just a quick reference to point out that super() is required for any class functions that are being sub-classed/overridden... and ensuring the examples are using it.

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