mirror of
				https://github.com/graphql-python/graphene.git
				synced 2025-11-04 09:57:41 +03:00 
			
		
		
		
	Fixed six import
This commit is contained in:
		
							parent
							
								
									038f81e8e1
								
							
						
					
					
						commit
						6c040e68a2
					
				| 
						 | 
				
			
			@ -1,8 +1,9 @@
 | 
			
		|||
from graphene.types.schema import Schema
 | 
			
		||||
 | 
			
		||||
import six
 | 
			
		||||
from graphql.error import format_error as format_graphql_error
 | 
			
		||||
from graphql.error import GraphQLError
 | 
			
		||||
 | 
			
		||||
from graphene.types.schema import Schema
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def default_format_error(error):
 | 
			
		||||
    if isinstance(error, GraphQLError):
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user