Comments (1)
You have to write your own WSGI application. https://github.com/graphql-python/graphene-gae/blob/master/tests/_webapp2/test_graphql_handler.py gives some hints.
eg mygraphql.py:
import webapp2
from graphene_gae.webapp2 import graphql_application, GraphQLHandler
[define query etc]
schema = graphene.Schema(query=QueryRoot)
graphql_application.config['graphql_schema'] = schema
graphql_application.config['graphql_pretty'] = True
application = webapp2.WSGIApplication([
('/graphql', GraphQLHandler)
])
then in app.yaml:
- url: /graphql
script: mygraphql.application
from graphene-gae.
Related Issues (18)
- GraphiQL Integration for Webapp2 HOT 7
- Docs page does not exist HOT 3
- KeyProperty not showing up in schema HOT 2
- Passing query as JSON (for variables, etc.) seems broken HOT 8
- Version bump? HOT 2
- TimeProperty HOT 3
- PolyModel HOT 2
- Expected value of type "UserType" but got: User HOT 3
- GraphQL Integration for Cloud Endpoints
- How do you filter? HOT 1
- NDBConnectionField
- Is it possible to use google-cloud-ndb with this package?
- ndb.GeoPtProperty support
- Looking for maintainers! HOT 4
- Support AppEngine Flexible Environment (gcloud library in addition to ndb)
- ndb.ComputedFields support
- Support ndb.LocalStructuredProperty (and their Repeated version)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graphene-gae.