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
__init__.py
test_next_serialize.py
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
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
test_types_output_type.py
test_types_resource_types.py
test_utils.py