(self, **changes)
| 148 | return f"<Doc error during repr: {e}>" |
| 149 | |
| 150 | def _replace(self, **changes): |
| 151 | new_tuple = ( |
| 152 | changes.get("id", self.id), |
| 153 | changes.get("score", self.score), |
| 154 | changes.get("fields", self.fields.copy() if self.fields else None), |
| 155 | changes.get("vectors", self.vectors.copy() if self.vectors else None), |
| 156 | ) |
| 157 | return type(self)._from_tuple(new_tuple) |
| 158 | |
| 159 | @classmethod |
| 160 | def _from_tuple( |
no test coverage detected