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
[/usr/local/lib/python3.10/dist-packages/astra_haystack/document_store.py](https://localhost:8080/#) in <module>10fromhaystackimportdefault_from_dict, default_to_dict11fromhaystack.dataclassesimportDocument--->12fromhaystack.document_storesimport (
13DuplicateDocumentError,
14DuplicatePolicy,
ImportError: cannotimportname'DuplicateDocumentError'from'haystack.document_stores' (/usr/local/lib/python3.10/dist-packages/haystack/document_stores/__init__.py)
I think this is because in the beta.5 release, the folder configuration has changed and now errors and DuplicatePolicy are now under the errors and types sub-folders.
Describe the bug
When trying to import the AstraDocumentStore, I get an error:
I think this is because in the beta.5 release, the folder configuration has changed and now errors and DuplicatePolicy are now under the
errors
andtypes
sub-folders.To Reproduce
Steps to reproduce the behavior. Feel free to link a Colab we can run to investigate the issue.
https://colab.research.google.com/drive/1WiRWYji4hbGGzuXZ_uTRagssOp4LbLga#scrollTo=A1iA_0dmXV3L
This colab requires a bunch of env variables to connect to Astra but since this error happens before the DB connection I think you can just put in dummy strings for those
Describe your environment (please complete the following information):
The text was updated successfully, but these errors were encountered: