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

Function _raw_to_dict

bson/__init__.py:584–595  ·  view source on GitHub ↗
(
    data: Any,
    position: int,
    obj_end: int,
    opts: CodecOptions[RawBSONDocument],
    result: _T,
    raw_array: bool = False,
)

Source from the content-addressed store, hash-verified

582
583
584def _raw_to_dict(
585 data: Any,
586 position: int,
587 obj_end: int,
588 opts: CodecOptions[RawBSONDocument],
589 result: _T,
590 raw_array: bool = False,
591) -> _T:
592 data, view = get_data_and_view(data)
593 return cast(
594 _T, _elements_to_dict(data, view, position, obj_end, opts, result, raw_array=raw_array)
595 )
596
597
598def _elements_to_dict(

Callers 1

_inflate_bsonFunction · 0.90

Calls 2

get_data_and_viewFunction · 0.85
_elements_to_dictFunction · 0.85

Tested by

no test coverage detected