Skip to content

Удаление поля subject из Lecturer.#25

Merged
Temmmmmo merged 4 commits intomainfrom
1-бэк-рейтинга-преподов
Oct 24, 2024

Hidden character warning

The head ref may contain hidden characters: "1-\u0431\u044d\u043a-\u0440\u0435\u0439\u0442\u0438\u043d\u0433\u0430-\u043f\u0440\u0435\u043f\u043e\u0434\u043e\u0432"
Merged

Удаление поля subject из Lecturer.#25
Temmmmmo merged 4 commits intomainfrom
1-бэк-рейтинга-преподов

Conversation

@Temmmmmo
Copy link
Copy Markdown
Member

Изменения

Поле subject удалено из таблицы Lecturer. Теперь предметы, которые относятся из преподавателей будут браться из аппрувнутых комментариев к преподавателю. С этого момента предмет не один, а список предметов.

Check-List

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

@github-actions
Copy link
Copy Markdown

💩 Code linting failed, use black and isort to fix it.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Oct 24, 2024

Code Coverage

Coverage Report
FileStmtsMissCoverMissing
rating_api
   __main__.py440%1–7
   exceptions.py23387%35–36, 44
rating_api/models
   base.py55787%24–27, 45, 53, 74
rating_api/routes
   comment.py662858%28, 34–37, 85–106, 123–126, 140
   exc_handlers.py17288%26, 33
   lecturer.py883165%55, 104–143, 157, 165, 183, 189
rating_api/schemas
   base.py12467%6–9
TOTAL4027980% 

Summary

Tests Skipped Failures Errors Time
8 0 💤 0 ❌ 0 🔥 0.766s ⏱️

@github-actions
Copy link
Copy Markdown

💩 Code linting failed, use black and isort to fix it.

Comment thread rating_api/models/db.py
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.

Выпилить subject из Comment. Отдавать на GET /lecturer subjects list[str] по уникальным комментам.

2 participants