mirror of https://github.com/pulumi/pulumi.git
![]() The underlying library `dill` that we use for serializing dynamic providers into Pulumi state for Python dynamic providers serializes classes differently depending on whether they are in `__main__` or in another module. We need the by-value serialization to be applied in all cases. https://github.com/uqfoundation/dill/issues/424 is tracking adding the ability into `dill` to specify this by-value serialization explicitly, but until then, we will temporarily re-write the `__module__` of a provder class prior to serialization, so that `dill` behaves as we need for the dynamic provider use case. Fixes #7453. |
||
---|---|---|
.. | ||
.gitignore | ||
Pulumi.yaml | ||
__main__.py | ||
other.py | ||
requirements.txt |