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 inheritance chain for load_word2vec_format (return correct class in case when you create an child class based on kv) #1968

Merged
merged 2 commits into from
Mar 9, 2018

Conversation

DennisChen0307
Copy link
Contributor

If I create a child class from Word2VecKeyedVectors/KeyedVector this method will always return a instance of its parent class, which is not correct

@menshikh-iv
Copy link
Contributor

Nice catch, thank you @DennisChen0307, congratz with the first contribution 🥇

@menshikh-iv menshikh-iv changed the title fix the inheritance chain Fix inheritance chain for load_word2vec_format (return correct class in case when you create an child class based on kv) Mar 9, 2018
@menshikh-iv menshikh-iv merged commit 2ee7a2c into piskvorky:develop Mar 9, 2018
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.

None yet

2 participants