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

Allow view functions to return tuple or Response class #40

Merged
merged 5 commits into from
Mar 5, 2019

Conversation

lafrech
Copy link
Member

@lafrech lafrech commented Feb 24, 2019

Closes #18.
Closes #22.

This PR adds support for view functions returning a tuple or a Response object in a Blueprint.response decorator, and for view functions returning a tuple in a Blueprint.paginate decorator.

@coveralls
Copy link

coveralls commented Feb 24, 2019

Coverage Status

Coverage remained the same at 100.0% when pulling d302556 on allow_response_class_and_tuple into d7d9793 on master.

@marshmallow-code marshmallow-code deleted a comment Feb 24, 2019
@lafrech lafrech force-pushed the allow_response_class_and_tuple branch from 1e69e19 to 99fcbb4 Compare February 24, 2019 09:26
@marshmallow-code marshmallow-code deleted a comment Feb 24, 2019
@lafrech lafrech force-pushed the allow_response_class_and_tuple branch from 99fcbb4 to 6eefc9b Compare February 24, 2019 11:52
@marshmallow-code marshmallow-code deleted a comment Feb 24, 2019
@lafrech lafrech force-pushed the allow_response_class_and_tuple branch from 6eefc9b to d302556 Compare March 4, 2019 16:42
@lafrech lafrech merged commit fc71ef5 into master Mar 5, 2019
@lafrech lafrech deleted the allow_response_class_and_tuple branch March 5, 2019 09:09
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