@@ -195,7 +195,7 @@ class UuidRepresentation:
195
195
196
196
197
197
VECTOR_SUBTYPE = 9
198
- """**(BETA)** BSON binary subtype for densely packed vector data.
198
+ """BSON binary subtype for densely packed vector data.
199
199
200
200
.. versionadded:: 4.10
201
201
"""
@@ -207,7 +207,7 @@ class UuidRepresentation:
207
207
208
208
209
209
class BinaryVectorDtype (Enum ):
210
- """**(BETA)** Datatypes of vector subtype.
210
+ """Datatypes of vector subtype.
211
211
212
212
:param FLOAT32: (0x27) Pack list of :class:`float` as float32
213
213
:param INT8: (0x03) Pack list of :class:`int` in [-128, 127] as signed int8
@@ -229,7 +229,7 @@ class BinaryVectorDtype(Enum):
229
229
230
230
@dataclass
231
231
class BinaryVector :
232
- """**(BETA)** Vector of numbers along with metadata for binary interoperability.
232
+ """Vector of numbers along with metadata for binary interoperability.
233
233
.. versionadded:: 4.10
234
234
"""
235
235
@@ -256,7 +256,7 @@ class Binary(bytes):
256
256
the difference between what should be considered binary data and
257
257
what should be considered a string when we encode to BSON.
258
258
259
- **(BETA)** Subtype 9 provides a space-efficient representation of 1-dimensional vector data.
259
+ Subtype 9 provides a space-efficient representation of 1-dimensional vector data.
260
260
Its data is prepended with two bytes of metadata.
261
261
The first (dtype) describes its data type, such as float32 or int8.
262
262
The second (padding) prescribes the number of bits to ignore in the final byte.
@@ -278,7 +278,7 @@ class Binary(bytes):
278
278
Support any bytes-like type that implements the buffer protocol.
279
279
280
280
.. versionchanged:: 4.10
281
- **(BETA)** Addition of vector subtype.
281
+ Addition of vector subtype.
282
282
"""
283
283
284
284
_type_marker = 5
@@ -416,7 +416,7 @@ def from_vector(
416
416
dtype : Optional [BinaryVectorDtype ] = None ,
417
417
padding : Optional [int ] = None ,
418
418
) -> Binary :
419
- """**(BETA)** Create a BSON :class:`~bson.binary.Binary` of Vector subtype.
419
+ """Create a BSON :class:`~bson.binary.Binary` of Vector subtype.
420
420
421
421
To interpret the representation of the numbers, a data type must be included.
422
422
See :class:`~bson.binary.BinaryVectorDtype` for available types and descriptions.
@@ -459,7 +459,7 @@ def from_vector(
459
459
return cls (metadata + data , subtype = VECTOR_SUBTYPE )
460
460
461
461
def as_vector (self ) -> BinaryVector :
462
- """**(BETA)** From the Binary, create a list of numbers, along with dtype and padding.
462
+ """From the Binary, create a list of numbers, along with dtype and padding.
463
463
464
464
:return: BinaryVector
465
465
0 commit comments