mirror of https://github.com/databricks/cli.git
b9e3c98723
## Changes PyDABs output can omit empty sequences/mappings because we don't track them as optional. There is no semantic difference between empty and missing, which makes omitting correct. CLI detects that we falsely modify input resources by deleting all empty collections. To handle that, we extend `dyn.Override` to allow visitors to ignore certain deletes. If we see that an empty sequence or mapping is deleted, we revert such delete. ## Tests Unit tests --------- Co-authored-by: Pieter Noordhuis <pcnoordhuis@gmail.com> |
||
---|---|---|
.. | ||
elements_by_key.go | ||
elements_by_key_test.go | ||
merge.go | ||
merge_test.go | ||
override.go | ||
override_test.go |