@@ -1272,6 +1272,7 @@ class GraphQLInputObjectTypeKwargs(GraphQLNamedTypeKwargs, total=False):
12721272
12731273 fields : GraphQLInputFieldMap
12741274 out_type : GraphQLInputFieldOutType | None
1275+ is_one_of : bool
12751276
12761277
12771278class GraphQLInputObjectType (GraphQLNamedType ):
@@ -1301,6 +1302,7 @@ class GeoPoint(GraphQLInputObjectType):
13011302
13021303 ast_node : InputObjectTypeDefinitionNode | None
13031304 extension_ast_nodes : tuple [InputObjectTypeExtensionNode , ...]
1305+ is_one_of : bool
13041306
13051307 def __init__ (
13061308 self ,
@@ -1311,6 +1313,7 @@ def __init__(
13111313 extensions : dict [str , Any ] | None = None ,
13121314 ast_node : InputObjectTypeDefinitionNode | None = None ,
13131315 extension_ast_nodes : Collection [InputObjectTypeExtensionNode ] | None = None ,
1316+ is_one_of : bool = False ,
13141317 ) -> None :
13151318 super ().__init__ (
13161319 name = name ,
@@ -1322,6 +1325,7 @@ def __init__(
13221325 self ._fields = fields
13231326 if out_type is not None :
13241327 self .out_type = out_type # type: ignore
1328+ self .is_one_of = is_one_of
13251329
13261330 @staticmethod
13271331 def out_type (value : dict [str , Any ]) -> Any :
@@ -1340,6 +1344,7 @@ def to_kwargs(self) -> GraphQLInputObjectTypeKwargs:
13401344 out_type = None
13411345 if self .out_type is GraphQLInputObjectType .out_type
13421346 else self .out_type ,
1347+ is_one_of = self .is_one_of ,
13431348 )
13441349
13451350 def __copy__ (self ) -> GraphQLInputObjectType : # pragma: no cover
0 commit comments