Using attrs , implement a typed configuration registry system in task module.py .
Using attrs , implement a typed configuration registry system in task module.py .: a task in repo2rlenv-code-instruct (Harbor dataset). Define an attrs -based class AppConfig with the following fields: - host (str, default "localhost" ) - port (int, default 8080 ) - debug (bool, default False ) -…
The task
Define an `attrs`-based class `AppConfig` with the following fields: - `host` (str, default `"localhost"`) - `port` (int, default `8080`) - `debug` (bool, default `False`) - `tags` (list, default empty list via factory)
Part of FineEnvs/repo2rlenv-code-instruct.