mirror of
				https://github.com/graphql-python/graphene.git
				synced 2025-10-30 23:47:55 +03:00 
			
		
		
		
	Fixed Python3 errors
This commit is contained in:
		
							parent
							
								
									9b839f19e5
								
							
						
					
					
						commit
						df9dd33c74
					
				|  | @ -93,7 +93,7 @@ class ObjectType(six.with_metaclass(ObjectTypeMeta, FieldsClassType)): | |||
|         return GraphQLObjectType( | ||||
|             cls._meta.type_name, | ||||
|             description=cls._meta.description, | ||||
|             interfaces=map(schema.T, cls._meta.interfaces), | ||||
|             interfaces=list(map(schema.T, cls._meta.interfaces)), | ||||
|             fields=partial(cls.fields_internal_types, schema), | ||||
|             is_type_of=getattr(cls, 'is_type_of', None) | ||||
|         ) | ||||
|  |  | |||
|  | @ -34,7 +34,7 @@ class UnionType(six.with_metaclass(UnionTypeMeta, FieldsClassType)): | |||
| 
 | ||||
|         return GraphQLUnionType( | ||||
|             cls._meta.type_name, | ||||
|             types=map(schema.T, cls._meta.types), | ||||
|             types=list(map(schema.T, cls._meta.types)), | ||||
|             resolve_type=cls._resolve_type, | ||||
|             description=cls._meta.description, | ||||
|         ) | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user