Skip to content

Fix pickling in AnnoyIndex objects#26

Open
nlddfn wants to merge 2 commits intoiheartradio:masterfrom
nlddfn:bnbs
Open

Fix pickling in AnnoyIndex objects#26
nlddfn wants to merge 2 commits intoiheartradio:masterfrom
nlddfn:bnbs

Conversation

@nlddfn
Copy link

@nlddfn nlddfn commented Apr 25, 2019

Fixed the issue with dill by removing the Annoy objects before saving and then adding them back.
Not elegant but functional. Tested with TOX (6 tests passes, 83% coverage) for py27 and py36

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.

1 participant