pulumi/sdk/python/lib
Justin Van Patten 8574d40dda
[sdk/python] Fix type-related regression on Python 3.6 (#6942)
Pulumi 3.0 uses type annotations for input values to determine whether dict keys should be translated from snake_case to camelCase or not. This additional inspection of types did not work correctly on Python 3.6 due to some missing functionality on that version of Python which we need to provide an implementation for. Specifically, when inspecting `Union` args to determine whether or not a value is intended to be an input class or user-defined dict. To address the issue, this change improves how we get the args for `Union` types when running on Python 3.6 to behave the same way as later versions of Python (for our purposes). Existing tests fail on Python 3.6 before this change, and pass after.
2021-04-30 11:50:42 -07:00
..
pulumi [sdk/python] Fix type-related regression on Python 3.6 (#6942) 2021-04-30 11:50:42 -07:00
test [sdk/python] Address issues when using resource subclasses (#6890) 2021-04-30 10:07:23 -07:00
test_with_mocks Fix python mock args (#6863) 2021-04-26 13:22:10 -07:00
setup.py [sdk/python] - Fix python lint errors (#6872) 2021-04-26 08:56:15 -07:00