pulumi/sdk/python/lib
Justin Van Patten e8bd8e5e1f
Rehydrate provider resources in Construct (#7624)
Previously, any provider resource passed to multi-lang components would be instantiated as a `DependencyProviderResource` inside `Construct`, which prevents the component from being able to easily access the provider's state as an instance of of the provider (e.g. `*aws.Provider`).

This change attempts to rehydrate the provider resource in the same way that resource references are rehydrated, if it's been registered, s.t. the specific provider resource type is instantiated with its state. Otherwise falling back to returning `DependencyProviderResource`.
2021-07-23 14:10:06 -07:00
..
pulumi Rehydrate provider resources in Construct (#7624) 2021-07-23 14:10:06 -07:00
test [sdk/python] Support for implementing methods in provider (#7555) 2021-07-19 14:58:55 -07: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