pulumi/sdk/python/lib/test
Justin Van Patten 5794a3f482
[sdk/python] Cast numbers intended to be integers to int (#5419)
We recently made a change to the Python codegen to emit `int` type annotations, instead of `float`, for properties that are typed as `schema.IntType`.

But the number values that come back from protobuf structs are always floats (like JSON), so we need to cast the values intended to be integers to `int`.
2020-09-19 21:09:53 -07: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] Add support for Sequence (#5282) 2020-09-08 22:22:35 -07: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] Cast numbers intended to be integers to int (#5419) 2020-09-19 21:09:53 -07: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