mirror of https://github.com/pulumi/pulumi.git
d658f40b12
We recently added the ability to assign default values for nested types in generated Python SDKs, when the nested types are passed as dicts. We do so by calling a new static `_configure` method on the input type, to assign default values. This wasn't working correctly if the value was an `Output[T]` or `Awaitable[T]`. This change fixes the code to call `_configure` inside an `apply`, if needed. Since the boilerplate code was getting bigger, moved it into a `configure` helper method in `_utilities.py`. Fixes #14320 |
||
---|---|---|
.. | ||
authhelpers | ||
backend | ||
cmd/pulumi | ||
codegen | ||
display | ||
engine | ||
graph | ||
importer | ||
operations | ||
resource | ||
secrets | ||
testing/integration | ||
util | ||
version | ||
workspace | ||
README.md | ||
go.mod | ||
go.sum |
README.md
pulumi/pkg
While pulumi/sdk maintains strict backwards compatibility guarantees, code under pkg/ is handled more informally: while breaking changes are still discouraged they may happen when they make sense.