mirror of
				https://github.com/graphql-python/graphene.git
				synced 2025-10-30 23:47:55 +03:00 
			
		
		
		
	Docs: fix typos in example for relay nodes
This commit is contained in:
		
							parent
							
								
									5036d164b7
								
							
						
					
					
						commit
						7afeaa052b
					
				|  | @ -55,7 +55,7 @@ Example of a custom node: | ||||||
|             return '{}:{}'.format(type, id) |             return '{}:{}'.format(type, id) | ||||||
| 
 | 
 | ||||||
|         @staticmethod |         @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(':') |             type, id = global_id.split(':') | ||||||
|             if only_node: |             if only_node: | ||||||
|                 # We assure that the node type that we want to retrieve |                 # We assure that the node type that we want to retrieve | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user