Commit Graph
6 Commits
Author SHA1 Message Date
050d4902f3 538: Add endpoints to manage users (#601)
* Add endpoints for getting, updating, deleting users by global user ID

* Resolve formatting

* Include alembic revision script

* Updated down_revision to current alembic head

Co-authored-by: Andreas Köpf <andreas.koepf@xamla.com>
2023-01-12 21:30:07 +01:00
Andreas KöpfandGitHub 8906854dbf Extract UserRepository and TaskRepository from PromptRepository
* Extract classes UserRepository and TaskRepository from PromptRepository
* move close_task() to TaskRepository and get_user_leaderboard to UserRepository()
* Use UserRepository in leaderboards endpoint, add type annotation to leaderboards endpoint
2023-01-08 19:08:47 +01:00
croumegous fc7f8cbc1f chore: add fastapi response model to every endpoints, add openapi documentation for API response 2023-01-02 22:55:08 +01:00
Gareth Davidson 7000e10bc0 apply pre-commit rules 2023-01-02 00:01:45 +00:00
Igor MiagkovandAndreas Köpf ef3a35ff9c fixes 2022-12-31 10:31:31 +01:00
Igor MiagkovandAndreas Köpf 8e1d80956a split message api endpoints 2022-12-31 10:31:31 +01:00