MCPcopy
hub / github.com/PyGithub/PyGithub / _makeDatetimeAttribute

Method _makeDatetimeAttribute

github/GithubObject.py:359–360  ·  view source on GitHub ↗
(value: str | None)

Source from the content-addressed store, hash-verified

357
358 @staticmethod
359 def _makeDatetimeAttribute(value: str | None) -> Attribute[datetime]:
360 return GithubObject.__makeTransformedAttribute(value, str, _datetime_from_github_isoformat) # type: ignore
361
362 @staticmethod
363 def _makeHttpDatetimeAttribute(value: str | None) -> Attribute[datetime]:

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

Tested by

no test coverage detected