(
data: Any,
position: int,
obj_end: int,
opts: CodecOptions[RawBSONDocument],
result: _T,
raw_array: bool = False,
)
| 582 | |
| 583 | |
| 584 | def _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 | |
| 598 | def _elements_to_dict( |
no test coverage detected