pulumi/sdk/python
Sean Gillespie e0b516d0cc
Fix an issue with empty ID for CustomResource (#2449)
* Fix an issue with empty ID for CustomResource

The Python runtime was checking the ID field it receives from the engine
against None, assuming that the engine would not set the ID field if one
was not present. However, it does set the ID field; it is set to the
empty string when an ID is not known.

This commit fixes an issue that can cause certain IDs to be erroneously
considered to be known during previews, which can cause problems during
the Check phase of resources that directly reference IDs of other
resources.

* Add CHANGELOG
2019-02-15 09:55:19 -08:00
..
cmd Explicitly convert dry_run parameter to a bool (#2361) 2019-01-16 12:06:17 -08:00
lib Fix an issue with empty ID for CustomResource (#2449) 2019-02-15 09:55:19 -08:00
pkg/version Add license headers 2018-05-22 15:02:47 -07:00
.gitignore Implement Output for Python (#2107) 2018-10-26 14:52:30 -07:00
.pylintrc Implement first-class providers for Python (#2335) 2019-01-04 15:44:27 -08:00
Makefile Don't install the just built package into user's site-packages 2019-02-01 15:49:36 -08:00
Pipfile Several gardening tasks for Python (#2145) 2018-11-01 12:58:45 -07:00
Pipfile.lock Several gardening tasks for Python (#2145) 2018-11-01 12:58:45 -07:00