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

handle python keywords #158

Merged
merged 1 commit into from
Sep 12, 2019
Merged

handle python keywords #158

merged 1 commit into from
Sep 12, 2019

Conversation

cehbrecht
Copy link
Member

Overview

This PR fixes #157. The utils.sanitize method adds a trailing _ to Python keywords to avoid the error in issue #157.

Changes:

  • Updated utils.sanitize.
  • Updated tests.

Related Issue / Discussion

#157

Additional Information

Using keyword list:
https://www.programiz.com/python-programming/keyword-list

@cehbrecht cehbrecht added the bug label Sep 10, 2019
@cehbrecht cehbrecht added this to the 0.7.0 milestone Sep 10, 2019
@cehbrecht cehbrecht requested a review from huard September 10, 2019 14:40
@huard
Copy link
Contributor

huard commented Sep 10, 2019

Is this solution acceptable to the ophidia team ?

@cehbrecht
Copy link
Member Author

Is this solution acceptable to the ophidia team ?

@minomicetto Are you ok with this change? return would become return_ int the birdy client outputs.

@minomicetto
Copy link

I am going to change the name of the parameter "return" to "return_code", independently from the bug, to better understand its meaning. So the solution is acceptable.

@cehbrecht cehbrecht merged commit d9cd7db into master Sep 12, 2019
@cehbrecht cehbrecht deleted the fix-157-handle-python-keywords branch September 12, 2019 11:25
@cehbrecht
Copy link
Member Author

@minomicetto @huard merged. thanks.

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

Successfully merging this pull request may close these issues.

How to handle "return" output parameter in birdy.client?
3 participants