fix: resouce leak in translate_with_setter
by deleting the offending code
#2437
ruff.yaml
on: pull_request
ruff-format
6s
ruff-check
8s