Merge NamedUser.pyi back to source (#2691)

This commit is contained in:
Trim21
2023-09-04 11:08:37 +02:00
committed by GitHub
parent 4347d35fe4
commit de4d0531a8
4 changed files with 143 additions and 426 deletions
+1 -1
View File
@@ -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,