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

Fix services using non-pythonified field names #34

Closed
wants to merge 1 commit into from
Closed

Fix services using non-pythonified field names #34

wants to merge 1 commit into from

Conversation

b1naryth1ef
Copy link
Contributor

This PR fixes an issue where generated service stubs would utilize non-pythonified field names. This is most obvious when a service references a message that has fields which are Python keywords, as black will fail to parse the generated file entirely.

@cetanu cetanu self-assigned this May 21, 2020
@cetanu cetanu added the bug Something isn't working label May 21, 2020
@cetanu
Copy link
Collaborator

cetanu commented May 21, 2020

I've asked for these changes to be included in a pull-request that touches the same lines.

I'll note both changes/PRs separately in the changelog when it comes to release time.

Thanks for this!

@nat-n
Copy link
Collaborator

nat-n commented May 24, 2020

Closing after rebasing and merging it to master manually.

@nat-n nat-n closed this May 24, 2020
@b1naryth1ef b1naryth1ef deleted the fix/keywords-in-services branch May 25, 2020 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants