-
Notifications
You must be signed in to change notification settings - Fork 237
Closed
Labels
good-first-issueSuitable as your first contribution to DocArray!Suitable as your first contribution to DocArray!type/bugSomething isn't workingSomething isn't working
Description
Equality between instances of DocVec does not seem to work properly:
from docarray import BaseDoc, DocList
class CustomDocument(BaseDoc):
image: str
da = DocList[CustomDocument](
[CustomDocument(image='hi') for _ in range(10)]
).to_doc_vec()
da2 = DocList[CustomDocument](
[CustomDocument(image='hi') for _ in range(10)]
).to_doc_vec()
print(da == da2)FalseReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good-first-issueSuitable as your first contribution to DocArray!Suitable as your first contribution to DocArray!type/bugSomething isn't workingSomething isn't working
Type
Projects
Status
Done