Skip to content

Commit

Permalink
fix: Move Info out of the TYPE_CHECKING block to prevent a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
bellini666 committed May 26, 2024
1 parent b63e328 commit 4e8c458
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion strawberry_django/fields/field.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
from strawberry import UNSET, relay
from strawberry.annotation import StrawberryAnnotation
from strawberry.types.fields.resolver import StrawberryResolver
from strawberry.types.info import Info # noqa: TCH002

from strawberry_django import optimizer
from strawberry_django.arguments import argument
Expand Down Expand Up @@ -57,7 +58,6 @@
)
from strawberry.field import _RESOLVER_TYPE, StrawberryField
from strawberry.relay.types import NodeIterableType
from strawberry.types.info import Info
from strawberry.unset import UnsetType
from typing_extensions import Literal, Self

Expand Down

0 comments on commit 4e8c458

Please sign in to comment.