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

No deserialize #1281

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

No deserialize #1281

wants to merge 5 commits into from

Conversation

jwkvam
Copy link
Contributor

@jwkvam jwkvam commented Dec 5, 2017

Before you submit this PR, please make sure that you meet these criteria

  • If you made a new function, did you write a good docstring for it?
    I attempted so, I didn't add anything to the README.

  • Did you write a test for your new code?
    I have not, I could use some pointers.

  • Did you make sure this code actually works on Lambda, as well as locally?
    Yes, I tested this on Lambda it works as expected.

  • Did you test this code with both Python 2.7 and Python 3.6?
    Only 3.6, I can test it out on 2.7.

Description

This adds another kwarg to async.task deserialize which controls what arguments are passed to the user defined function. It follows the design of capture_response very closely.

This was simple to implement and try out that I went ahead and did it. Otherwise I would have waited to see how others felt about it in my original ticket.

GitHub Issues

#1270

@coveralls
Copy link

coveralls commented Dec 5, 2017

Coverage Status

Coverage decreased (-5.6%) to 52.721% when pulling 2e54fb3 on jwkvam:no-deserialize into 120eab6 on Miserlou:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.3%) to 58.099% when pulling f421bf1 on jwkvam:no-deserialize into 120eab6 on Miserlou:master.

@coveralls
Copy link

coveralls commented Dec 5, 2017

Coverage Status

Coverage increased (+15.01%) to 73.367% when pulling f421bf1 on jwkvam:no-deserialize into 120eab6 on Miserlou:master.

@rgov
Copy link
Contributor

rgov commented Dec 16, 2017

Python 2.7 tests are failing until #1298 is applied. This change passes Python 3.x tests.

@jwkvam
Copy link
Contributor Author

jwkvam commented Dec 21, 2017

@rgov thanks for the heads up, I had no idea frankly why it was failing.

@coveralls
Copy link

coveralls commented Dec 21, 2017

Coverage Status

Coverage increased (+0.07%) to 74.097% when pulling 4b840a0 on jwkvam:no-deserialize into 7359ace on Miserlou:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants