MCPcopy Index your code
hub / github.com/mongodb/mongo-python-driver / decode

Function decode

bson/__init__.py:1057–1058  ·  view source on GitHub ↗
(data: _ReadableBuffer, codec_options: None = None)

Source from the content-addressed store, hash-verified

1055
1056@overload
1057def decode(data: _ReadableBuffer, codec_options: None = None) -> dict[str, Any]:
1058 ...
1059
1060
1061@overload

Callers 15

test_contains_dbrefMethod · 0.90
test_basic_decodeMethod · 0.90
test_data_timestampMethod · 0.90
test_unknown_typeMethod · 0.90
test_dbpointerMethod · 0.90
test_bad_dbrefMethod · 0.90

Calls 1

_bson_to_dictFunction · 0.85

Tested by 15

test_contains_dbrefMethod · 0.72
test_basic_decodeMethod · 0.72
test_data_timestampMethod · 0.72
test_unknown_typeMethod · 0.72
test_dbpointerMethod · 0.72
test_bad_dbrefMethod · 0.72