Skip to content

Commit 0668626

Browse files
committed
build_client_schema should handle missing descriptions
1 parent fe703f0 commit 0668626

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphql/utils/build_client_schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ def build_input_value_def_map(input_value_introspection, argument_type):
253253

254254
def build_input_value(input_value_introspection, argument_type):
255255
input_value = argument_type(
256-
description=input_value_introspection["description"],
256+
description=input_value_introspection.get("description"),
257257
type=get_input_type(input_value_introspection["type"]),
258258
default_value=build_default_value(input_value_introspection),
259259
)

0 commit comments

Comments
 (0)