From 96aec00f4bb5014a20fb4c9d550999aa8cae3f92 Mon Sep 17 00:00:00 2001 From: Christoph Zwerschke Date: Fri, 5 Jan 2018 22:54:21 +0100 Subject: [PATCH] Fix a small problem in the TypeInfo utility class It checks for list values, so the leave method should be suffixed ListValue, not ListType. The enter method has the proper name. --- graphql/utils/type_info.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/graphql/utils/type_info.py b/graphql/utils/type_info.py index d9a17fd8..c74beca7 100644 --- a/graphql/utils/type_info.py +++ b/graphql/utils/type_info.py @@ -148,7 +148,7 @@ def leave_Argument(self): self._argument = None pop(self._input_type_stack) - def leave_ListType(self): + def leave_ListValue(self): pop(self._input_type_stack) - leave_ObjectField = leave_ListType + leave_ObjectField = leave_ListValue