Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

Shaptain
Copy link

@Shaptain Shaptain commented Sep 4, 2025

  • Added docstring to explain route purpose
  • Clarified items store with inline comment
  • Improved readability without changing behavior

…prove tutorial004.py withdocstrings for the route and exception handler
@github-actions github-actions bot added the docs Documentation about how to use FastAPI label Sep 4, 2025

This comment was marked as outdated.

This comment was marked as outdated.

Copy link
Contributor

github-actions bot commented Sep 4, 2025

πŸ“ Docs preview for commit eee7e41 at: https://ae7f8ef7.fastapitiangolo.pages.dev

Copy link
Member

@svlandeg svlandeg left a comment

Choose a reason for hiding this comment

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

Thanks for your interest in contributing to FastAPI!

Generally, we prefer a PR to deal with one atomic feature/improvement. In this PR, I'm seeing many different edits and I'm not quite sure what they're all for. The linting step on the CI is failling and there seems to be some leftover comments from resolving a merge conflict.

To be able to merge this, the CI will need to go green and edits that are unrelated to the main goal of the PR should be removed. I'll put this in draft while the CI is red - feel free to mark as "ready for review" once the CI is green again and the diff looks good.

@svlandeg svlandeg marked this pull request as draft September 8, 2025 07:32
@svlandeg svlandeg changed the title docs: improve tutorial002.py with clearer comments and docstrings, im… πŸ“ Improve tutorials with clearer comments and docstrings Sep 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation about how to use FastAPI waiting
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants