(self)
| 871 | return response.unpack_response(cursor_id, codec_options, user_fields, legacy_response) |
| 872 | |
| 873 | def _get_read_preference(self) -> _ServerMode: |
| 874 | if self._read_preference is None: |
| 875 | # Save the read preference for getMore commands. |
| 876 | self._read_preference = self._collection._read_preference_for(self.session) |
| 877 | return self._read_preference |
| 878 | |
| 879 | def __copy__(self) -> Cursor[_DocumentType]: |
| 880 | """Support function for `copy.copy()`. |
no test coverage detected