You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 20, 2019. It is now read-only.
Right now, unindex_objects is very difficult to use since it will fail if any of the provided indexes are not present. This means that it can't be used without some kind of error checking, or looking up to see if the items to be unindexed are already in the index.
This can likely be fixed by using a try block and catching the NotFoundError so that it doesn't die immediately upon unindexing an object not in the index. Maybe make an optional argument to the function to ignore missing objects?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Right now, unindex_objects is very difficult to use since it will fail if any of the provided indexes are not present. This means that it can't be used without some kind of error checking, or looking up to see if the items to be unindexed are already in the index.
This can likely be fixed by using a try block and catching the NotFoundError so that it doesn't die immediately upon unindexing an object not in the index. Maybe make an optional argument to the function to ignore missing objects?
The text was updated successfully, but these errors were encountered: