Skip to content

Commit 7108bc8

Browse files
authored
Update node.py
1 parent 9e17044 commit 7108bc8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

graphene/relay/node.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,9 @@ def get_node_from_global_id(cls, info, global_id, only_type=None):
8888
_type, _id = cls.from_global_id(global_id)
8989
except Exception as e:
9090
raise Exception(
91-
f'Unable to parse global ID "{global_id}". Make sure it is a base64 encoded string in the format: "TypeName:id". Exception message: {e}'
91+
f'Unable to parse global ID "{global_id}". '
92+
'Make sure it is a base64 encoded string in the format: "TypeName:id". '
93+
f"Exception message: {e}"
9294
)
9395

9496
graphene_type = info.schema.get_type(_type)

0 commit comments

Comments
 (0)