Skip to content

Commit

Permalink
Enable TypedDict input types for the Python SDK (#4108)
Browse files Browse the repository at this point in the history
Enable TypedDict input types for the Python SDK. The only manual change
is to set the InputTypes flag in the python language features of the
schema. This is done here
25a4cec.
This flag is currently opt in, but will default to classes-and-dicts in
the future.

I ran `make tfgen build_sdks` afterwards.

Epic pulumi/pulumi#12689
  • Loading branch information
julienp committed Jun 25, 2024
2 parents bddfc43 + a61fa4a commit 30ed5d1
Show file tree
Hide file tree
Showing 2,337 changed files with 141,100 additions and 36,062 deletions.
1,513 changes: 757 additions & 756 deletions provider/cmd/pulumi-resource-aws/schema.json

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion provider/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -5655,7 +5655,8 @@ compatibility shim in favor of the new "name" field.`)
Requires: map[string]string{
"pulumi": ">=3.0.0,<4.0.0",
},
PyProject: struct{ Enabled bool }{true},
PyProject: struct{ Enabled bool }{true},
InputTypes: tfbridge.PythonInputTypeClassesAndDicts,
},
Golang: &tfbridge.GolangInfo{
ImportBasePath: filepath.Join(
Expand Down
Loading

0 comments on commit 30ed5d1

Please sign in to comment.