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

Method _useAttributes

github/StatsCommitActivity.py:79–85  ·  view source on GitHub ↗
(self, attributes: dict[str, Any])

Source from the content-addressed store, hash-verified

77 return self._week.value
78
79 def _useAttributes(self, attributes: dict[str, Any]) -> None:
80 if "days" in attributes: # pragma no branch
81 self._days = self._makeListOfIntsAttribute(attributes["days"])
82 if "total" in attributes: # pragma no branch
83 self._total = self._makeIntAttribute(attributes["total"])
84 if "week" in attributes: # pragma no branch
85 self._week = self._makeTimestampAttribute(attributes["week"])

Callers

nothing calls this directly

Calls 3

_makeIntAttributeMethod · 0.80

Tested by

no test coverage detected