@@ -57,7 +57,6 @@ def validate_schema(schema: GraphQLSchema) -> List[GraphQLError]:
57
57
# noinspection PyProtectedMember
58
58
errors = schema ._validation_errors
59
59
if errors is None :
60
-
61
60
# Validate the schema, producing a list of errors.
62
61
context = SchemaValidationContext (schema )
63
62
context .validate_root_types ()
@@ -196,7 +195,6 @@ def validate_name(self, node: Any, name: Optional[str] = None) -> None:
196
195
def validate_types (self ) -> None :
197
196
validate_input_object_circular_refs = InputObjectCircularRefsValidator (self )
198
197
for type_ in self .schema .type_map .values ():
199
-
200
198
# Ensure all provided types are in fact GraphQL type.
201
199
if not is_named_type (type_ ):
202
200
self .report_error (
@@ -247,7 +245,6 @@ def validate_fields(
247
245
)
248
246
249
247
for field_name , field in fields .items ():
250
-
251
248
# Ensure they are named correctly.
252
249
self .validate_name (field , field_name )
253
250
@@ -463,7 +460,6 @@ def validate_input_fields(self, input_obj: GraphQLInputObjectType) -> None:
463
460
464
461
# Ensure the arguments are valid
465
462
for field_name , field in fields .items ():
466
-
467
463
# Ensure they are named correctly.
468
464
self .validate_name (field , field_name )
469
465
0 commit comments