pulumi/sdk/python/lib/test
Justin Van Patten 2779de38ea
[sdk/python] from_input: Unwrap nested outputs in input types (#6221)
`Output.from_input` deeply unwraps nested output values in dicts and lists, but doesn't currently do that for the more recently added "input types" (i.e. args classes). This leads to errors when using args classes with output values with `Provider` resources, which uses `Output.from_input` on each input property and then serializes the value to JSON in an `apply`. This changes fixes `Output.from_input` to recurse into values within args classes to properly unwrap any nested outputs.
2021-01-29 15:44:00 -08:00
..
automation Test fixes for other languages due to change in schema. 2021-01-20 11:29:01 -08:00
langhost Python SDK changes to support input/output classes (#5033) 2020-08-19 01:15:56 -07:00
__init__.py Fix a couple of issues when projecting Protobuf and UNKNOWN in Python (#1468) 2018-06-06 16:09:07 -07:00
test_next_serialize.py [sdk/python] from_input: Unwrap nested outputs in input types (#6221) 2021-01-29 15:44:00 -08:00
test_output.py [sdk/python] from_input: Unwrap nested outputs in input types (#6221) 2021-01-29 15:44:00 -08:00
test_runtime_to_json.py [sdk/python] Add pulumi.runtime.to_json utility (#5307) 2020-09-09 12:08:45 -07:00
test_test_mode.py Enable unit testing for Pulumi programs (#2638) 2019-04-16 22:20:01 -07:00
test_translate_output_properties.py [sdk/python] - Support enums (#5615) 2020-11-24 19:15:11 -06:00
test_types_input_type.py Python SDK changes to support input/output classes (#5033) 2020-08-19 01:15:56 -07:00
test_types_output_type.py Python SDK changes to support input/output classes (#5033) 2020-08-19 01:15:56 -07:00
test_types_resource_types.py Python SDK changes to support input/output classes (#5033) 2020-08-19 01:15:56 -07:00
test_utils.py Python SDK changes to support input/output classes (#5033) 2020-08-19 01:15:56 -07:00