Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Переписать реализацию ручки GET lecturer

Open
#27 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

  • #53 by @Spangi2000 — closed without merging

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
api, backend

Research direction

Start at the GET lecturer handler and inspect how it currently processes comments across its multiple loops. Trace the validation and filtering conditions, then consolidate them into one pass that appends validated models to the result. Confirm that the endpoint still returns the expected lecturer data using the repository's existing checks.

Written by the indexing model from the issue text.

Description

good first issue :baby:

Сейчас не очень хорошая реализация, так как много циклов for по всевозможным комментариям.

Надо переписать реализацию, оставив только один цикл по всем комментариям, а все проверки делать на каждой итерации, затем добавлять свалидированную модельку в result

Dominant language
Python
Stars
8
Forks
3
PR merge metrics
No merged PRs in 30d

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from profcomff/rating-api

All issues in profcomff/rating-api

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.