mirror of
				https://github.com/graphql-python/graphene.git
				synced 2025-11-04 09:57:41 +03:00 
			
		
		
		
	Fix example query in quickstart doc (#1139)
This commit is contained in:
		
							parent
							
								
									be97a369f7
								
							
						
					
					
						commit
						ba5b7dd3d7
					
				| 
						 | 
					@ -127,7 +127,7 @@ Then we can start querying our **Schema** by passing a GraphQL query string to `
 | 
				
			||||||
    query_string = '{ hello }'
 | 
					    query_string = '{ hello }'
 | 
				
			||||||
    result = schema.execute(query_string)
 | 
					    result = schema.execute(query_string)
 | 
				
			||||||
    print(result.data['hello'])
 | 
					    print(result.data['hello'])
 | 
				
			||||||
    # "Hello stranger"
 | 
					    # "Hello stranger!"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # or passing the argument in the query
 | 
					    # or passing the argument in the query
 | 
				
			||||||
    query_with_argument = '{ hello(name: "GraphQL") }'
 | 
					    query_with_argument = '{ hello(name: "GraphQL") }'
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user