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

Method _useAttributes

github/NamedUser.py:753–756  ·  view source on GitHub ↗
(self, attributes: dict[str, Any])

Source from the content-addressed store, hash-verified

751 return self._score.value
752
753 def _useAttributes(self, attributes: dict[str, Any]) -> None:
754 super()._useAttributes(attributes)
755 if "score" in attributes: # pragma no branch
756 self._score = self._makeFloatAttribute(attributes["score"])
757
758
759# A better place would be github.OrganizationInvitation.OrganizationInvitation

Callers

nothing calls this directly

Calls 2

_makeFloatAttributeMethod · 0.80
_useAttributesMethod · 0.45

Tested by

no test coverage detected