Skip to content

Conversation

@gitfresnel
Copy link
Contributor

Изменения

  1. Добавил поле is_public в модель Param
  2. Убрал additional_data из ручки из ручки get_user_info
  3. Добавил проверку is_public в get_users_info()
  4. Поправил файл миграции

…данных-третьими-лицами-приватные-и-публичные-поля-отдавать-публичные-поля-без-прав' into 35-эксклюзивные-права-на-чтение-данных-третьими-лицами-приватные-и-публичные-поля-отдавать-публичные-поля-без-прав
@github-actions
Copy link

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

@github-actions
Copy link

Code Coverage

Coverage Report
FileStmtsMissCoverMissing
userdata_api
   __main__.py17170%1–26
   exceptions.py19195%18
userdata_api/models
   base.py65592%25–28, 76
   db.py59198%90
userdata_api/routes
   category.py41490%38, 71–73
   exc_handlers.py20195%25
   param.py53885%39, 59, 98–101, 106, 129
   source.py30197%35
userdata_api/schemas
   base.py8450%6–9
   user.py24771%22–28
userdata_api/schemas/types
   scope.py24675%30–32, 37, 40, 42
userdata_api/utils
   user.py83298%81, 85
TOTAL5435790% 

Summary

Tests Skipped Failures Errors Time
57 0 💤 0 ❌ 0 🔥 3.244s ⏱️

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.

надо поддержать наличие нового поля is_public в создании и обновлении параметра

@Temmmmmo Temmmmmo merged commit a8f86d1 into main Apr 1, 2025
2 checks passed
@Temmmmmo Temmmmmo deleted the 35-эксклюзивные-права-на-чтение-данных-третьими-лицами-приватные-и-публичные-поля-отдавать-публичные-поля-без-прав branch April 1, 2025 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants