Skip to content

Commit 6b63ed0

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 0edec31 commit 6b63ed0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

strawberry/utils/inspect.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import asyncio
22
import inspect
3-
from collections import OrderedDict
43
from functools import lru_cache
54
from itertools import zip_longest
65
from typing import (
@@ -113,7 +112,7 @@ class IntBarFoo(IntBar, Foo[str]): ...
113112
for type_param, arg in list(param_args.items()):
114113
if arg is None or not isinstance(arg, TypeVar):
115114
continue
116-
resolved_arg = param_args.get(arg, None) if arg is not type_param else None
115+
resolved_arg = param_args.get(arg) if arg is not type_param else None
117116
param_args[type_param] = resolved_arg
118117

119118
if resolved_arg:

0 commit comments

Comments
 (0)