Skip to content

Conversation

@gitfresnel
Copy link
Contributor

@gitfresnel gitfresnel commented Oct 23, 2024

Изменения

  1. Добавил в таблицу union_member поле is_deleted
  2. Изменил поведение ручек (get/is_union_member, post/is_union_member, post/file, post/file/{pin}, patch/file/{pin}) в соответствии с новым полем
  3. Добавил тесты для ручек
  4. Изменил декларативный класс (метод query не возвращает поля с софт делитами)

Check-List

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

@gitfresnel gitfresnel linked an issue Oct 23, 2024 that may be closed by this pull request
@github-actions
Copy link

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

@github-actions
Copy link

github-actions bot commented Oct 23, 2024

Code Coverage

Coverage Report
FileStmtsMissCoverMissing
print_service
   __main__.py440%1–7
   base.py12467%6–9
   exceptions.py52787%21, 40, 45, 60, 65, 70, 77
print_service/models
   base.py532160%24–27, 51–57, 61–65, 70–75
print_service/routes
   admin.py492647%28–29, 32–36, 39–43, 50–56, 63–69
   auth.py440%1–8
   exc_handlers.py59985%34, 58, 70, 80, 124, 136, 144, 154, 166
   file.py1251985%49, 55, 57, 130–131, 176, 185–186, 188, 191–192, 197–198, 208–211, 254, 263
   qrprint.py1127137%39–48, 53–59, 62–70, 73–82, 86–107, 110, 113–116, 124–127, 135–148
   user.py48296%64, 112
print_service/utils
   __init__.py57395%44, 87–88
TOTAL69417076% 

Summary

Tests Skipped Failures Errors Time
26 1 💤 0 ❌ 0 🔥 1.191s ⏱️

…member_.py

Удаление старого файла миграции
…р-1' into 29-добавить-софт-делиты-в-принтер-1

# Conflicts:
#	migrations/versions/120e06710249_add_is_deleted_field_to_unionmember_.py
@github-actions
Copy link

github-actions bot commented Nov 5, 2024

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

…р-1' into 29-добавить-софт-делиты-в-принтер-1

# Conflicts:
#	migrations/versions/808f98fc21f5_add_is_deleted_field_to_unionmember.py
…р-1' into 29-добавить-софт-делиты-в-принтер-1

# Conflicts:
#	migrations/versions/c29b6ffbfed4_add_is_deleted_field_to_unionmember.py
Copy link
Member

@Temmmmmo Temmmmmo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Откомментил

@hgfejcwoefGleb hgfejcwoefGleb mentioned this pull request Jun 22, 2025
3 tasks
@hgfejcwoefGleb hgfejcwoefGleb mentioned this pull request Oct 9, 2025
3 tasks
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.

Добавить софт делиты в принтер

5 participants