Removed schema.register

This commit is contained in:
Syrus Akbary 2016-11-22 23:08:28 -08:00
parent cf8792ef9e
commit df2900e215

View File

@ -61,9 +61,6 @@ class Schema(GraphQLSchema):
def execute(self, *args, **kwargs):
return graphql(self, *args, **kwargs)
def register(self, object_type):
self.types.append(object_type)
def introspect(self):
return self.execute(introspection_query).data