(self, attributes: dict[str, Any])
| 74 | return self._version.value |
| 75 | |
| 76 | def _useAttributes(self, attributes: dict[str, Any]) -> None: |
| 77 | if "score" in attributes and attributes["score"] is not None: # pragma no branch |
| 78 | # ensure string so we don't have all the float extra nonsense |
| 79 | self._score = self._makeDecimalAttribute(Decimal(str(attributes["score"]))) |
| 80 | if "vector_string" in attributes and attributes["vector_string"] is not None: # pragma no branch |
| 81 | self._vector_string = self._makeStringAttribute(attributes["vector_string"]) |
| 82 | self._version = self._makeDecimalAttribute(Decimal(self.vector_string.split(":")[1].split("/")[0])) |
nothing calls this directly
no test coverage detected