Skip to content

Commit 8b46ecf

Browse files
committed
Updated repr form to match python convention
1 parent a4ce5c7 commit 8b46ecf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bson/binary.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ def __init__(self, data: Sequence[float | int], dtype: BinaryVectorDtype, paddin
248248
self.padding = padding
249249

250250
def __repr__(self) -> str:
251-
return f"BinaryVector - {self.dtype=}, {self.dtype},{self.padding=}, {self.data=}"
251+
return f"BinaryVector(dtype={self.dtype}, padding={self.padding}, data={self.data})"
252252

253253

254254
class Binary(bytes):

0 commit comments

Comments
 (0)