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

Method _storeAndUseAttributes

github/GithubObject.py:265–270  ·  view source on GitHub ↗
(self, headers: dict[str, str | int], attributes: Any)

Source from the content-addressed store, hash-verified

263 requester.check_me(self)
264
265 def _storeAndUseAttributes(self, headers: dict[str, str | int], attributes: Any) -> None:
266 # Make sure headers are assigned before calling _useAttributes
267 # (Some derived classes will use headers in _useAttributes)
268 self._headers = headers
269 self._rawData = attributes
270 self._useAttributes(attributes)
271
272 @property
273 def requester(self) -> Requester:

Callers 3

__init__Method · 0.95
_completeMethod · 0.80
updateMethod · 0.80

Calls 1

_useAttributesMethod · 0.95

Tested by

no test coverage detected