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

fixing reqparse for sanic Requests object / differs from flask Reques… #15

Merged
merged 1 commit into from Sep 9, 2019

Conversation

oliverpain
Copy link

When trying to parse arguments on the requests, it previously failed trying to access the value key in the request (Which doesn't seem to exists on a Sanic request).
Replacing with "args" instead of "value" did fix the issues for that.
Then adding the (key:value) tuples to the multi-dict at the source level fixed the rest.

@ashleysommer
Copy link
Owner

Thanks!

@ashleysommer ashleysommer merged commit cdc6f24 into ashleysommer:master Sep 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants