mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
Merge Gist type stub back to source (#2655)
This commit is contained in:
@@ -273,12 +273,12 @@ class GithubObject:
|
||||
|
||||
def _makeDictOfStringsToClassesAttribute(
|
||||
self,
|
||||
klass: Type["NonCompletableGithubObject"],
|
||||
klass: Type[T_gh],
|
||||
value: Dict[
|
||||
str,
|
||||
Union[int, Dict[str, Union[str, int, None]], Dict[str, Union[str, int]]],
|
||||
],
|
||||
) -> Union[_ValuedAttribute, _BadAttribute]:
|
||||
) -> Attribute[Dict[str, T_gh]]:
|
||||
if isinstance(value, dict) and all(
|
||||
isinstance(key, str) and isinstance(element, dict) for key, element in value.items()
|
||||
):
|
||||
|
||||
Reference in New Issue
Block a user