Skip to content

Commit f2482aa

Browse files
committed
Add a missing f-string prefix in an error message
1 parent 8d30f4f commit f2482aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/graphql/type/validate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ def validate_fields(self, type_: Union[GraphQLObjectType, GraphQLInterfaceType])
256256
if not is_output_type(field.type):
257257
self.report_error(
258258
f"The type of {type_.name}.{field_name}"
259-
" must be Output Type but got: {inspect(field.type)}.",
259+
f" must be Output Type but got: {inspect(field.type)}.",
260260
field.ast_node and field.ast_node.type,
261261
)
262262

0 commit comments

Comments
 (0)