ebb0e6aaed
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. |
||
---|---|---|
.. | ||
cmd | ||
dist | ||
lib | ||
stubs | ||
.gitignore | ||
.pylintrc | ||
Makefile | ||
mypy.ini | ||
Pipfile | ||
python.go | ||
python_test.go | ||
shim_unix.go | ||
shim_windows.go |