Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 8, 2025
1 parent 0edec31 commit 6b63ed0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions strawberry/utils/inspect.py
Original file line number Diff line number Diff line change
@@ -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 (
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 6b63ed0

Please sign in to comment.