Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opt get timetable #110

Merged
merged 2 commits into from
Dec 10, 2024
Merged

Opt get timetable #110

merged 2 commits into from
Dec 10, 2024

Conversation

DaymasS
Copy link
Contributor

@DaymasS DaymasS commented Dec 6, 2024

Изменения

Оптимизация получения расписания

Детали реализации

Убрал лишний запрос в бд, сделав через фильтр one-to-many

Check-List

  • Вы проверили свой код перед отправкой запроса?
  • Вы написали тесты к реализованным функциям?
  • Вы не забыли применить форматирование black и isort для Back-End или Prettier для Front-End?

@DaymasS DaymasS self-assigned this Dec 6, 2024
Copy link

github-actions bot commented Dec 6, 2024

Code Coverage

Coverage Report
FileStmtsMissCoverMissing
calendar_backend
   __main__.py660%1–16
   exceptions.py10190%11
calendar_backend/methods
   list_calendar.py704930%28–51, 58–64, 71–76, 85–98, 102–113
   utils.py352626%14–19, 23–28, 34–38, 42–46, 52–56
calendar_backend/models
   base.py64198%87
calendar_backend/routes
   base.py72790%74, 79–80, 85–86, 97, 100
calendar_backend/routes/event
   comment.py47687%30, 41–43, 52, 64
   comment_review.py27485%23–29, 41
   event.py86693%31, 38–41, 46
calendar_backend/routes/group
   group.py38392%26, 42, 58
calendar_backend/routes/lecturer
   comment.py48883%35, 49, 57–61, 70
   comment_review.py25484%21–29, 41
   lecturer.py60887%27, 41, 44, 54, 78–81
   photo.py43588%43, 48, 65, 76, 79
   photo_review.py512061%39–58, 75–77
calendar_backend/routes/models
   base.py60985%36–40, 43, 56, 67, 80
   event.py44295%15, 31
   group.py391659%13–19, 22, 32–38, 41
   lecturer.py46296%21, 31
   room.py21195%13
calendar_backend/routes/room
   room.py39392%26, 44, 58
TOTAL111218783% 

Summary

Tests Skipped Failures Errors Time
32 0 💤 0 ❌ 0 🔥 3.834s ⏱️

@DaymasS DaymasS merged commit d25907b into main Dec 10, 2024
2 checks passed
@DaymasS DaymasS deleted the opt-get_timetable branch December 10, 2024 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants