Closed coxipi closed 6 days ago
Reassigning a dict in a function works btw:
import copy
dd = {"a":1, "b":2}
def ff(dd):
dd = copy.deepcopy(dd)
dd["a"] = 2
ff(dd)
dd
>>> {"a":1, "b":2}
@tlogan2000 I will be merging this once the tests are passed to address the bug you have found, thanks.
Pull Request Checklist:
number
) and pull request (:pull:number
) has been addedWhat kind of change does this PR introduce?
base_kws_vars
inside the adjust function so that it doesn't change the dict globally.Does this PR introduce a breaking change?
No
Other information: