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

Support file uploads for mutations? #194

Open
vavalomi opened this issue Mar 10, 2022 · 2 comments
Open

Support file uploads for mutations? #194

vavalomi opened this issue Mar 10, 2022 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@vavalomi
Copy link

vavalomi commented Mar 10, 2022

Although not part of the standard, several server implementations support file uploads via multipart forms fields. Although both urllib and requests can accept files={} parameters, sgqlc endpoint wrappers do not accept/pass additional parameters. It would be great to have the capability.

@barbieri barbieri added enhancement New feature or request help wanted Extra attention is needed labels Mar 15, 2022
@barbieri
Copy link
Member

@vavalomi nice request, I don't have much time to implement it atm, but if you do, please provide some tests as well (in this case it's not doctest, but regular tests using nose).

@geekscrapy
Copy link
Contributor

I can't help with Dev unfortunately (out of my skillset), but just noting here that I'd really look for this feature too 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants