from graphene_file_upload.flask import FileUploadGraphQLView fails with this error:
See original GitHub issueTraceback (most recent call last):
File "server.py", line 4, in <module>
import graphene_file_upload.flask
File "~/.local/share/virtualenvs/backend-JODmqDQ7/lib/python2.7/site-packages/graphene_file_upload/flask.py", line 1, in <module>
from flask import request
ImportError: cannot import name request
Potentially I am just using this incorrectly?
Issue Analytics
- State:
- Created 5 years ago
- Comments:9
Top Results From Across the Web
Flask GraphQL import fails - python - Stack Overflow
I have the package versions ... Flask 2.0.2 Flask-GraphQL 2.0.0 Flask-Script 2.0.6 ... graphene 3.0 graphql-core 3.1.6 graphql-relay 3.1.0 ...
Read more >Chapter 7. Django Image Uploads - Michael Stromer
Create, upload images to Amazon S3 and boto3; Accept uploaded file images using graphene-file-upload. Introduction. Having the ability to upload book cover ...
Read more >Python Examples of flask.request.files - ProgramCreek.com
The following are 30 code examples of flask.request.files(). ... return Response('Connection error : %s' % APP.config['CASSH_URL']) if 'Error' in req.text: ...
Read more >Uploading Files — Flask Documentation (2.2.x)
Ah yes, the good old problem of file uploads. ... import os from flask import Flask, flash, request, redirect, url_for from werkzeug.utils import...
Read more >Enhances Graphene Django GraphQL Server for intuitive file
Implement graphene-file-upload with how-to, Q&A, fixes, code snippets. kandi ratings - Low ... from graphene_file_upload.flask import FileUploadGraphQLView ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@mfix22 I created a PR for this precise issue in #22 I think it was just an honest oversight.
On a completely different note, I’d recommend checking out poetry when you have the chance.
Opened #23, which should likely fix it. Confirmed that distribution breaks the package on
python2
without a specific distribution fix