Adds GraphQL support to your Flask application. This will add /graphql endpoint to your app and enable the GraphiQL IDE. If you are using the Schema type of Graphene library, be sure to use the graphql_schema attribute to pass as schema on the GraphQLView view. Otherwise, the GraphQLSchema from graphql-core is the way to go. The GraphQLSchema object that you want the view to execute when it gets a valid request. A value to pass as the context_value to graphql execute function. By default is set to dict with request object at key request. The root_value you want to provide to graphql execute.

Features

  • You can also subclass GraphQLView
  • Since v3, flask-graphql code lives at graphql-server repository to keep any breaking change on the base package on sync with all other integrations
  • Just use the GraphQLView view from flask_graphql
  • Adds GraphQL support to your Flask application
  • If you are using the Schema type of Graphene library, be sure to use the graphql_schema attribute to pass as schema on the GraphQLView view.
  • Add /graphql endpoint to your app and enable the GraphiQL IDE

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Flask-GraphQL

Flask-GraphQL Web Site

Other Useful Business Software
Zenflow- The AI Workflow Engine for Software Devs Icon
Zenflow- The AI Workflow Engine for Software Devs

Parallel agents. Multi-agent orchestration. Specs that turn into shipped code. Zenflow automates planning, coding, testing, and verification.

Zenflow is the AI workflow engine built for real teams. Parallel agents plan, code, test, and verify in one workflow. With spec-driven development and deep context, Zenflow turns requirements into production-ready output so teams ship faster and stay in flow.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Flask-GraphQL!

Additional Project Details

Programming Language

Python

Related Categories

Python Frameworks, Python Web Development Software

Registered

2022-11-09