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

original function in decorator #144

merged 2 commits into from Nov 19, 2016


Copy link

commented Nov 15, 2016


Added a reference to the original function in the use_args decorator or unit testing purpose. Now, with these little changes, a user can import it's decorated function and still can unit test it's original function.

Should I had a small unit testing section in the docs ?

Note :

I could have added the Venusian library that is exactly for that purpose but it would have add a dependency to the project and it would have alter the decorators' behaviour a little. Tell me what you prefer.


This comment has been minimized.

Copy link

commented Nov 19, 2016

Thanks @EFF for the PR. Seems like a good change. I'll go ahead and merge this; feel free to send a follow-up PR with docs.

@sloria sloria merged commit 1260cdb into marshmallow-code:dev Nov 19, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.