harbor run -t openthoughts/tasktrove-mix-h11-compositional-gradient-v2-mix-h11-compositional-1537harbor download openthoughts/tasktrove-mix-h11-compositional-gradient-v2-mix-h11-compositional-1537Task: Implement the switch_profile functionality
Goal Create a Python module at /app/switch_profile.py that exposes an object named app with three functions. The tests will call these functions as app.validate_aws_profile(...), app.get_aws_profiles(...), and app.change_default_profile(...). Implement the module so all tests pass.
What to implement
Example (as per tests): For a credentials file with a [test1] block followed by [test2] and [assume], get_aws_profiles(...) should return a dict such that:
Deliverable
This module should satisfy the provided pytest tests exactly.