mirror of
https://github.com/graphql-python/graphene.git
synced 2025-07-18 12:02:19 +03:00
try fix lint
This commit is contained in:
parent
25f155c4ba
commit
c37b9f85bb
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue
Block a user