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

Method _useAttributes

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

Source from the content-addressed store, hash-verified

878 return self._priority_position.value
879
880 def _useAttributes(self, attributes: dict[str, Any]) -> None:
881 super()._useAttributes(attributes)
882 # Process sub-issue specific attributes
883 if "parent_issue" in attributes:
884 self._parent_issue = self._makeClassAttribute(Issue, attributes["parent_issue"])
885 if "priority_position" in attributes:
886 self._priority_position = self._makeIntAttribute(attributes["priority_position"])

Callers

nothing calls this directly

Calls 3

_makeClassAttributeMethod · 0.80
_makeIntAttributeMethod · 0.80
_useAttributesMethod · 0.45

Tested by

no test coverage detected