Skip to content

Commit c971d84

Browse files
committed
Removed BETA advertisements on vector apis in binary.py
1 parent ec6fed4 commit c971d84

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

bson/binary.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ class UuidRepresentation:
195195

196196

197197
VECTOR_SUBTYPE = 9
198-
"""**(BETA)** BSON binary subtype for densely packed vector data.
198+
"""BSON binary subtype for densely packed vector data.
199199
200200
.. versionadded:: 4.10
201201
"""
@@ -207,7 +207,7 @@ class UuidRepresentation:
207207

208208

209209
class BinaryVectorDtype(Enum):
210-
"""**(BETA)** Datatypes of vector subtype.
210+
"""Datatypes of vector subtype.
211211
212212
:param FLOAT32: (0x27) Pack list of :class:`float` as float32
213213
:param INT8: (0x03) Pack list of :class:`int` in [-128, 127] as signed int8
@@ -229,7 +229,7 @@ class BinaryVectorDtype(Enum):
229229

230230
@dataclass
231231
class BinaryVector:
232-
"""**(BETA)** Vector of numbers along with metadata for binary interoperability.
232+
"""Vector of numbers along with metadata for binary interoperability.
233233
.. versionadded:: 4.10
234234
"""
235235

@@ -256,7 +256,7 @@ class Binary(bytes):
256256
the difference between what should be considered binary data and
257257
what should be considered a string when we encode to BSON.
258258
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.
260260
Its data is prepended with two bytes of metadata.
261261
The first (dtype) describes its data type, such as float32 or int8.
262262
The second (padding) prescribes the number of bits to ignore in the final byte.
@@ -278,7 +278,7 @@ class Binary(bytes):
278278
Support any bytes-like type that implements the buffer protocol.
279279
280280
.. versionchanged:: 4.10
281-
**(BETA)** Addition of vector subtype.
281+
Addition of vector subtype.
282282
"""
283283

284284
_type_marker = 5
@@ -416,7 +416,7 @@ def from_vector(
416416
dtype: Optional[BinaryVectorDtype] = None,
417417
padding: Optional[int] = None,
418418
) -> Binary:
419-
"""**(BETA)** Create a BSON :class:`~bson.binary.Binary` of Vector subtype.
419+
"""Create a BSON :class:`~bson.binary.Binary` of Vector subtype.
420420
421421
To interpret the representation of the numbers, a data type must be included.
422422
See :class:`~bson.binary.BinaryVectorDtype` for available types and descriptions.
@@ -459,7 +459,7 @@ def from_vector(
459459
return cls(metadata + data, subtype=VECTOR_SUBTYPE)
460460

461461
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.
463463
464464
:return: BinaryVector
465465

0 commit comments

Comments
 (0)