pulumi/sdk/python/lib
Pat Gavlin ef6da5709d
Update Python resource ref deserialization. (#5805)
There are two significant changes in this commit: one to the way
resource packages/modules are stored and retrieved, and one to resource
ref deserialization in the face of missing resource packages/modules.

Resource packages and modules no longer require an exact version match
during deserialization. Instead, the newest compatible version of the
package or module is selected. If no version was specified, the newest
version of the package or module will be chosen. As a special case, a
package or module that has no version will always be treated as the best
version for that package or module.

If a resource package or module is not found when attempting to
deserialize a resource reference, the SDK no longer emits an error, and
instead deserializes the reference as its URN or ID (if present). This
accommodates providers that have not yet been updated to include the
appropriate factory registrations.
2020-11-23 15:37:44 -08:00
..
pulumi Update Python resource ref deserialization. (#5805) 2020-11-23 15:37:44 -08:00
test Add support for serialized resource references. (#5041) 2020-10-27 10:12:12 -07:00
test_with_mocks Allow pulumi.export calls from unit tests (#4670) 2020-05-20 09:54:40 -07:00
setup.py Update Python resource ref deserialization. (#5805) 2020-11-23 15:37:44 -08:00