5555 GraphQLInputField ,
5656 GraphQLInputFieldMap ,
5757 GraphQLInputObjectType ,
58+ GraphQLInputObjectTypeKwargs ,
5859 GraphQLInputType ,
5960 GraphQLInterfaceType ,
61+ GraphQLInterfaceTypeKwargs ,
6062 GraphQLList ,
6163 GraphQLNamedType ,
6264 GraphQLNonNull ,
6365 GraphQLNullableType ,
6466 GraphQLObjectType ,
67+ GraphQLObjectTypeKwargs ,
6568 GraphQLOutputType ,
6669 GraphQLScalarType ,
6770 GraphQLSchema ,
6871 GraphQLSchemaKwargs ,
6972 GraphQLSpecifiedByDirective ,
7073 GraphQLType ,
7174 GraphQLUnionType ,
75+ GraphQLUnionTypeKwargs ,
7276 assert_schema ,
7377 introspection_types ,
7478 is_enum_type ,
@@ -326,7 +330,7 @@ def extend_named_type(self, type_: GraphQLNamedType) -> GraphQLNamedType:
326330 raise TypeError (msg ) # pragma: no cover
327331
328332 def extend_input_object_type_fields (
329- self , kwargs : dict [ str , Any ] , extensions : tuple [Any , ...]
333+ self , kwargs : GraphQLInputObjectTypeKwargs , extensions : tuple [Any , ...]
330334 ) -> GraphQLInputFieldMap :
331335 """Extend GraphQL input object type fields."""
332336 return {
@@ -392,7 +396,7 @@ def extend_scalar_type(self, type_: GraphQLScalarType) -> GraphQLScalarType:
392396 )
393397
394398 def extend_object_type_interfaces (
395- self , kwargs : dict [ str , Any ] , extensions : tuple [Any , ...]
399+ self , kwargs : GraphQLObjectTypeKwargs , extensions : tuple [Any , ...]
396400 ) -> list [GraphQLInterfaceType ]:
397401 """Extend a GraphQL object type interface."""
398402 return [
@@ -401,7 +405,7 @@ def extend_object_type_interfaces(
401405 ] + self .build_interfaces (extensions )
402406
403407 def extend_object_type_fields (
404- self , kwargs : dict [ str , Any ] , extensions : tuple [Any , ...]
408+ self , kwargs : GraphQLObjectTypeKwargs , extensions : tuple [Any , ...]
405409 ) -> GraphQLFieldMap :
406410 """Extend GraphQL object type fields."""
407411 return {
@@ -430,7 +434,7 @@ def extend_object_type(self, type_: GraphQLObjectType) -> GraphQLObjectType:
430434 )
431435
432436 def extend_interface_type_interfaces (
433- self , kwargs : dict [ str , Any ] , extensions : tuple [Any , ...]
437+ self , kwargs : GraphQLInterfaceTypeKwargs , extensions : tuple [Any , ...]
434438 ) -> list [GraphQLInterfaceType ]:
435439 """Extend GraphQL interface type interfaces."""
436440 return [
@@ -439,7 +443,7 @@ def extend_interface_type_interfaces(
439443 ] + self .build_interfaces (extensions )
440444
441445 def extend_interface_type_fields (
442- self , kwargs : dict [ str , Any ] , extensions : tuple [Any , ...]
446+ self , kwargs : GraphQLInterfaceTypeKwargs , extensions : tuple [Any , ...]
443447 ) -> GraphQLFieldMap :
444448 """Extend GraphQL interface type fields."""
445449 return {
@@ -470,7 +474,7 @@ def extend_interface_type(
470474 )
471475
472476 def extend_union_type_types (
473- self , kwargs : dict [ str , Any ] , extensions : tuple [Any , ...]
477+ self , kwargs : GraphQLUnionTypeKwargs , extensions : tuple [Any , ...]
474478 ) -> list [GraphQLObjectType ]:
475479 """Extend types of a GraphQL union type."""
476480 return [
0 commit comments