harbor run -t openthoughts/tasktrove-exp-rpt-e2egit-v2-e2egit-0384
harbor download openthoughts/tasktrove-exp-rpt-e2egit-v2-e2egit-0384
Implement a functionality in the /app/ directory to manage a simple in-memory user database with the following requirements:
/app/
User Class:
User
id
name
email
UserManager Class:
UserManager
add_user(user: User)
ValueError
get_user(user_id: int)
remove_user(user_id: int)
list_users()
Data Persistence:
Testing:
Complete the implementation in a way that adheres to these requirements and ensure that all tests pass successfully.