harbor run -t openthoughts/tasktrove-exp-rpt-stack-pytest-v2-stack-pytest-0438harbor download openthoughts/tasktrove-exp-rpt-stack-pytest-v2-stack-pytest-0438Task: Implement a self-contained Flask app module for asset management
Objective Create a Python module named asset_app located at /app/asset_app.py (or as a package /app/asset_app/) that exposes a Flask app object named app and implements a small in-memory asset management system. The app must satisfy the behaviors implied by the provided pytest tests, including specific routes, data shapes, and response contents.
What to implement
/login (methods=["GET","POST"])
/logout (methods=["GET"])
/list-assets (methods=["GET"])
/add-asset (methods=["POST"])
/edit-asset (methods=["POST"])
Deliverable