From ff3dc6a66d5d61d4002355407eb7a66bf2d84590 Mon Sep 17 00:00:00 2001 From: Syrus Akbary Date: Thu, 2 Mar 2017 19:38:05 -0800 Subject: [PATCH] Prettified schema --- graphene/types/schema.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/graphene/types/schema.py b/graphene/types/schema.py index 63211dc6..97462235 100644 --- a/graphene/types/schema.py +++ b/graphene/types/schema.py @@ -104,4 +104,10 @@ class Schema(GraphQLSchema): ] if self.types: initial_types += self.types - self._type_map = TypeMap(initial_types, auto_camelcase=self.auto_camelcase, schema=self, resolvers=self._resolvers) + + self._type_map = TypeMap( + initial_types, + auto_camelcase=self.auto_camelcase, + schema=self, + resolvers=self._resolvers + )