MCPcopy Create free account
hub / github.com/mongodb/mongo-python-driver / _inflate_bson

Method _inflate_bson

bson/raw_bson.py:186–189  ·  view source on GitHub ↗
(
        bson_bytes: bytes | memoryview, codec_options: CodecOptions[RawBSONDocument]
    )

Source from the content-addressed store, hash-verified

184
185 @staticmethod
186 def _inflate_bson(
187 bson_bytes: bytes | memoryview, codec_options: CodecOptions[RawBSONDocument]
188 ) -> Mapping[str, Any]:
189 return _inflate_bson(bson_bytes, codec_options, raw_array=True)
190
191
192DEFAULT_RAW_BSON_OPTIONS: CodecOptions[RawBSONDocument] = DEFAULT.with_options(

Callers

nothing calls this directly

Calls 1

_inflate_bsonFunction · 0.85

Tested by

no test coverage detected