Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tibor-reiss committed Jul 25, 2024
1 parent 7fd3b9c commit b196d53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion weaviate/collections/batch/grpc_batch_objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def pack_vector(vector: Any) -> bytes:
collection=obj.collection,
vector_bytes=(
pack_vector(obj.vector)
if obj.vector is not None
if obj.vector is not None and not isinstance(obj.vector, dict)
else None
),
uuid=str(obj.uuid) if obj.uuid is not None else str(uuid_package.uuid4()),
Expand Down

0 comments on commit b196d53

Please sign in to comment.