Skip to content
This repository was archived by the owner on Sep 9, 2026. It is now read-only.
This repository was archived by the owner on Sep 9, 2026. It is now read-only.

Bug: DocVec.to_protobuf() #1561

Closed
Closed

Description

@JohannesMessner

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'>.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions