We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14db97b commit 62865baCopy full SHA for 62865ba
bson/binary.py
@@ -443,6 +443,9 @@ def from_vector(
443
:param padding: For fractional bytes, number of bits to ignore at end of vector.
444
:return: Binary packed data identified by dtype and padding.
445
446
+ .. versionchanged:: 4.14
447
+ When padding is non-zero, ignored bits should be zero. Raise exception on encoding, warn on decoding.
448
+
449
.. versionadded:: 4.10
450
"""
451
if isinstance(vector, BinaryVector):
0 commit comments