@@ -1373,6 +1373,7 @@ def __copy__(self) -> "GraphQLEnumValue": # pragma: no cover
13731373class GraphQLInputObjectTypeKwargs (GraphQLNamedTypeKwargs , total = False ):
13741374 fields : GraphQLInputFieldMap
13751375 out_type : Optional [GraphQLInputFieldOutType ]
1376+ is_one_of : bool
13761377
13771378
13781379class GraphQLInputObjectType (GraphQLNamedType ):
@@ -1402,6 +1403,7 @@ class GeoPoint(GraphQLInputObjectType):
14021403
14031404 ast_node : Optional [InputObjectTypeDefinitionNode ]
14041405 extension_ast_nodes : Tuple [InputObjectTypeExtensionNode , ...]
1406+ is_one_of : bool
14051407
14061408 def __init__ (
14071409 self ,
@@ -1412,6 +1414,7 @@ def __init__(
14121414 extensions : Optional [Dict [str , Any ]] = None ,
14131415 ast_node : Optional [InputObjectTypeDefinitionNode ] = None ,
14141416 extension_ast_nodes : Optional [Collection [InputObjectTypeExtensionNode ]] = None ,
1417+ is_one_of : bool = False ,
14151418 ) -> None :
14161419 super ().__init__ (
14171420 name = name ,
@@ -1437,6 +1440,7 @@ def __init__(
14371440 self ._fields = fields
14381441 if out_type is not None :
14391442 self .out_type = out_type # type: ignore
1443+ self .is_one_of = is_one_of
14401444
14411445 @staticmethod
14421446 def out_type (value : Dict [str , Any ]) -> Any :
@@ -1456,6 +1460,7 @@ def to_kwargs(self) -> GraphQLInputObjectTypeKwargs:
14561460 if self .out_type is GraphQLInputObjectType .out_type
14571461 else self .out_type
14581462 ),
1463+ is_one_of = self .is_one_of ,
14591464 )
14601465
14611466 def __copy__ (self ) -> "GraphQLInputObjectType" : # pragma: no cover
0 commit comments