mirror of https://github.com/pulumi/pulumi.git
![]() 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. |
||
---|---|---|
.. | ||
cmd | ||
dist | ||
lib | ||
stubs | ||
.gitignore | ||
.pylintrc | ||
Makefile | ||
Pipfile | ||
mypy.ini | ||
python.go | ||
python_test.go | ||
shim_unix.go | ||
shim_windows.go |