MCPcopy
hub / github.com/PyGithub/PyGithub / _makeIntAttribute

Method _makeIntAttribute

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

Source from the content-addressed store, hash-verified

329
330 @staticmethod
331 def _makeIntAttribute(value: int | str | None) -> Attribute[int]:
332 return GithubObject.__makeSimpleAttribute(value, int)
333
334 @staticmethod
335 def _makeDecimalAttribute(value: Decimal | None) -> Attribute[Decimal]:

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