settings.yaml moved db keys under a nested database: section; update the code (not the config) so the app…
settings.yaml moved db keys under a nested database: section; update the code (not the config) so the app…: a task in agent-harbor-tasks (Harbor dataset). I restructured settings.yaml yesterday — db host , db port and db name now live in a nested database: section as host , port , name — but…
The task
I restructured settings.yaml yesterday — `db_host`, `db_port` and `db_name` now live in a nested `database:` section as `host`, `port`, `name` — but forgot to update the code, so `python app.py` now dies with `KeyError: 'db_host'`. Update the code to the new layout; don't go back to the old config.
Part of efederici/agent-harbor-tasks.