MCPcopy
hub / github.com/PyGithub/PyGithub / _useAttributes

Method _useAttributes

github/ContentFile.py:300–303  ·  view source on GitHub ↗
(self, attributes: dict[str, Any])

Source from the content-addressed store, hash-verified

298 return self._score.value
299
300 def _useAttributes(self, attributes: dict[str, Any]) -> None:
301 super()._useAttributes(attributes)
302 if "score" in attributes: # pragma no branch
303 self._score = self._makeFloatAttribute(attributes["score"])

Callers

nothing calls this directly

Calls 2

_makeFloatAttributeMethod · 0.80
_useAttributesMethod · 0.45

Tested by

no test coverage detected