Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create async view for flask #110

Open
kiendang opened this issue May 8, 2023 · 0 comments
Open

Create async view for flask #110

kiendang opened this issue May 8, 2023 · 0 comments
Labels
misc: help wanted This requires extra effort type: feature A new feature

Comments

@kiendang
Copy link
Collaborator

kiendang commented May 8, 2023

An async view for flask could be created based on the existing flask sync GraphQLView and Quart async GraphQLView.

@kiendang kiendang added misc: help wanted This requires extra effort type: feature A new feature labels May 8, 2023
lukaspiatkowski added a commit to wavemm/graphql-server that referenced this issue Sep 14, 2023
In GraphQLView.dispatch_request pass run_sync=False to run_http_query and,
if necessary, run the result on async loop.

There is an open PR upstream to handle async natively:
graphql-python#110
lukaspiatkowski added a commit to wavemm/graphql-server that referenced this issue Sep 14, 2023
In GraphQLView.dispatch_request pass run_sync=False to run_http_query and,
if necessary, run the result on async loop.

There is an open PR upstream to handle async natively:
graphql-python#110
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
misc: help wanted This requires extra effort type: feature A new feature
Projects
None yet
Development

No branches or pull requests

1 participant