pulumi/changelog/pending
Justin Van Patten d658f40b12
[sdkgen/python] Fix calling `_configure` with an Output value (#14321)
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
2023-10-24 16:22:14 +00:00
..
20231023--sdkgen-python--fix-issue-calling-nonexistent-_configure-method-on-external-types.yaml Fix issue calling nonexistent `_configure` method on external types (#14318) 2023-10-23 23:34:59 +00:00
20231024--cli-config--dont-crash-on-empty-config-values.yaml fix panic when we have a nil object (#14328) 2023-10-24 16:22:03 +00:00
20231024--sdkgen-python--fix-calling-_configure-with-an-output-value.yaml [sdkgen/python] Fix calling `_configure` with an Output value (#14321) 2023-10-24 16:22:14 +00:00