lmcgartland / graphene-file-upload

Enhances Graphene Django GraphQL Server for intuitive file uploads via GraphQL mutations.
MIT License
287 stars 50 forks source link

cannot import name Field #33

Closed sodrooome closed 5 years ago

sodrooome commented 5 years ago

Hello, I found a little problem but I don't know what caused it, when I want to try making a file upload an error appears like this :

ImportError: cannot import name 'Field'

I try to follow the provided example, but still give me the same results, can anyone help?

davidroeca commented 5 years ago

@sodrooome which example--flask or django? A brief grep of this repo indicates no import of Field. I believe the problem may exist externally.

sodrooome commented 5 years ago

I'm sorry, it turns out I'm the one who's made the mistake. I was not quite right when specify the schema in my settings , so it seems like the mistake was there. the problem now is resolved

thank you for the respond.

davidroeca commented 5 years ago

Sounds good, glad to hear you figured it out