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

Method _inflate_bson

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

Source from the content-addressed store, hash-verified

157
158 @staticmethod
159 def _inflate_bson(
160 bson_bytes: bytes | memoryview, codec_options: CodecOptions[RawBSONDocument]
161 ) -> Mapping[str, Any]:
162 return _inflate_bson(bson_bytes, codec_options)
163
164 def __getitem__(self, item: str) -> Any:
165 return self.__inflated[item]

Callers 1

__inflatedMethod · 0.95

Calls 1

_inflate_bsonFunction · 0.85

Tested by

no test coverage detected