mirror of
				https://github.com/graphql-python/graphene.git
				synced 2025-11-04 01:47:45 +03:00 
			
		
		
		
	Update node.py
This commit is contained in:
		
							parent
							
								
									9e17044ddc
								
							
						
					
					
						commit
						7108bc8577
					
				| 
						 | 
					@ -88,7 +88,9 @@ class Node(AbstractNode):
 | 
				
			||||||
            _type, _id = cls.from_global_id(global_id)
 | 
					            _type, _id = cls.from_global_id(global_id)
 | 
				
			||||||
        except Exception as e:
 | 
					        except Exception as e:
 | 
				
			||||||
            raise Exception(
 | 
					            raise Exception(
 | 
				
			||||||
                f'Unable to parse global ID "{global_id}". Make sure it is a base64 encoded string in the format: "TypeName:id". Exception message: {e}'
 | 
					                f'Unable to parse global ID "{global_id}". '
 | 
				
			||||||
 | 
					                'Make sure it is a base64 encoded string in the format: "TypeName:id". '
 | 
				
			||||||
 | 
					                f"Exception message: {e}"
 | 
				
			||||||
            )
 | 
					            )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        graphene_type = info.schema.get_type(_type)
 | 
					        graphene_type = info.schema.get_type(_type)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user