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

[Python] Support annotations on transformation functions #1298

Merged
merged 1 commit into from
Sep 9, 2020

Conversation

justinvp
Copy link
Member

@justinvp justinvp commented Sep 9, 2020

Replace use of the deprecated inspect.getargspec with inspect.getfullargspec, which works when there are type annotations on the function parameters.

Fixes #1163

Replace use of the deprecated `inspect.getargspec` with `inspect.getfullargspec`, which works when there are type annotations on the function parameters.
@justinvp justinvp force-pushed the justin/transformations branch from 2d871f5 to 5ec8c1c Compare September 9, 2020 07:39
@justinvp justinvp requested a review from lblackstone September 9, 2020 07:39
@justinvp justinvp merged commit 304d138 into master Sep 9, 2020
@pulumi-bot pulumi-bot deleted the justin/transformations branch September 9, 2020 15:45
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.

Annotating a transformation function results in error
2 participants