Skip to content

Hotfix/missing attribute #282

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

Merged
merged 4 commits into from
Feb 3, 2021

Conversation

marekhanus
Copy link
Contributor

@marekhanus marekhanus commented Feb 1, 2021

index.get_max_elements() throws:

AttributeError: 'hnswlib.Index' object has no attribute 'get_max_elements'

index.get_current_count() throws:

AttributeError: 'hnswlib.Index' object has no attribute 'get_current_count'

Version:

Python 3.8.1
hnswlib 0.5.0

Merge 0.5.0 changes to master
@marekhanus marekhanus force-pushed the hotfix/missing-attribute branch 2 times, most recently from 0c4ae1d to 9ca659d Compare February 1, 2021 21:21
@marekhanus marekhanus force-pushed the hotfix/missing-attribute branch from 9ca659d to 368bf40 Compare February 1, 2021 21:22
@marekhanus marekhanus marked this pull request as ready for review February 1, 2021 21:22
@yurymalkov
Copy link
Member

Thank you for the fix!!
Somehow I haven't noticed that the interface has changed.

@yurymalkov yurymalkov merged commit cafe1df into nmslib:develop Feb 3, 2021
@marekhanus
Copy link
Contributor Author

Thank you. Can you please release fixed 0.5.x version to pipy repository?

@yurymalkov
Copy link
Member

Pushed. Thank you again!

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