mirror of
				https://github.com/graphql-python/graphene-django.git
				synced 2025-10-30 23:47:30 +03:00 
			
		
		
		
	* Update travis and tox * Use xenial distribution * Don't install coveralls twice * Add black and flake8 tox commands * Remove Python 3.5 test for Django master * Fix indent * Ignore migrations * Remove black for now * Run black formatting (#668) * Run black format * Update makefile * Add black to travis build
		
			
				
	
	
		
			17 lines
		
	
	
		
			341 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			341 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| import cookbook.ingredients.schema
 | |
| import cookbook.recipes.schema
 | |
| import graphene
 | |
| 
 | |
| from graphene_django.debug import DjangoDebug
 | |
| 
 | |
| 
 | |
| class Query(
 | |
|     cookbook.ingredients.schema.Query,
 | |
|     cookbook.recipes.schema.Query,
 | |
|     graphene.ObjectType,
 | |
| ):
 | |
|     debug = graphene.Field(DjangoDebug, name="_debug")
 | |
| 
 | |
| 
 | |
| schema = graphene.Schema(query=Query)
 |