We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb9286c commit 7b06e01Copy full SHA for 7b06e01
graphene/core/schema.py
@@ -52,6 +52,8 @@ def __getattr__(self, name):
52
def T(self, _type):
53
if not _type:
54
return
55
+ if isinstance(_type, ClassType):
56
+ _type = type(_type)
57
is_classtype = inspect.isclass(_type) and issubclass(_type, ClassType)
58
is_instancetype = isinstance(_type, InstanceType)
59
if is_classtype or is_instancetype:
0 commit comments