Skip to content

Анонимность дубинушки#52

Merged
parfenovma merged 11 commits intomainfrom
develop
Nov 19, 2024
Merged

Анонимность дубинушки#52
parfenovma merged 11 commits intomainfrom
develop

Conversation

@DR0P-database
Copy link
Copy Markdown
Contributor

@DR0P-database DR0P-database commented Nov 16, 2024

Изменения #51

  • Add user_id to Comment when created POST/Comment
  • Realized anonymity of a comment

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

Add atribute "is_anonymous" to schema Comment

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Nov 16, 2024

Code Coverage

Coverage Report
FileStmtsMissCoverMissing
rating_api
   __main__.py440%1–7
   exceptions.py26388%35–36, 44
rating_api/models
   base.py55591%24–27, 76
   db.py63592%57–61
rating_api/routes
   comment.py671282%28, 34–37, 97, 103–108, 115, 138, 154
   exc_handlers.py20290%26, 33
   lecturer.py901781%106, 116–140, 143, 158, 166, 184, 190
rating_api/schemas
   base.py12467%6–9
TOTAL4415288% 

Summary

Tests Skipped Failures Errors Time
36 0 💤 0 ❌ 0 🔥 2.384s ⏱️

@DR0P-database DR0P-database changed the title Develop Анонимность дубинушки Nov 16, 2024
Comment thread .gitignore
Comment thread rating_api/routes/comment.py Outdated
Comment thread rating_api/routes/comment.py Outdated
Comment thread rating_api/routes/comment.py Outdated
Comment thread rating_api/routes/comment.py Outdated
Comment thread rating_api/routes/comment.py Outdated
Comment thread rating_api/routes/comment.py
Comment thread rating_api/routes/comment.py Outdated
@github-actions
Copy link
Copy Markdown

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

@github-actions
Copy link
Copy Markdown

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

Comment thread rating_api/schemas/models.py
Comment thread rating_api/routes/comment.py
@DR0P-database DR0P-database self-assigned this Nov 18, 2024
@parfenovma parfenovma merged commit 4c303db into main Nov 19, 2024
@DR0P-database DR0P-database deleted the develop branch November 19, 2024 11:35
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.

Добавить флаг для POST/Comment чтобы создавать анонимные комментарии без user_id

4 participants