Skip to content

3. Васильев Егор Евгеньевич. 613 - #105

Closed
ansend11 wants to merge 1 commit into
python-department:mainfrom
ansend11:hw3
Closed

ansend11 wants to merge 1 commit into
python-department:mainfrom
ansend11:hw3

Conversation

@ansend11

@ansend11 ansend11 commented Oct 8, 2026

Copy link
Copy Markdown

No description provided.

@github-actions github-actions Bot added the 613 label Oct 8, 2026
Comment thread src/part3/crud.py
"""
# TODO: реализуйте функцию
return 0
name = normalize_product_name(fields[0])

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Магические константы
Пункт S3

Comment thread src/part3/crud.py
if index_id is None:
print(f"no product with id {product_id}")
return None
index_name = next(

@Avshugan Avshugan Oct 22, 2026 •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Ну это уже совсем не читаемый код. Лучше было бы написать нормальный for
Минус 1 балл

@ansend11 ansend11 closed this Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants