try fix lint

This commit is contained in:
allen-munsch 2022-10-24 09:57:56 -05:00
parent 25f155c4ba
commit c37b9f85bb
No known key found for this signature in database
GPG Key ID: 0C977048B8BDD447

View File

@ -453,10 +453,6 @@ class Schema:
return _type
def get_type(self, name):
"""
This will actually return a `GraphQLObjectType` of type `GrapheneObjectType` from graphql-core, not a graphene ObjectType.
These two are fundamentally different classes. That's the reason why your test is failing. You'd need to return the Graphene type here.
"""
return self.graphql_schema.type_map.get(name).graphene_type
def lazy(self, _type):