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

Function as_rest_api_attributes_list

github/GithubObject.py:201–202  ·  view source on GitHub ↗
(graphql_attributes: list[dict[str, Any] | None])

Source from the content-addressed store, hash-verified

199
200
201def as_rest_api_attributes_list(graphql_attributes: list[dict[str, Any] | None]) -> list[dict[str, Any] | None]:
202 return [as_rest_api_attributes(v) if isinstance(v, dict) else v for v in graphql_attributes]
203
204
205class _ValuedAttribute(Attribute[T]):

Callers 3

_useAttributesMethod · 0.90
_useAttributesMethod · 0.90
as_rest_api_attributesFunction · 0.85

Calls 1

as_rest_api_attributesFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…