mirror of
				https://github.com/graphql-python/graphene.git
				synced 2025-10-31 16:07:27 +03:00 
			
		
		
		
	Added relay imports to Graphene.
This commit is contained in:
		
							parent
							
								
									7940f02ba9
								
							
						
					
					
						commit
						6f99372287
					
				|  | @ -1,4 +1,5 @@ | ||||||
| from .types import ( | from .types import ( | ||||||
|  |     AbstractType, | ||||||
|     ObjectType, |     ObjectType, | ||||||
|     InputObjectType, |     InputObjectType, | ||||||
|     Interface, |     Interface, | ||||||
|  | @ -12,9 +13,17 @@ from .types import ( | ||||||
|     Argument, |     Argument, | ||||||
|     Dynamic |     Dynamic | ||||||
| ) | ) | ||||||
|  | from .relay import ( | ||||||
|  |     Node, | ||||||
|  |     is_node, | ||||||
|  |     ClientIDMutation, | ||||||
|  |     Connection, | ||||||
|  |     ConnectionField | ||||||
|  | ) | ||||||
| from .utils.resolve_only_args import resolve_only_args | from .utils.resolve_only_args import resolve_only_args | ||||||
| 
 | 
 | ||||||
| __all__ = [ | __all__ = [ | ||||||
|  |     'AbstractType', | ||||||
|     'ObjectType', |     'ObjectType', | ||||||
|     'InputObjectType', |     'InputObjectType', | ||||||
|     'Interface', |     'Interface', | ||||||
|  | @ -32,4 +41,9 @@ __all__ = [ | ||||||
|     'NonNull', |     'NonNull', | ||||||
|     'Argument', |     'Argument', | ||||||
|     'Dynamic', |     'Dynamic', | ||||||
|     'resolve_only_args'] |     'resolve_only_args', | ||||||
|  |     'Node', | ||||||
|  |     'is_node', | ||||||
|  |     'ClientIDMutation', | ||||||
|  |     'Connection', | ||||||
|  |     'ConnectionField'] | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user