File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,5 +5,3 @@ All notable unreleased changes to this project will be documented in this file.
55For released versions, see the [ Releases] ( https://github.com/mirumee/ariadne/releases ) page.
66
77## Unreleased
8-
9-
Original file line number Diff line number Diff line change 44from starlette .datastructures import UploadFile
55
66try :
7- from python_multipart .multipart import File # type : ignore[import-untyped]
7+ from python_multipart .multipart import File # ty : ignore
88except ImportError :
99
1010 class File :
Original file line number Diff line number Diff line change 55
66from graphql import GraphQLResolveInfo
77from graphql .pyutils import is_awaitable
8- from opentelemetry .trace import ( # type: ignore[import-untyped]
8+ from opentelemetry .trace import ( # type: ignore[import-untyped] # ty: ignore
99 Context ,
1010 Span ,
1111 Tracer ,
Original file line number Diff line number Diff line change 77from ...resolvers import is_default_resolver
88
99try :
10- from python_multipart .multipart import File # type: ignore[import-untyped]
10+ from python_multipart .multipart import ( # ty: ignore
11+ File , # type: ignore[import-untyped]
12+ )
1113except ImportError :
1214
1315 class File :
Original file line number Diff line number Diff line change @@ -717,9 +717,9 @@ def heal_type(
717717 ) -> GraphQLList | GraphQLNamedType | GraphQLNonNull :
718718 # Unwrap the two known wrapper types
719719 if isinstance (type_ , GraphQLList ):
720- type_ = GraphQLList (heal_type (type_ .of_type )) # type: ignore[arg-type]
720+ type_ = GraphQLList (heal_type (type_ .of_type )) # type: ignore[arg-type] # ty: ignore
721721 elif isinstance (type_ , GraphQLNonNull ):
722- type_ = GraphQLNonNull (heal_type (type_ .of_type )) # type: ignore[arg-type]
722+ type_ = GraphQLNonNull (heal_type (type_ .of_type )) # type: ignore[arg-type] # ty: ignore
723723 elif is_named_type (type_ ):
724724 # If a type annotation on a field or an argument or a union member is
725725 # any `GraphQLNamedType` with a `name`, then it must end up identical
Original file line number Diff line number Diff line change 3737)
3838
3939try :
40- from python_multipart import parse_form # type: ignore[import-untyped]
40+ from python_multipart import parse_form # type: ignore[import-untyped] # ty: ignore
4141except ImportError :
4242
4343 def parse_form (* _args , ** _kwargs ):
You can’t perform that action at this time.
0 commit comments