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
"QdrantDocumentStore" is incompatible with protocol "DocumentStore"
"write_documents" is an incompatible type
Type "(documents: List[Document], policy: DuplicatePolicy = DuplicatePolicy.FAIL) -> (int | None)" cannot be assigned to type "(documents: List[Document], policy: DuplicatePolicy = DuplicatePolicy.NONE) -> int"
Function return type "int | None" is incompatible with type "int"
Type "int | None" cannot be assigned to type "int"
"delete_documents" is an incompatible type
Type "(ids: List[str]) -> None" cannot be assigned to type "(document_ids: List[str]) -> None"
Parameter name mismatch: "document_ids" versus "ids"
To Reproduce
Run type-checking on this code:
from haystack_integrations.document_stores.qdrant import QdrantDocumentStore
from haystack.components.writers import DocumentWriter
store = QdrantDocumentStore()
writer = DocumentWriter(store)
Describe your environment (please complete the following information):
OS: macOS 14.5
Haystack version: 2.4.0
Integration version: 4.2.0
The text was updated successfully, but these errors were encountered:
Describe the bug
To Reproduce
Run type-checking on this code:
Describe your environment (please complete the following information):
The text was updated successfully, but these errors were encountered: