mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-26 03:23:55 +03:00
Removed schema.register
This commit is contained in:
parent
cf8792ef9e
commit
df2900e215
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user