-
Notifications
You must be signed in to change notification settings - Fork 234
Closed
Description
The following code snippet fails, reason so far unclear:
class MyOtherDoc(BaseDoc):
embedding: Optional[AnyEmbedding]
da = DocVec[MyOtherDoc](
[
MyOtherDoc(
),
MyOtherDoc(
),
]
)
proto = da.to_protobuf()
TypeError: Parameter to MergeFrom() must be instance of same class: expected <class 'docarray_pb2.NdArrayProto'> got <class 'NoneType'>.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done