Commit 9af2630
authored
Create a deepcopy of config when creating workspace client from account client (#542)
## Changes
* We are creating a shallow copy of the config object when creating a ws
client from acc client. This leads to the config of acc client being
overridden by changes made for the workspace client. This PR makes it so
that we are making a deepcopy instead.
* Also, correctly handle list response jsons in the API client.
## Tests
* added integration test
- [ ] `make test` run locally
- [ ] `make fmt` applied
- [ ] relevant integration tests applied1 parent 85ba774 commit 9af2630
File tree
4 files changed
+22
-2
lines changed- databricks/sdk
- tests/integration
4 files changed
+22
-2
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
457 | 457 | | |
458 | 458 | | |
459 | 459 | | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
146 | 151 | | |
147 | 152 | | |
148 | 153 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
0 commit comments