mirror of
https://github.com/graphql-python/graphene.git
synced 2025-02-02 12:44:15 +03:00
Merge pull request #629 from simonwoerpel/master
Docs: fix typos in code-example for relay nodes
This commit is contained in:
commit
25dab925ee
|
@ -55,7 +55,7 @@ Example of a custom node:
|
|||
return '{}:{}'.format(type, id)
|
||||
|
||||
@staticmethod
|
||||
def get_node_from_global_id(info global_id, only_type=None):
|
||||
def get_node_from_global_id(info, global_id, only_node=None):
|
||||
type, id = global_id.split(':')
|
||||
if only_node:
|
||||
# We assure that the node type that we want to retrieve
|
||||
|
|
Loading…
Reference in New Issue
Block a user