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 Python module names. #4473

Merged
merged 2 commits into from
Apr 24, 2020
Merged

Fix Python module names. #4473

merged 2 commits into from
Apr 24, 2020

Conversation

pgavlin
Copy link
Member

@pgavlin pgavlin commented Apr 22, 2020

In particular, ensure that they are keyword-safe. This affects
aws:lambda:* in particular: prior to these changes, we were generating
code into pulumi_aws.lamdba, which is not referencable due to its use
of the lamdba keyword. With these changes, we generate code into
pulumi_aws.lambda_.

There is also a small fix for multi-line non-formatted strings: these
strings do not need escaped braces.

In particular, ensure that they are keyword-safe. This affects
`aws:lambda:*` in particular: prior to these changes, we were generating
code into `pulumi_aws.lamdba`, which is not referencable due to its use
of the `lamdba` keyword. With these changes, we generate code into
`pulumi_aws.lambda_`.

There is also a small fix for multi-line non-formatted strings: these
strings do not need escaped braces.
@pgavlin
Copy link
Member Author

pgavlin commented Apr 22, 2020

I've verified manually that this properly emits code into lambda_ in pulumi-aws.

@pgavlin pgavlin merged commit af344d9 into master Apr 24, 2020
@pulumi-bot pulumi-bot deleted the pgavlin/pythonModuleNames branch April 24, 2020 15:52
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