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

BulkIndexError cannot be unpickled #2670

Closed
seagrine opened this issue Oct 17, 2024 · 2 comments
Closed

BulkIndexError cannot be unpickled #2670

seagrine opened this issue Oct 17, 2024 · 2 comments

Comments

@seagrine
Copy link
Contributor

It seems like BulkIndexError cannot be unpickled:

unpickle_exception\n inst = func(*args)\n ^^^^^^^^^^^\nTypeError: BulkIndexError.**init**() missing 1 required positional argument: 'errors

This creates problems with some libraries that expect errors to be serializable.

I put together a quick PR to fix this.

@seagrine
Copy link
Contributor Author

#2669

@pquentin
Copy link
Member

Closed in #2669

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants