Skip to content

Commit 98e10f0

Browse files
authored
Replace INVALID with Undefined (#1146)
1 parent ac98be7 commit 98e10f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

graphene/types/schema.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
GraphQLObjectType,
2323
GraphQLSchema,
2424
GraphQLString,
25-
INVALID,
25+
Undefined,
2626
)
2727

2828
from ..utils.str_converters import to_camel_case
@@ -357,7 +357,7 @@ def construct_fields_for_type(self, map_, type_, is_input_type=False):
357357
arg_type,
358358
out_name=arg_name,
359359
description=arg.description,
360-
default_value=INVALID
360+
default_value=Undefined
361361
if isinstance(arg.type, NonNull)
362362
else arg.default_value,
363363
)

0 commit comments

Comments
 (0)