Skip to content

Commit

Permalink
Refactor repositories to use @session_wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
Lekuruu committed Dec 18, 2023
1 parent 0ad1947 commit 8cf8d09
Show file tree
Hide file tree
Showing 26 changed files with 1,840 additions and 1,674 deletions.
39 changes: 21 additions & 18 deletions database/repositories/achievements.py
48 changes: 26 additions & 22 deletions database/repositories/activities.py
121 changes: 63 additions & 58 deletions database/repositories/beatmaps.py
401 changes: 203 additions & 198 deletions database/repositories/beatmapsets.py
35 changes: 19 additions & 16 deletions database/repositories/channels.py
125 changes: 67 additions & 58 deletions database/repositories/clients.py
55 changes: 31 additions & 24 deletions database/repositories/comments.py
79 changes: 41 additions & 38 deletions database/repositories/events.py
99 changes: 52 additions & 47 deletions database/repositories/favourites.py
191 changes: 100 additions & 91 deletions database/repositories/histories.py
119 changes: 64 additions & 55 deletions database/repositories/infringements.py
91 changes: 49 additions & 42 deletions database/repositories/logins.py
25 changes: 14 additions & 11 deletions database/repositories/logs.py
75 changes: 39 additions & 36 deletions database/repositories/matches.py
45 changes: 26 additions & 19 deletions database/repositories/messages.py
34 changes: 18 additions & 16 deletions database/repositories/names.py
111 changes: 57 additions & 54 deletions database/repositories/plays.py
69 changes: 36 additions & 33 deletions database/repositories/ratings.py
94 changes: 49 additions & 45 deletions database/repositories/relationships.py
110 changes: 57 additions & 53 deletions database/repositories/reports.py
765 changes: 392 additions & 373 deletions database/repositories/scores.py
42 changes: 25 additions & 17 deletions database/repositories/screenshots.py
338 changes: 177 additions & 161 deletions database/repositories/stats.py
66 changes: 37 additions & 29 deletions database/repositories/usercount.py
232 changes: 119 additions & 113 deletions database/repositories/users.py
105 changes: 58 additions & 47 deletions database/repositories/verifications.py

0 comments on commit 8cf8d09

Please sign in to comment.