lmcgartland / graphene-file-upload

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

No need for redundant dependencies #39

Closed begimai closed 4 years ago

begimai commented 4 years ago

I want to use it for my Django project, why it creates extra dependencies? Why do I need flask?

[package.extras]
all = ["Flask (>=1.0.2)", "graphene (>=2.1.2)", "Flask-Graphql (>=2.0.0)", "graphene-django (>=2.0.0)"]
django = ["graphene-django (>=2.0.0)"]
flask = ["Flask (>=1.0.2)", "graphene (>=2.1.2)", "Flask-Graphql (>=2.0.0)"]
davidroeca commented 4 years ago

Simply install with pip install graphene_file_upload[django] or without extras. This is a convenience. By default, neither flask nor Django is installed

begimai commented 4 years ago

Great, thank you!