We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96f20b8 commit 1221bd6Copy full SHA for 1221bd6
1 file changed
typemap/type_eval/_apply_generic.py
@@ -67,7 +67,8 @@ def dump(self, *, _level: int = 0):
67
68
def substitute(ty, args):
69
if isinstance(ty, dict):
70
- return ty
+ # Handle typed dicts used as a type parameter
71
+ return {k: substitute(v, args) for k, v in ty.items()}
72
elif ty in args:
73
return args[ty]
74
elif isinstance(ty, (typing_GenericAlias, types.GenericAlias)):
0 commit comments