pulumi/sdk/python
Pat Gavlin 905e7353e4
Update the provider RPC interface (#2512)
These changes add two new methods to the provider interface and extend
the results of three others.

The new methods are `CheckConfig` and `DiffConfig`, which fill out the
set of methods required for a complete implementation of the
first-class provider design. Though these methods are optional for
backwards compatibility, they should be implemented by all future
providers for the best possible user experience.

The adjusted result types are `DiffResponse`, `ReadResponse`, and
`ErrorResourceInitFailed`. The first has been updated to include a list
of the properties that changed (if any). The latter two now include
an estimated set of inputs for the resource as well as the resource's
state. Together, these three changes enable the engine to determine the
set of inputs that should be specified by a user in order to match those
that describe the resource's current state.

This contributes to #2453, #1662, #1635, and #1718.
2019-03-05 10:49:24 -08:00
..
cmd Explicitly convert dry_run parameter to a bool (#2361) 2019-01-16 12:06:17 -08:00
lib Update the provider RPC interface (#2512) 2019-03-05 10:49:24 -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