diff --git a/strawberry/utils/inspect.py b/strawberry/utils/inspect.py index 62d079ead8..d179042efd 100644 --- a/strawberry/utils/inspect.py +++ b/strawberry/utils/inspect.py @@ -1,6 +1,5 @@ import asyncio import inspect -from collections import OrderedDict from functools import lru_cache from itertools import zip_longest from typing import ( @@ -113,7 +112,7 @@ class IntBarFoo(IntBar, Foo[str]): ... for type_param, arg in list(param_args.items()): if arg is None or not isinstance(arg, TypeVar): continue - resolved_arg = param_args.get(arg, None) if arg is not type_param else None + resolved_arg = param_args.get(arg) if arg is not type_param else None param_args[type_param] = resolved_arg if resolved_arg: