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

Fix MarathonResource hash as well #205

Merged
merged 2 commits into from
Jun 27, 2017

Conversation

jolynch
Copy link
Contributor

@jolynch jolynch commented Jun 27, 2017

Turns out that Python3 does not allow child classes to inherit hash methods, if you explicitly define eq you also have to explicitly define eq.

MarathonTask -> MarathonResource -> MarathonObject, so for MarathonTasks to be hashible we actually need to define hash on MarathonResource.

Oops.

@jolynch
Copy link
Contributor Author

jolynch commented Jun 27, 2017

This should fix #203 for real

@solarkennedy solarkennedy merged commit c1e0c34 into thefactory:master Jun 27, 2017
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

Successfully merging this pull request may close these issues.

2 participants