MCPcopy
hub / github.com/PyGithub/PyGithub / _useAttributes

Method _useAttributes

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

Source from the content-addressed store, hash-verified

83 return self._status.value
84
85 def _useAttributes(self, attributes: dict[str, Any]) -> None:
86 if "configuration" in attributes: # pragma no branch
87 self._configuration = self._makeClassAttribute(
88 github.CodeSecurityConfig.CodeSecurityConfig, attributes["configuration"]
89 )
90 if "status" in attributes: # pragma no branch
91 self._status = self._makeStringAttribute(attributes["status"])

Callers

nothing calls this directly

Calls 2

_makeClassAttributeMethod · 0.80
_makeStringAttributeMethod · 0.80

Tested by

no test coverage detected