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.
2 parents 1f5c0fe + ef18eb5 commit 5cce7deCopy full SHA for 5cce7de
graphene/relay/node.py
@@ -13,8 +13,8 @@ def is_node(objecttype):
13
Check if the given objecttype has Node as an interface
14
'''
15
assert issubclass(objecttype, ObjectType), (
16
- 'Only ObjectTypes can have a Node interface.'
17
- )
+ 'Only ObjectTypes can have a Node interface. Received %s'
+ ) % objecttype
18
for i in objecttype._meta.interfaces:
19
if issubclass(i, Node):
20
return True
0 commit comments