MCPcopy Index your code
hub / github.com/PyGithub/PyGithub / _useAttributes

Method _useAttributes

github/Repository.py:4975–4980  ·  view source on GitHub ↗
(self, attributes: dict[str, Any])

Source from the content-addressed store, hash-verified

4973 return self._text_matches.value
4974
4975 def _useAttributes(self, attributes: dict[str, Any]) -> None:
4976 super()._useAttributes(attributes)
4977 if "score" in attributes: # pragma no branch
4978 self._score = self._makeFloatAttribute(attributes["score"])
4979 if "text_matches" in attributes: # pragma no branch
4980 self._text_matches = self._makeDictAttribute(attributes["text_matches"])

Callers

nothing calls this directly

Calls 3

_makeFloatAttributeMethod · 0.80
_makeDictAttributeMethod · 0.80
_useAttributesMethod · 0.45

Tested by

no test coverage detected