MCPcopy
hub / github.com/PyGithub/PyGithub / _makeStringAttribute

Method _makeStringAttribute

github/GithubObject.py:327–328  ·  view source on GitHub ↗
(value: int | str | None)

Source from the content-addressed store, hash-verified

325
326 @staticmethod
327 def _makeStringAttribute(value: int | str | None) -> Attribute[str]:
328 return GithubObject.__makeSimpleAttribute(value, str)
329
330 @staticmethod
331 def _makeIntAttribute(value: int | str | None) -> Attribute[int]:

Callers 15

_useAttributesMethod · 0.80
_useAttributesMethod · 0.80
_useAttributesMethod · 0.80
_useAttributesMethod · 0.80
_useAttributesMethod · 0.80
_useAttributesMethod · 0.80
_useAttributesMethod · 0.80
_useAttributesMethod · 0.80
_useAttributesMethod · 0.80
_useAttributesMethod · 0.80
_useAttributesMethod · 0.80
_useAttributesMethod · 0.80

Calls 1

__makeSimpleAttributeMethod · 0.80

Tested by

no test coverage detected