The "vars" argument in `dscim.preprocessing.input_damages.compute_ag_damages` has a mutable default argument. This is [a common gotcha](https://docs.python-guide.org/writing/gotchas/#mutable-default-arguments), we might want to refactor this to avoid bugs. https://github.com/ClimateImpactLab/dscim/blob/8a870c3e2e16fbc3077f33972c5ef59a9278bb7e/src/dscim/preprocessing/input_damages.py#L267
The "vars" argument in
dscim.preprocessing.input_damages.compute_ag_damageshas a mutable default argument.This is a common gotcha, we might want to refactor this to avoid bugs.
dscim/src/dscim/preprocessing/input_damages.py
Line 267 in 8a870c3