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

Method _useAttributes

github/Issue.py:840–844  ·  view source on GitHub ↗
(self, attributes: dict[str, Any])

Source from the content-addressed store, hash-verified

838 return self._score.value
839
840 def _useAttributes(self, attributes: dict[str, Any]) -> None:
841 # TODO: remove if parent does not implement this
842 super()._useAttributes(attributes)
843 if "score" in attributes: # pragma no branch
844 self._score = self._makeFloatAttribute(attributes["score"])
845
846
847class SubIssue(Issue):

Callers

nothing calls this directly

Calls 2

_makeFloatAttributeMethod · 0.80
_useAttributesMethod · 0.45

Tested by

no test coverage detected