mirror of https://github.com/pulumi/pulumi.git
bd6410e2fb
These mutually recursive functions unintentionally had exponential complexity in nesting depth of objects, arg types and most likely arrays. Remove the exponential complexity by avoiding direct recursion of from_input on itself, and relying on mutual recursion with all alone to reduce nested substructure. Also simplify the implementation to aid readability. Fixes pulumi/pulumi-kubernetes#1597. Fixes pulumi/pulumi-kubernetes#1425. Fixes pulumi/pulumi-kubernetes#1372. Fixes #3987. |
||
---|---|---|
.. | ||
cmd | ||
dist | ||
lib | ||
stubs | ||
.gitignore | ||
.pylintrc | ||
Makefile | ||
Pipfile | ||
mypy.ini | ||
python.go | ||
python_test.go | ||
shim_unix.go | ||
shim_windows.go |