Skip to content

Commit b196d53

Browse files
committed
Fix tests
1 parent 7fd3b9c commit b196d53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

weaviate/collections/batch/grpc_batch_objects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def pack_vector(vector: Any) -> bytes:
5757
collection=obj.collection,
5858
vector_bytes=(
5959
pack_vector(obj.vector)
60-
if obj.vector is not None
60+
if obj.vector is not None and not isinstance(obj.vector, dict)
6161
else None
6262
),
6363
uuid=str(obj.uuid) if obj.uuid is not None else str(uuid_package.uuid4()),

0 commit comments

Comments
 (0)