mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
Merge NamedUser.pyi back to source (#2691)
This commit is contained in:
@@ -236,7 +236,7 @@ class GithubObject:
|
||||
def _makeDatetimeAttribute(value: Optional[str]) -> Attribute[datetime]:
|
||||
return GithubObject.__makeTransformedAttribute(value, str, parser.parse) # type: ignore
|
||||
|
||||
def _makeClassAttribute(self, klass: Any, value: Any) -> Attribute:
|
||||
def _makeClassAttribute(self, klass: Type[T_gh], value: Any) -> Attribute[T_gh]:
|
||||
return GithubObject.__makeTransformedAttribute(
|
||||
value,
|
||||
dict,
|
||||
|
||||
Reference in New Issue
Block a user