Skip to content

Commit 916ec33

Browse files
committed
Remove dataclass decorator from BinaryVector. Instead, add __init__ and __repr__ manually.
1 parent 389b1cf commit 916ec33

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

bson/binary.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
from __future__ import annotations
1515

1616
import struct
17-
from dataclasses import dataclass
1817
from enum import Enum
1918
from typing import TYPE_CHECKING, Any, Optional, Sequence, Tuple, Type, Union, overload
2019
from uuid import UUID
@@ -227,7 +226,6 @@ class BinaryVectorDtype(Enum):
227226
PACKED_BIT = b"\x10"
228227

229228

230-
@dataclass
231229
class BinaryVector:
232230
"""Vector of numbers along with metadata for binary interoperability.
233231
.. versionadded:: 4.10

0 commit comments

Comments
 (0)