pulumi/sdk/python/lib
Nikhil Benesch c782a298a1
Make Output[T] covariant in Python SDK (#7483)
In short, this allows subtyping to correctly "propagate" through an Output;
if Cow is a subtype of Animal, this commit makes it so Output[Cow] is
treated as a subtype of Output[Animal].

Without this change, users of the Python SDK occasionally contend with a
confusing error message that is resolved by adding a call to
`.apply(lambda x: x)` to satisfy mypy.

Touches #3767.
Fix #6843.
2021-07-16 12:30:04 -07:00
..
pulumi Make Output[T] covariant in Python SDK (#7483) 2021-07-16 12:30:04 -07:00
test Add `replaceOnChanges` resource option (#7226) 2021-07-01 13:32:08 -06:00
test_with_mocks Skip flaky python test (#7035) 2021-05-12 09:29:13 -07:00
setup.py [sdk/python] - Fix python lint errors (#6872) 2021-04-26 08:56:15 -07:00