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

Method _makeHttpDatetimeAttribute

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

Source from the content-addressed store, hash-verified

361
362 @staticmethod
363 def _makeHttpDatetimeAttribute(value: str | None) -> Attribute[datetime]:
364 return GithubObject.__makeTransformedAttribute(value, str, _datetime_from_http_date) # type: ignore
365
366 def _makeClassAttribute(self, klass: type[T_gh], value: Any) -> Attribute[T_gh]:
367 return GithubObject.__makeTransformedAttribute(

Calls 1

Tested by

no test coverage detected